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

We recommend new projects start with resources from the AWS provider.

AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi

aws-native.ec2.VpnConnectionRoute

Explore with Pulumi AI

aws-native logo

We recommend new projects start with resources from the AWS provider.

AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi

    Specifies a static route for a VPN connection between an existing virtual private gateway and a VPN customer gateway. The static route allows traffic to be routed from the virtual private gateway to the VPN customer gateway. For more information, see in the User Guide.

    Create VpnConnectionRoute Resource

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

    Constructor syntax

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

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

    DestinationCidrBlock string
    The CIDR block associated with the local subnet of the customer network.
    VpnConnectionId string
    The ID of the VPN connection.
    DestinationCidrBlock string
    The CIDR block associated with the local subnet of the customer network.
    VpnConnectionId string
    The ID of the VPN connection.
    destinationCidrBlock String
    The CIDR block associated with the local subnet of the customer network.
    vpnConnectionId String
    The ID of the VPN connection.
    destinationCidrBlock string
    The CIDR block associated with the local subnet of the customer network.
    vpnConnectionId string
    The ID of the VPN connection.
    destination_cidr_block str
    The CIDR block associated with the local subnet of the customer network.
    vpn_connection_id str
    The ID of the VPN connection.
    destinationCidrBlock String
    The CIDR block associated with the local subnet of the customer network.
    vpnConnectionId String
    The ID of the VPN connection.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    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

    We recommend new projects start with resources from the AWS provider.

    AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi