1. Packages
  2. AWS Native
  3. API Docs
  4. ec2
  5. TransitGateway

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.102.0 published on Tuesday, Apr 16, 2024 by Pulumi

aws-native.ec2.TransitGateway

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.102.0 published on Tuesday, Apr 16, 2024 by Pulumi

    Resource Type definition for AWS::EC2::TransitGateway

    Create TransitGateway Resource

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

    Constructor syntax

    new TransitGateway(name: string, args?: TransitGatewayArgs, opts?: CustomResourceOptions);
    @overload
    def TransitGateway(resource_name: str,
                       args: Optional[TransitGatewayArgs] = None,
                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def TransitGateway(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       amazon_side_asn: Optional[int] = None,
                       association_default_route_table_id: Optional[str] = None,
                       auto_accept_shared_attachments: Optional[str] = None,
                       default_route_table_association: Optional[str] = None,
                       default_route_table_propagation: Optional[str] = None,
                       description: Optional[str] = None,
                       dns_support: Optional[str] = None,
                       multicast_support: Optional[str] = None,
                       propagation_default_route_table_id: Optional[str] = None,
                       tags: Optional[Sequence[_root_inputs.TagArgs]] = None,
                       transit_gateway_cidr_blocks: Optional[Sequence[str]] = None,
                       vpn_ecmp_support: Optional[str] = None)
    func NewTransitGateway(ctx *Context, name string, args *TransitGatewayArgs, opts ...ResourceOption) (*TransitGateway, error)
    public TransitGateway(string name, TransitGatewayArgs? args = null, CustomResourceOptions? opts = null)
    public TransitGateway(String name, TransitGatewayArgs args)
    public TransitGateway(String name, TransitGatewayArgs args, CustomResourceOptions options)
    
    type: aws-native:ec2:TransitGateway
    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 TransitGatewayArgs
    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 TransitGatewayArgs
    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 TransitGatewayArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args TransitGatewayArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args TransitGatewayArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    const transitGatewayResource = new aws_native.ec2.TransitGateway("transitGatewayResource", {
        amazonSideAsn: 0,
        associationDefaultRouteTableId: "string",
        autoAcceptSharedAttachments: "string",
        defaultRouteTableAssociation: "string",
        defaultRouteTablePropagation: "string",
        description: "string",
        dnsSupport: "string",
        multicastSupport: "string",
        propagationDefaultRouteTableId: "string",
        tags: [{
            key: "string",
            value: "string",
        }],
        transitGatewayCidrBlocks: ["string"],
        vpnEcmpSupport: "string",
    });
    
    Coming soon!
    

    TransitGateway Resource Properties

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

    Inputs

    The TransitGateway resource accepts the following input properties:

    Outputs

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

    AwsId string
    Id string
    The provider-assigned unique ID for this managed resource.
    TransitGatewayArn string
    AwsId string
    Id string
    The provider-assigned unique ID for this managed resource.
    TransitGatewayArn string
    awsId String
    id String
    The provider-assigned unique ID for this managed resource.
    transitGatewayArn String
    awsId string
    id string
    The provider-assigned unique ID for this managed resource.
    transitGatewayArn string
    aws_id str
    id str
    The provider-assigned unique ID for this managed resource.
    transit_gateway_arn str
    awsId String
    id String
    The provider-assigned unique ID for this managed resource.
    transitGatewayArn String

    Supporting Types

    Tag, TagArgs

    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

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.102.0 published on Tuesday, Apr 16, 2024 by Pulumi