We recommend new projects start with resources from the AWS provider.
published on Monday, Mar 9, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
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:
- Amazon
Side stringAsn - The autonomous system number (ASN) for the Amazon side of the connection.
- Direct
Connect stringGateway Name - The name of the Direct Connect gateway.
-
List<Pulumi.
Aws Native. Inputs. Tag> - The tags associated with the Direct Connect gateway.
- Amazon
Side stringAsn - The autonomous system number (ASN) for the Amazon side of the connection.
- Direct
Connect stringGateway Name - The name of the Direct Connect gateway.
-
Tag
Args - The tags associated with the Direct Connect gateway.
- amazon
Side StringAsn - The autonomous system number (ASN) for the Amazon side of the connection.
- direct
Connect StringGateway Name - The name of the Direct Connect gateway.
- List<Tag>
- The tags associated with the Direct Connect gateway.
- amazon
Side stringAsn - The autonomous system number (ASN) for the Amazon side of the connection.
- direct
Connect stringGateway Name - The name of the Direct Connect gateway.
- Tag[]
- The tags associated with the Direct Connect gateway.
- amazon_
side_ strasn - The autonomous system number (ASN) for the Amazon side of the connection.
- direct_
connect_ strgateway_ name - The name of the Direct Connect gateway.
-
Sequence[Tag
Args] - The tags associated with the Direct Connect gateway.
- amazon
Side StringAsn - The autonomous system number (ASN) for the Amazon side of the connection.
- direct
Connect StringGateway Name - The name of the Direct Connect gateway.
- 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:
- Direct
Connect stringGateway Arn - The ARN of the Direct Connect gateway.
- Direct
Connect stringGateway Id - The ID of the Direct Connect gateway.
- Id string
- The provider-assigned unique ID for this managed resource.
- Direct
Connect stringGateway Arn - The ARN of the Direct Connect gateway.
- Direct
Connect stringGateway Id - The ID of the Direct Connect gateway.
- Id string
- The provider-assigned unique ID for this managed resource.
- direct
Connect StringGateway Arn - The ARN of the Direct Connect gateway.
- direct
Connect StringGateway Id - The ID of the Direct Connect gateway.
- id String
- The provider-assigned unique ID for this managed resource.
- direct
Connect stringGateway Arn - The ARN of the Direct Connect gateway.
- direct
Connect stringGateway Id - The ID of the Direct Connect gateway.
- id string
- The provider-assigned unique ID for this managed resource.
- direct_
connect_ strgateway_ arn - The ARN of the Direct Connect gateway.
- direct_
connect_ strgateway_ id - The ID of the Direct Connect gateway.
- id str
- The provider-assigned unique ID for this managed resource.
- direct
Connect StringGateway Arn - The ARN of the Direct Connect gateway.
- direct
Connect StringGateway Id - 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.Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
published on Monday, Mar 9, 2026 by Pulumi
