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::DirectConnectGateway
Using getDirectConnectGateway
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 getDirectConnectGateway(args: GetDirectConnectGatewayArgs, opts?: InvokeOptions): Promise<GetDirectConnectGatewayResult>
function getDirectConnectGatewayOutput(args: GetDirectConnectGatewayOutputArgs, opts?: InvokeOptions): Output<GetDirectConnectGatewayResult>def get_direct_connect_gateway(direct_connect_gateway_arn: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDirectConnectGatewayResult
def get_direct_connect_gateway_output(direct_connect_gateway_arn: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDirectConnectGatewayResult]func LookupDirectConnectGateway(ctx *Context, args *LookupDirectConnectGatewayArgs, opts ...InvokeOption) (*LookupDirectConnectGatewayResult, error)
func LookupDirectConnectGatewayOutput(ctx *Context, args *LookupDirectConnectGatewayOutputArgs, opts ...InvokeOption) LookupDirectConnectGatewayResultOutput> Note: This function is named LookupDirectConnectGateway in the Go SDK.
public static class GetDirectConnectGateway
{
public static Task<GetDirectConnectGatewayResult> InvokeAsync(GetDirectConnectGatewayArgs args, InvokeOptions? opts = null)
public static Output<GetDirectConnectGatewayResult> Invoke(GetDirectConnectGatewayInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDirectConnectGatewayResult> getDirectConnectGateway(GetDirectConnectGatewayArgs args, InvokeOptions options)
public static Output<GetDirectConnectGatewayResult> getDirectConnectGateway(GetDirectConnectGatewayArgs args, InvokeOptions options)
fn::invoke:
function: aws-native:directconnect:getDirectConnectGateway
arguments:
# arguments dictionaryThe following arguments are supported:
- Direct
Connect stringGateway Arn - The ARN of the Direct Connect gateway.
- Direct
Connect stringGateway Arn - The ARN of the Direct Connect gateway.
- direct
Connect StringGateway Arn - The ARN of the Direct Connect gateway.
- direct
Connect stringGateway Arn - The ARN of the Direct Connect gateway.
- direct_
connect_ strgateway_ arn - The ARN of the Direct Connect gateway.
- direct
Connect StringGateway Arn - The ARN of the Direct Connect gateway.
getDirectConnectGateway Result
The following output properties are available:
- Direct
Connect stringGateway Arn - The ARN of the Direct Connect gateway.
- Direct
Connect stringGateway Id - The ID of the Direct Connect gateway.
- Direct
Connect stringGateway Name - The name of the Direct Connect gateway.
-
List<Pulumi.
Aws Native. Outputs. Tag> - The tags associated with the Direct Connect gateway.
- Direct
Connect stringGateway Arn - The ARN of the Direct Connect gateway.
- Direct
Connect stringGateway Id - The ID of the Direct Connect gateway.
- Direct
Connect stringGateway Name - The name of the Direct Connect gateway.
- Tag
- The tags associated with the Direct Connect gateway.
- direct
Connect StringGateway Arn - The ARN of the Direct Connect gateway.
- direct
Connect StringGateway Id - The ID of the Direct Connect gateway.
- direct
Connect StringGateway Name - The name of the Direct Connect gateway.
- List<Tag>
- The tags associated with the Direct Connect gateway.
- direct
Connect stringGateway Arn - The ARN of the Direct Connect gateway.
- direct
Connect stringGateway Id - The ID of the Direct Connect gateway.
- direct
Connect stringGateway Name - The name of the Direct Connect gateway.
- Tag[]
- The tags associated with the Direct Connect gateway.
- direct_
connect_ strgateway_ arn - The ARN of the Direct Connect gateway.
- direct_
connect_ strgateway_ id - The ID of the Direct Connect gateway.
- direct_
connect_ strgateway_ name - The name of the Direct Connect gateway.
- Sequence[root_Tag]
- The tags associated with the Direct Connect gateway.
- direct
Connect StringGateway Arn - The ARN of the Direct Connect gateway.
- direct
Connect StringGateway Id - The ID of the Direct Connect gateway.
- direct
Connect StringGateway Name - The name of the Direct Connect gateway.
- List<Property Map>
- The tags associated with the Direct Connect gateway.
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
