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

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

AWS Native v0.65.0 published on Wednesday, Jun 7, 2023 by Pulumi

aws-native.ec2.GatewayRouteTableAssociation

Explore with Pulumi AI

aws-native logo

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

AWS Native v0.65.0 published on Wednesday, Jun 7, 2023 by Pulumi

    Associates a gateway with a route table. The gateway and route table must be in the same VPC. This association causes the incoming traffic to the gateway to be routed according to the routes in the route table.

    Create GatewayRouteTableAssociation Resource

    new GatewayRouteTableAssociation(name: string, args: GatewayRouteTableAssociationArgs, opts?: CustomResourceOptions);
    @overload
    def GatewayRouteTableAssociation(resource_name: str,
                                     opts: Optional[ResourceOptions] = None,
                                     gateway_id: Optional[str] = None,
                                     route_table_id: Optional[str] = None)
    @overload
    def GatewayRouteTableAssociation(resource_name: str,
                                     args: GatewayRouteTableAssociationArgs,
                                     opts: Optional[ResourceOptions] = None)
    func NewGatewayRouteTableAssociation(ctx *Context, name string, args GatewayRouteTableAssociationArgs, opts ...ResourceOption) (*GatewayRouteTableAssociation, error)
    public GatewayRouteTableAssociation(string name, GatewayRouteTableAssociationArgs args, CustomResourceOptions? opts = null)
    public GatewayRouteTableAssociation(String name, GatewayRouteTableAssociationArgs args)
    public GatewayRouteTableAssociation(String name, GatewayRouteTableAssociationArgs args, CustomResourceOptions options)
    
    type: aws-native:ec2:GatewayRouteTableAssociation
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args GatewayRouteTableAssociationArgs
    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 GatewayRouteTableAssociationArgs
    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 GatewayRouteTableAssociationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args GatewayRouteTableAssociationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args GatewayRouteTableAssociationArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    GatewayRouteTableAssociation 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 GatewayRouteTableAssociation resource accepts the following input properties:

    GatewayId string

    The ID of the gateway.

    RouteTableId string

    The ID of the route table.

    GatewayId string

    The ID of the gateway.

    RouteTableId string

    The ID of the route table.

    gatewayId String

    The ID of the gateway.

    routeTableId String

    The ID of the route table.

    gatewayId string

    The ID of the gateway.

    routeTableId string

    The ID of the route table.

    gateway_id str

    The ID of the gateway.

    route_table_id str

    The ID of the route table.

    gatewayId String

    The ID of the gateway.

    routeTableId String

    The ID of the route table.

    Outputs

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

    AssociationId string

    The route table association ID.

    Id string

    The provider-assigned unique ID for this managed resource.

    AssociationId string

    The route table association ID.

    Id string

    The provider-assigned unique ID for this managed resource.

    associationId String

    The route table association ID.

    id String

    The provider-assigned unique ID for this managed resource.

    associationId string

    The route table association ID.

    id string

    The provider-assigned unique ID for this managed resource.

    association_id str

    The route table association ID.

    id str

    The provider-assigned unique ID for this managed resource.

    associationId String

    The route table association ID.

    id String

    The provider-assigned unique ID for this managed resource.

    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.65.0 published on Wednesday, Jun 7, 2023 by Pulumi