We recommend new projects start with resources from the AWS provider.
aws-native.datazone.getConnection
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
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:
- Connection
Id string - The ID of the connection.
- Domain
Id string - The ID of the domain in which the connection is created.
- Connection
Id string - The ID of the connection.
- Domain
Id string - The ID of the domain in which the connection is created.
- connection
Id String - The ID of the connection.
- domain
Id String - The ID of the domain in which the connection is created.
- connection
Id string - The ID of the connection.
- domain
Id 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.
- connection
Id String - The ID of the connection.
- domain
Id String - The ID of the domain in which the connection is created.
getConnection Result
The following output properties are available:
- Connection
Id string - The ID of the connection.
- Description string
- The description of the connection.
- Domain
Id string - The ID of the domain in which the connection is created.
- Domain
Unit stringId - The ID of the domain unit in which the connection is created.
- Environment
Id string - The ID of the environment in which the connection is created.
- Environment
User stringRole - The role of the user in the environment.
- Project
Id string - The ID of the project in which the connection is created.
- Type string
- The type of the connection.
- Connection
Id string - The ID of the connection.
- Description string
- The description of the connection.
- Domain
Id string - The ID of the domain in which the connection is created.
- Domain
Unit stringId - The ID of the domain unit in which the connection is created.
- Environment
Id string - The ID of the environment in which the connection is created.
- Environment
User stringRole - The role of the user in the environment.
- Project
Id string - The ID of the project in which the connection is created.
- Type string
- The type of the connection.
- connection
Id String - The ID of the connection.
- description String
- The description of the connection.
- domain
Id String - The ID of the domain in which the connection is created.
- domain
Unit StringId - The ID of the domain unit in which the connection is created.
- environment
Id String - The ID of the environment in which the connection is created.
- environment
User StringRole - The role of the user in the environment.
- project
Id String - The ID of the project in which the connection is created.
- type String
- The type of the connection.
- connection
Id string - The ID of the connection.
- description string
- The description of the connection.
- domain
Id string - The ID of the domain in which the connection is created.
- domain
Unit stringId - The ID of the domain unit in which the connection is created.
- environment
Id string - The ID of the environment in which the connection is created.
- environment
User stringRole - The role of the user in the environment.
- project
Id 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_ strid - 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_ strrole - 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.
- connection
Id String - The ID of the connection.
- description String
- The description of the connection.
- domain
Id String - The ID of the domain in which the connection is created.
- domain
Unit StringId - The ID of the domain unit in which the connection is created.
- environment
Id String - The ID of the environment in which the connection is created.
- environment
User StringRole - The role of the user in the environment.
- project
Id 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
We recommend new projects start with resources from the AWS provider.