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::DirectConnectGatewayAssociation
Using getDirectConnectGatewayAssociation
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 getDirectConnectGatewayAssociation(args: GetDirectConnectGatewayAssociationArgs, opts?: InvokeOptions): Promise<GetDirectConnectGatewayAssociationResult>
function getDirectConnectGatewayAssociationOutput(args: GetDirectConnectGatewayAssociationOutputArgs, opts?: InvokeOptions): Output<GetDirectConnectGatewayAssociationResult>def get_direct_connect_gateway_association(association_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDirectConnectGatewayAssociationResult
def get_direct_connect_gateway_association_output(association_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDirectConnectGatewayAssociationResult]func LookupDirectConnectGatewayAssociation(ctx *Context, args *LookupDirectConnectGatewayAssociationArgs, opts ...InvokeOption) (*LookupDirectConnectGatewayAssociationResult, error)
func LookupDirectConnectGatewayAssociationOutput(ctx *Context, args *LookupDirectConnectGatewayAssociationOutputArgs, opts ...InvokeOption) LookupDirectConnectGatewayAssociationResultOutput> Note: This function is named LookupDirectConnectGatewayAssociation in the Go SDK.
public static class GetDirectConnectGatewayAssociation
{
public static Task<GetDirectConnectGatewayAssociationResult> InvokeAsync(GetDirectConnectGatewayAssociationArgs args, InvokeOptions? opts = null)
public static Output<GetDirectConnectGatewayAssociationResult> Invoke(GetDirectConnectGatewayAssociationInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDirectConnectGatewayAssociationResult> getDirectConnectGatewayAssociation(GetDirectConnectGatewayAssociationArgs args, InvokeOptions options)
public static Output<GetDirectConnectGatewayAssociationResult> getDirectConnectGatewayAssociation(GetDirectConnectGatewayAssociationArgs args, InvokeOptions options)
fn::invoke:
function: aws-native:directconnect:getDirectConnectGatewayAssociation
arguments:
# arguments dictionaryThe following arguments are supported:
- Association
Id string - The ID of the Direct Connect gateway association.
- Association
Id string - The ID of the Direct Connect gateway association.
- association
Id String - The ID of the Direct Connect gateway association.
- association
Id string - The ID of the Direct Connect gateway association.
- association_
id str - The ID of the Direct Connect gateway association.
- association
Id String - The ID of the Direct Connect gateway association.
getDirectConnectGatewayAssociation Result
The following output properties are available:
- Allowed
Prefixes List<string>To Direct Connect Gateway - The Amazon VPC prefixes to advertise to the Direct Connect gateway. This parameter is required when you create an association to a transit gateway.
- Association
Id string - The ID of the Direct Connect gateway association.
- Allowed
Prefixes []stringTo Direct Connect Gateway - The Amazon VPC prefixes to advertise to the Direct Connect gateway. This parameter is required when you create an association to a transit gateway.
- Association
Id string - The ID of the Direct Connect gateway association.
- allowed
Prefixes List<String>To Direct Connect Gateway - The Amazon VPC prefixes to advertise to the Direct Connect gateway. This parameter is required when you create an association to a transit gateway.
- association
Id String - The ID of the Direct Connect gateway association.
- allowed
Prefixes string[]To Direct Connect Gateway - The Amazon VPC prefixes to advertise to the Direct Connect gateway. This parameter is required when you create an association to a transit gateway.
- association
Id string - The ID of the Direct Connect gateway association.
- allowed_
prefixes_ Sequence[str]to_ direct_ connect_ gateway - The Amazon VPC prefixes to advertise to the Direct Connect gateway. This parameter is required when you create an association to a transit gateway.
- association_
id str - The ID of the Direct Connect gateway association.
- allowed
Prefixes List<String>To Direct Connect Gateway - The Amazon VPC prefixes to advertise to the Direct Connect gateway. This parameter is required when you create an association to a transit gateway.
- association
Id String - The ID of the Direct Connect gateway association.
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
