VpnConnectionAttributes

class aws_cdk.aws_ec2.VpnConnectionAttributes(*, customer_gateway_asn, customer_gateway_id, customer_gateway_ip, vpn_id)

Bases: object

Attributes of an imported VpnConnection.

Parameters:
  • customer_gateway_asn (Union[int, float]) – The ASN of the customer gateway.

  • customer_gateway_id (str) – The id of the customer gateway.

  • customer_gateway_ip (str) – The ip address of the customer gateway.

  • vpn_id (str) – The id of the VPN connection.

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_ec2 as ec2

vpn_connection_attributes = ec2.VpnConnectionAttributes(
    customer_gateway_asn=123,
    customer_gateway_id="customerGatewayId",
    customer_gateway_ip="customerGatewayIp",
    vpn_id="vpnId"
)

Attributes

customer_gateway_asn

The ASN of the customer gateway.

customer_gateway_id

The id of the customer gateway.

customer_gateway_ip

The ip address of the customer gateway.

vpn_id

The id of the VPN connection.