# VpnGatewayProps

The VpnGateway Properties.

Used as props by: [VpnGateway](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ec2.VpnGateway.html)

- Source: [`aws-ec2/lib/vpn.ts`](https://github.com/aws/aws-cdk/blob/v2.278.0/packages/aws-cdk-lib/aws-ec2/lib/vpn.ts#L119)

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ec2 as ec2 } from 'aws-cdk-lib';
const vpnGatewayProps: ec2.VpnGatewayProps = {
  type: 'type',

  // the properties below are optional
  amazonSideAsn: 123,
};
```

Python:

```python
# 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_gateway_props = ec2.VpnGatewayProps(
    type="type",

    # the properties below are optional
    amazon_side_asn=123
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ec2.*;

VpnGatewayProps vpnGatewayProps = VpnGatewayProps.builder()
        .type("type")

        // the properties below are optional
        .amazonSideAsn(123)
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.EC2;

var vpnGatewayProps = new VpnGatewayProps {
    Type = "type",

    // the properties below are optional
    AmazonSideAsn = 123
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

vpnGatewayProps := &VpnGatewayProps{
	Type: jsii.String("type"),

	// the properties below are optional
	AmazonSideAsn: jsii.Number(123),
}
```

## Properties

- `amazonSideAsn`: number = 65000 — Explicitly specify an Asn or let aws pick an Asn for you.

- `type`: string (required) — Default type ipsec.1.
