We recommend new projects start with resources from the AWS provider.
Viewing docs for AWS Cloud Control v1.57.0
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
Viewing docs for AWS Cloud Control v1.57.0
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
Resource Type definition for AWS::DirectConnect::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(connection_arn: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetConnectionResult
def get_connection_output(connection_arn: 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:directconnect:getConnection
arguments:
# arguments dictionaryThe following arguments are supported:
- Connection
Arn string - The ARN of the connection.
- Connection
Arn string - The ARN of the connection.
- connection
Arn String - The ARN of the connection.
- connection
Arn string - The ARN of the connection.
- connection_
arn str - The ARN of the connection.
- connection
Arn String - The ARN of the connection.
getConnection Result
The following output properties are available:
- Connection
Arn string - The ARN of the connection.
- Connection
Id string - The ID of the connection.
- Connection
Name string - The name of the connection.
- Connection
State string - The state of the connection.
- Lag
Id string - The ID or ARN of the LAG to associate the connection with.
-
List<Pulumi.
Aws Native. Outputs. Tag> - The tags associated with the connection.
- Connection
Arn string - The ARN of the connection.
- Connection
Id string - The ID of the connection.
- Connection
Name string - The name of the connection.
- Connection
State string - The state of the connection.
- Lag
Id string - The ID or ARN of the LAG to associate the connection with.
- Tag
- The tags associated with the connection.
- connection
Arn String - The ARN of the connection.
- connection
Id String - The ID of the connection.
- connection
Name String - The name of the connection.
- connection
State String - The state of the connection.
- lag
Id String - The ID or ARN of the LAG to associate the connection with.
- List<Tag>
- The tags associated with the connection.
- connection
Arn string - The ARN of the connection.
- connection
Id string - The ID of the connection.
- connection
Name string - The name of the connection.
- connection
State string - The state of the connection.
- lag
Id string - The ID or ARN of the LAG to associate the connection with.
- Tag[]
- The tags associated with the connection.
- connection_
arn str - The ARN of the connection.
- connection_
id str - The ID of the connection.
- connection_
name str - The name of the connection.
- connection_
state str - The state of the connection.
- lag_
id str - The ID or ARN of the LAG to associate the connection with.
- Sequence[root_Tag]
- The tags associated with the connection.
- connection
Arn String - The ARN of the connection.
- connection
Id String - The ID of the connection.
- connection
Name String - The name of the connection.
- connection
State String - The state of the connection.
- lag
Id String - The ID or ARN of the LAG to associate the connection with.
- List<Property Map>
- The tags associated with the connection.
Supporting Types
Tag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
Viewing docs for AWS Cloud Control v1.57.0
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
