1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. datazone
  5. getConnection

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

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi

aws-native.datazone.getConnection

Explore with Pulumi AI

aws-native logo

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

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi

    Connections enables users to connect their DataZone resources (domains, projects, and environments) to external resources/services (data, compute, etc)

    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(connection_id: Optional[str] = None,
                       domain_id: Optional[str] = None,
                       opts: Optional[InvokeOptions] = None) -> GetConnectionResult
    def get_connection_output(connection_id: Optional[pulumi.Input[str]] = None,
                       domain_id: 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:datazone:getConnection
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ConnectionId string
    The ID of the connection.
    DomainId string
    The ID of the domain in which the connection is created.
    ConnectionId string
    The ID of the connection.
    DomainId string
    The ID of the domain in which the connection is created.
    connectionId String
    The ID of the connection.
    domainId String
    The ID of the domain in which the connection is created.
    connectionId string
    The ID of the connection.
    domainId string
    The ID of the domain in which the connection is created.
    connection_id str
    The ID of the connection.
    domain_id str
    The ID of the domain in which the connection is created.
    connectionId String
    The ID of the connection.
    domainId String
    The ID of the domain in which the connection is created.

    getConnection Result

    The following output properties are available:

    ConnectionId string
    The ID of the connection.
    Description string
    The description of the connection.
    DomainId string
    The ID of the domain in which the connection is created.
    DomainUnitId string
    The ID of the domain unit in which the connection is created.
    EnvironmentId string
    The ID of the environment in which the connection is created.
    EnvironmentUserRole string
    The role of the user in the environment.
    ProjectId string
    The ID of the project in which the connection is created.
    Type string
    The type of the connection.
    ConnectionId string
    The ID of the connection.
    Description string
    The description of the connection.
    DomainId string
    The ID of the domain in which the connection is created.
    DomainUnitId string
    The ID of the domain unit in which the connection is created.
    EnvironmentId string
    The ID of the environment in which the connection is created.
    EnvironmentUserRole string
    The role of the user in the environment.
    ProjectId string
    The ID of the project in which the connection is created.
    Type string
    The type of the connection.
    connectionId String
    The ID of the connection.
    description String
    The description of the connection.
    domainId String
    The ID of the domain in which the connection is created.
    domainUnitId String
    The ID of the domain unit in which the connection is created.
    environmentId String
    The ID of the environment in which the connection is created.
    environmentUserRole String
    The role of the user in the environment.
    projectId String
    The ID of the project in which the connection is created.
    type String
    The type of the connection.
    connectionId string
    The ID of the connection.
    description string
    The description of the connection.
    domainId string
    The ID of the domain in which the connection is created.
    domainUnitId string
    The ID of the domain unit in which the connection is created.
    environmentId string
    The ID of the environment in which the connection is created.
    environmentUserRole string
    The role of the user in the environment.
    projectId string
    The ID of the project in which the connection is created.
    type string
    The type of the connection.
    connection_id str
    The ID of the connection.
    description str
    The description of the connection.
    domain_id str
    The ID of the domain in which the connection is created.
    domain_unit_id str
    The ID of the domain unit in which the connection is created.
    environment_id str
    The ID of the environment in which the connection is created.
    environment_user_role str
    The role of the user in the environment.
    project_id str
    The ID of the project in which the connection is created.
    type str
    The type of the connection.
    connectionId String
    The ID of the connection.
    description String
    The description of the connection.
    domainId String
    The ID of the domain in which the connection is created.
    domainUnitId String
    The ID of the domain unit in which the connection is created.
    environmentId String
    The ID of the environment in which the connection is created.
    environmentUserRole String
    The role of the user in the environment.
    projectId String
    The ID of the project in which the connection is created.
    type String
    The type of the connection.

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

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

    AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi