1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. directconnect
  5. DirectConnectGateway

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
aws-native logo

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

    Resource Type definition for AWS::DirectConnect::DirectConnectGateway

    Create DirectConnectGateway Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new DirectConnectGateway(name: string, args?: DirectConnectGatewayArgs, opts?: CustomResourceOptions);
    @overload
    def DirectConnectGateway(resource_name: str,
                             args: Optional[DirectConnectGatewayArgs] = None,
                             opts: Optional[ResourceOptions] = None)
    
    @overload
    def DirectConnectGateway(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             amazon_side_asn: Optional[str] = None,
                             direct_connect_gateway_name: Optional[str] = None,
                             tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
    func NewDirectConnectGateway(ctx *Context, name string, args *DirectConnectGatewayArgs, opts ...ResourceOption) (*DirectConnectGateway, error)
    public DirectConnectGateway(string name, DirectConnectGatewayArgs? args = null, CustomResourceOptions? opts = null)
    public DirectConnectGateway(String name, DirectConnectGatewayArgs args)
    public DirectConnectGateway(String name, DirectConnectGatewayArgs args, CustomResourceOptions options)
    
    type: aws-native:directconnect:DirectConnectGateway
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args DirectConnectGatewayArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args DirectConnectGatewayArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args DirectConnectGatewayArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DirectConnectGatewayArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DirectConnectGatewayArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    DirectConnectGateway Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The DirectConnectGateway resource accepts the following input properties:

    AmazonSideAsn string
    The autonomous system number (ASN) for the Amazon side of the connection.
    DirectConnectGatewayName string
    The name of the Direct Connect gateway.
    Tags List<Pulumi.AwsNative.Inputs.Tag>
    The tags associated with the Direct Connect gateway.
    AmazonSideAsn string
    The autonomous system number (ASN) for the Amazon side of the connection.
    DirectConnectGatewayName string
    The name of the Direct Connect gateway.
    Tags TagArgs
    The tags associated with the Direct Connect gateway.
    amazonSideAsn String
    The autonomous system number (ASN) for the Amazon side of the connection.
    directConnectGatewayName String
    The name of the Direct Connect gateway.
    tags List<Tag>
    The tags associated with the Direct Connect gateway.
    amazonSideAsn string
    The autonomous system number (ASN) for the Amazon side of the connection.
    directConnectGatewayName string
    The name of the Direct Connect gateway.
    tags Tag[]
    The tags associated with the Direct Connect gateway.
    amazon_side_asn str
    The autonomous system number (ASN) for the Amazon side of the connection.
    direct_connect_gateway_name str
    The name of the Direct Connect gateway.
    tags Sequence[TagArgs]
    The tags associated with the Direct Connect gateway.
    amazonSideAsn String
    The autonomous system number (ASN) for the Amazon side of the connection.
    directConnectGatewayName String
    The name of the Direct Connect gateway.
    tags List<Property Map>
    The tags associated with the Direct Connect gateway.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the DirectConnectGateway resource produces the following output properties:

    DirectConnectGatewayArn string
    The ARN of the Direct Connect gateway.
    DirectConnectGatewayId string
    The ID of the Direct Connect gateway.
    Id string
    The provider-assigned unique ID for this managed resource.
    DirectConnectGatewayArn string
    The ARN of the Direct Connect gateway.
    DirectConnectGatewayId string
    The ID of the Direct Connect gateway.
    Id string
    The provider-assigned unique ID for this managed resource.
    directConnectGatewayArn String
    The ARN of the Direct Connect gateway.
    directConnectGatewayId String
    The ID of the Direct Connect gateway.
    id String
    The provider-assigned unique ID for this managed resource.
    directConnectGatewayArn string
    The ARN of the Direct Connect gateway.
    directConnectGatewayId string
    The ID of the Direct Connect gateway.
    id string
    The provider-assigned unique ID for this managed resource.
    direct_connect_gateway_arn str
    The ARN of the Direct Connect gateway.
    direct_connect_gateway_id str
    The ID of the Direct Connect gateway.
    id str
    The provider-assigned unique ID for this managed resource.
    directConnectGatewayArn String
    The ARN of the Direct Connect gateway.
    directConnectGatewayId String
    The ID of the Direct Connect gateway.
    id String
    The provider-assigned unique ID for this managed resource.

    Supporting Types

    Tag, TagArgs

    A set of tags to apply to the resource.
    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    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.

    Viewing docs for AWS Cloud Control v1.57.0
    published on Monday, Mar 9, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.