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

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

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

    Specifies a customer gateway.

    Create CustomerGateway Resource

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

    Constructor syntax

    new CustomerGateway(name: string, args: CustomerGatewayArgs, opts?: CustomResourceOptions);
    @overload
    def CustomerGateway(resource_name: str,
                        args: CustomerGatewayArgs,
                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def CustomerGateway(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        ip_address: Optional[str] = None,
                        type: Optional[str] = None,
                        bgp_asn: Optional[int] = None,
                        bgp_asn_extended: Optional[float] = None,
                        certificate_arn: Optional[str] = None,
                        device_name: Optional[str] = None,
                        tags: Optional[Sequence[_root_inputs.TagArgs]] = 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.
    
    

    Parameters

    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.

    Example

    The following reference example uses placeholder values for all input properties.

    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    const customerGatewayResource = new aws_native.ec2.CustomerGateway("customerGatewayResource", {
        ipAddress: "string",
        type: "string",
        bgpAsn: 0,
        bgpAsnExtended: 0,
        certificateArn: "string",
        deviceName: "string",
        tags: [{
            key: "string",
            value: "string",
        }],
    });
    
    Coming soon!
    

    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:

    IpAddress string
    IPv4 address for the customer gateway device's outside interface. The address must be static.
    Type string
    The type of VPN connection that this customer gateway supports (ipsec.1).
    BgpAsn int
    For devices that support BGP, the customer gateway's BGP ASN. Default: 65000
    BgpAsnExtended double
    CertificateArn string
    DeviceName string
    The name of customer gateway device.
    Tags List<Pulumi.AwsNative.Inputs.Tag>
    One or more tags for the customer gateway.
    IpAddress string
    IPv4 address for the customer gateway device's outside interface. The address must be static.
    Type string
    The type of VPN connection that this customer gateway supports (ipsec.1).
    BgpAsn int
    For devices that support BGP, the customer gateway's BGP ASN. Default: 65000
    BgpAsnExtended float64
    CertificateArn string
    DeviceName string
    The name of customer gateway device.
    Tags TagArgs
    One or more tags for the customer gateway.
    ipAddress String
    IPv4 address for the customer gateway device's outside interface. The address must be static.
    type String
    The type of VPN connection that this customer gateway supports (ipsec.1).
    bgpAsn Integer
    For devices that support BGP, the customer gateway's BGP ASN. Default: 65000
    bgpAsnExtended Double
    certificateArn String
    deviceName String
    The name of customer gateway device.
    tags List<Tag>
    One or more tags for the customer gateway.
    ipAddress string
    IPv4 address for the customer gateway device's outside interface. The address must be static.
    type string
    The type of VPN connection that this customer gateway supports (ipsec.1).
    bgpAsn number
    For devices that support BGP, the customer gateway's BGP ASN. Default: 65000
    bgpAsnExtended number
    certificateArn string
    deviceName string
    The name of customer gateway device.
    tags Tag[]
    One or more tags for the customer gateway.
    ip_address str
    IPv4 address for the customer gateway device's outside interface. The address must be static.
    type str
    The type of VPN connection that this customer gateway supports (ipsec.1).
    bgp_asn int
    For devices that support BGP, the customer gateway's BGP ASN. Default: 65000
    bgp_asn_extended float
    certificate_arn str
    device_name str
    The name of customer gateway device.
    tags Sequence[TagArgs]
    One or more tags for the customer gateway.
    ipAddress String
    IPv4 address for the customer gateway device's outside interface. The address must be static.
    type String
    The type of VPN connection that this customer gateway supports (ipsec.1).
    bgpAsn Number
    For devices that support BGP, the customer gateway's BGP ASN. Default: 65000
    bgpAsnExtended Number
    certificateArn String
    deviceName String
    The name of customer gateway device.
    tags 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:

    CustomerGatewayId string
    Id string
    The provider-assigned unique ID for this managed resource.
    CustomerGatewayId string
    Id string
    The provider-assigned unique ID for this managed resource.
    customerGatewayId String
    id String
    The provider-assigned unique ID for this managed resource.
    customerGatewayId string
    id string
    The provider-assigned unique ID for this managed resource.
    customer_gateway_id str
    id str
    The provider-assigned unique ID for this managed resource.
    customerGatewayId String
    id String
    The provider-assigned unique ID for this managed resource.

    Supporting Types

    Tag, TagArgs

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    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