AWS Native is in preview. AWS Classic is fully supported.
aws-native.ec2.CustomerGateway
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
Resource Type definition for AWS::EC2::CustomerGateway
Create CustomerGateway Resource
new CustomerGateway(name: string, args: CustomerGatewayArgs, opts?: CustomResourceOptions);
@overload
def CustomerGateway(resource_name: str,
opts: Optional[ResourceOptions] = None,
bgp_asn: Optional[int] = None,
device_name: Optional[str] = None,
ip_address: Optional[str] = None,
tags: Optional[Sequence[CustomerGatewayTagArgs]] = None,
type: Optional[str] = None)
@overload
def CustomerGateway(resource_name: str,
args: CustomerGatewayArgs,
opts: Optional[ResourceOptions] = None)
func NewCustomerGateway(ctx *Context, name string, args CustomerGatewayArgs, opts ...ResourceOption) (*CustomerGateway, error)
public CustomerGateway(string name, CustomerGatewayArgs args, CustomResourceOptions? opts = null)
public CustomerGateway(String name, CustomerGatewayArgs args)
public CustomerGateway(String name, CustomerGatewayArgs args, CustomResourceOptions options)
type: aws-native:ec2:CustomerGateway
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CustomerGatewayArgs
- 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 CustomerGatewayArgs
- 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 CustomerGatewayArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CustomerGatewayArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CustomerGatewayArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
CustomerGateway 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 CustomerGateway resource accepts the following input properties:
- Bgp
Asn int For devices that support BGP, the customer gateway's BGP ASN.
- Ip
Address string The internet-routable IP address for the customer gateway's outside interface. The address must be static.
- Type string
The type of VPN connection that this customer gateway supports.
- Device
Name string A name for the customer gateway device.
- List<Pulumi.
Aws Native. Ec2. Inputs. Customer Gateway Tag> One or more tags for the customer gateway.
- Bgp
Asn int For devices that support BGP, the customer gateway's BGP ASN.
- Ip
Address string The internet-routable IP address for the customer gateway's outside interface. The address must be static.
- Type string
The type of VPN connection that this customer gateway supports.
- Device
Name string A name for the customer gateway device.
- []Customer
Gateway Tag Args One or more tags for the customer gateway.
- bgp
Asn Integer For devices that support BGP, the customer gateway's BGP ASN.
- ip
Address String The internet-routable IP address for the customer gateway's outside interface. The address must be static.
- type String
The type of VPN connection that this customer gateway supports.
- device
Name String A name for the customer gateway device.
- List<Customer
Gateway Tag> One or more tags for the customer gateway.
- bgp
Asn number For devices that support BGP, the customer gateway's BGP ASN.
- ip
Address string The internet-routable IP address for the customer gateway's outside interface. The address must be static.
- type string
The type of VPN connection that this customer gateway supports.
- device
Name string A name for the customer gateway device.
- Customer
Gateway Tag[] One or more tags for the customer gateway.
- bgp_
asn int For devices that support BGP, the customer gateway's BGP ASN.
- ip_
address str The internet-routable IP address for the customer gateway's outside interface. The address must be static.
- type str
The type of VPN connection that this customer gateway supports.
- device_
name str A name for the customer gateway device.
- Sequence[Customer
Gateway Tag Args] One or more tags for the customer gateway.
- bgp
Asn Number For devices that support BGP, the customer gateway's BGP ASN.
- ip
Address String The internet-routable IP address for the customer gateway's outside interface. The address must be static.
- type String
The type of VPN connection that this customer gateway supports.
- device
Name String A name for the customer gateway device.
- List<Property Map>
One or more tags for the customer gateway.
Outputs
All input properties are implicitly available as output properties. Additionally, the CustomerGateway resource produces the following output properties:
- Customer
Gateway stringId CustomerGateway ID generated after customer gateway is created. Each customer gateway has a unique ID.
- Id string
The provider-assigned unique ID for this managed resource.
- Customer
Gateway stringId CustomerGateway ID generated after customer gateway is created. Each customer gateway has a unique ID.
- Id string
The provider-assigned unique ID for this managed resource.
- customer
Gateway StringId CustomerGateway ID generated after customer gateway is created. Each customer gateway has a unique ID.
- id String
The provider-assigned unique ID for this managed resource.
- customer
Gateway stringId CustomerGateway ID generated after customer gateway is created. Each customer gateway has a unique ID.
- id string
The provider-assigned unique ID for this managed resource.
- customer_
gateway_ strid CustomerGateway ID generated after customer gateway is created. Each customer gateway has a unique ID.
- id str
The provider-assigned unique ID for this managed resource.
- customer
Gateway StringId CustomerGateway ID generated after customer gateway is created. Each customer gateway has a unique ID.
- id String
The provider-assigned unique ID for this managed resource.
Supporting Types
CustomerGatewayTag, CustomerGatewayTagArgs
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.