1. Registry
  2. Packages
  3. AWS Cloud Control
  4. API Docs
  5. events
  6. getConnection

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Native v0.126.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
aws-native logo aws-native logo AWS Cloud Control

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Native v0.126.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi

    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)
    public static Output<GetConnectionResult> getConnection(GetConnectionArgs args, InvokeOptions options)
    
    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.
    AuthorizationType Pulumi.AwsNative.Events.ConnectionAuthorizationType

    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.
    SecretArn string
    The arn of the secrets manager secret created in the customer account.
    Arn string
    The arn of the connection resource.
    AuthorizationType ConnectionAuthorizationType

    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.
    SecretArn string
    The arn of the secrets manager secret created in the customer account.
    arn String
    The arn of the connection resource.
    authorizationType ConnectionAuthorizationType

    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.
    secretArn String
    The arn of the secrets manager secret created in the customer account.
    arn string
    The arn of the connection resource.
    authorizationType ConnectionAuthorizationType

    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.
    secretArn string
    The arn of the secrets manager secret created in the customer account.
    arn str
    The arn of the connection resource.
    authorization_type ConnectionAuthorizationType

    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.
    authorizationType "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.
    secretArn 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
    aws-native logo aws-native logo AWS Cloud Control

    We recommend new projects start with resources from the AWS provider.

    Viewing docs for AWS Native v0.126.0 (Older version)
    published on Monday, Mar 9, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial