We recommend new projects start with resources from the AWS provider.
aws-native.events.getConnection
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Resource Type definition for AWS::Events::Connection.
Using getConnection
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getConnection(args: GetConnectionArgs, opts?: InvokeOptions): Promise<GetConnectionResult>
function getConnectionOutput(args: GetConnectionOutputArgs, opts?: InvokeOptions): Output<GetConnectionResult>
def get_connection(name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetConnectionResult
def get_connection_output(name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetConnectionResult]
func LookupConnection(ctx *Context, args *LookupConnectionArgs, opts ...InvokeOption) (*LookupConnectionResult, error)
func LookupConnectionOutput(ctx *Context, args *LookupConnectionOutputArgs, opts ...InvokeOption) LookupConnectionResultOutput
> Note: This function is named LookupConnection
in the Go SDK.
public static class GetConnection
{
public static Task<GetConnectionResult> InvokeAsync(GetConnectionArgs args, InvokeOptions? opts = null)
public static Output<GetConnectionResult> Invoke(GetConnectionInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetConnectionResult> getConnection(GetConnectionArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:events:getConnection
arguments:
# arguments dictionary
The following arguments are supported:
- Name string
- Name of the connection.
- Name string
- Name of the connection.
- name String
- Name of the connection.
- name string
- Name of the connection.
- name str
- Name of the connection.
- name String
- Name of the connection.
getConnection Result
The following output properties are available:
- Arn string
- The arn of the connection resource.
- Pulumi.
Aws Native. Events. Connection Authorization Type The type of authorization to use for the connection.
OAUTH tokens are refreshed when a 401 or 407 response is returned.
- Description string
- Description of the connection.
- Secret
Arn string - The arn of the secrets manager secret created in the customer account.
- Arn string
- The arn of the connection resource.
- Connection
Authorization Type The type of authorization to use for the connection.
OAUTH tokens are refreshed when a 401 or 407 response is returned.
- Description string
- Description of the connection.
- Secret
Arn string - The arn of the secrets manager secret created in the customer account.
- arn String
- The arn of the connection resource.
- Connection
Authorization Type The type of authorization to use for the connection.
OAUTH tokens are refreshed when a 401 or 407 response is returned.
- description String
- Description of the connection.
- secret
Arn String - The arn of the secrets manager secret created in the customer account.
- arn string
- The arn of the connection resource.
- Connection
Authorization Type The type of authorization to use for the connection.
OAUTH tokens are refreshed when a 401 or 407 response is returned.
- description string
- Description of the connection.
- secret
Arn string - The arn of the secrets manager secret created in the customer account.
- arn str
- The arn of the connection resource.
- Connection
Authorization Type The type of authorization to use for the connection.
OAUTH tokens are refreshed when a 401 or 407 response is returned.
- description str
- Description of the connection.
- secret_
arn str - The arn of the secrets manager secret created in the customer account.
- arn String
- The arn of the connection resource.
- "API_KEY" | "BASIC" | "OAUTH_CLIENT_CREDENTIALS"
The type of authorization to use for the connection.
OAUTH tokens are refreshed when a 401 or 407 response is returned.
- description String
- Description of the connection.
- secret
Arn String - The arn of the secrets manager secret created in the customer account.
Supporting Types
ConnectionAuthorizationType
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.