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

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.LocalGatewayRoute

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

    Describes a route for a local gateway route table.

    Create LocalGatewayRoute Resource

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

    Constructor syntax

    new LocalGatewayRoute(name: string, args?: LocalGatewayRouteArgs, opts?: CustomResourceOptions);
    @overload
    def LocalGatewayRoute(resource_name: str,
                          args: Optional[LocalGatewayRouteArgs] = None,
                          opts: Optional[ResourceOptions] = None)
    
    @overload
    def LocalGatewayRoute(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          destination_cidr_block: Optional[str] = None,
                          local_gateway_route_table_id: Optional[str] = None,
                          local_gateway_virtual_interface_group_id: Optional[str] = None,
                          network_interface_id: Optional[str] = None)
    func NewLocalGatewayRoute(ctx *Context, name string, args *LocalGatewayRouteArgs, opts ...ResourceOption) (*LocalGatewayRoute, error)
    public LocalGatewayRoute(string name, LocalGatewayRouteArgs? args = null, CustomResourceOptions? opts = null)
    public LocalGatewayRoute(String name, LocalGatewayRouteArgs args)
    public LocalGatewayRoute(String name, LocalGatewayRouteArgs args, CustomResourceOptions options)
    
    type: aws-native:ec2:LocalGatewayRoute
    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 LocalGatewayRouteArgs
    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 LocalGatewayRouteArgs
    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 LocalGatewayRouteArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args LocalGatewayRouteArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args LocalGatewayRouteArgs
    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 localGatewayRouteResource = new aws_native.ec2.LocalGatewayRoute("localGatewayRouteResource", {
        destinationCidrBlock: "string",
        localGatewayRouteTableId: "string",
        localGatewayVirtualInterfaceGroupId: "string",
        networkInterfaceId: "string",
    });
    
    Coming soon!
    

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

    DestinationCidrBlock string
    The CIDR block used for destination matches.
    LocalGatewayRouteTableId string
    The ID of the local gateway route table.
    LocalGatewayVirtualInterfaceGroupId string
    The ID of the virtual interface group.
    NetworkInterfaceId string
    The ID of the network interface.
    DestinationCidrBlock string
    The CIDR block used for destination matches.
    LocalGatewayRouteTableId string
    The ID of the local gateway route table.
    LocalGatewayVirtualInterfaceGroupId string
    The ID of the virtual interface group.
    NetworkInterfaceId string
    The ID of the network interface.
    destinationCidrBlock String
    The CIDR block used for destination matches.
    localGatewayRouteTableId String
    The ID of the local gateway route table.
    localGatewayVirtualInterfaceGroupId String
    The ID of the virtual interface group.
    networkInterfaceId String
    The ID of the network interface.
    destinationCidrBlock string
    The CIDR block used for destination matches.
    localGatewayRouteTableId string
    The ID of the local gateway route table.
    localGatewayVirtualInterfaceGroupId string
    The ID of the virtual interface group.
    networkInterfaceId string
    The ID of the network interface.
    destination_cidr_block str
    The CIDR block used for destination matches.
    local_gateway_route_table_id str
    The ID of the local gateway route table.
    local_gateway_virtual_interface_group_id str
    The ID of the virtual interface group.
    network_interface_id str
    The ID of the network interface.
    destinationCidrBlock String
    The CIDR block used for destination matches.
    localGatewayRouteTableId String
    The ID of the local gateway route table.
    localGatewayVirtualInterfaceGroupId String
    The ID of the virtual interface group.
    networkInterfaceId String
    The ID of the network interface.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    State string
    The state of the route.
    Type string
    The route type.
    Id string
    The provider-assigned unique ID for this managed resource.
    State string
    The state of the route.
    Type string
    The route type.
    id String
    The provider-assigned unique ID for this managed resource.
    state String
    The state of the route.
    type String
    The route type.
    id string
    The provider-assigned unique ID for this managed resource.
    state string
    The state of the route.
    type string
    The route type.
    id str
    The provider-assigned unique ID for this managed resource.
    state str
    The state of the route.
    type str
    The route type.
    id String
    The provider-assigned unique ID for this managed resource.
    state String
    The state of the route.
    type String
    The route type.

    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