We recommend new projects start with resources from the AWS provider.
aws-native.ec2.LocalGatewayRoute
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
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.
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:
- Destination
Cidr stringBlock - The CIDR block used for destination matches.
- Local
Gateway stringRoute Table Id - The ID of the local gateway route table.
- Local
Gateway stringVirtual Interface Group Id - The ID of the virtual interface group.
- Network
Interface stringId - The ID of the network interface.
- Destination
Cidr stringBlock - The CIDR block used for destination matches.
- Local
Gateway stringRoute Table Id - The ID of the local gateway route table.
- Local
Gateway stringVirtual Interface Group Id - The ID of the virtual interface group.
- Network
Interface stringId - The ID of the network interface.
- destination
Cidr StringBlock - The CIDR block used for destination matches.
- local
Gateway StringRoute Table Id - The ID of the local gateway route table.
- local
Gateway StringVirtual Interface Group Id - The ID of the virtual interface group.
- network
Interface StringId - The ID of the network interface.
- destination
Cidr stringBlock - The CIDR block used for destination matches.
- local
Gateway stringRoute Table Id - The ID of the local gateway route table.
- local
Gateway stringVirtual Interface Group Id - The ID of the virtual interface group.
- network
Interface stringId - The ID of the network interface.
- destination_
cidr_ strblock - The CIDR block used for destination matches.
- local_
gateway_ strroute_ table_ id - The ID of the local gateway route table.
- local_
gateway_ strvirtual_ interface_ group_ id - The ID of the virtual interface group.
- network_
interface_ strid - The ID of the network interface.
- destination
Cidr StringBlock - The CIDR block used for destination matches.
- local
Gateway StringRoute Table Id - The ID of the local gateway route table.
- local
Gateway StringVirtual Interface Group Id - The ID of the virtual interface group.
- network
Interface StringId - 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:
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.