# VpcOptionsProperty

Describes the VPC options.

- Source: Generated at build time
- Type last changed: v2.203.0 · 1 Jul 2025

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_networkmanager as networkmanager } from 'aws-cdk-lib';
const vpcOptionsProperty: networkmanager.CfnVpcAttachment.VpcOptionsProperty = {
  applianceModeSupport: false,
  dnsSupport: false,
  ipv6Support: false,
  securityGroupReferencingSupport: false,
};
```

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_networkmanager as networkmanager

vpc_options_property = networkmanager.CfnVpcAttachment.VpcOptionsProperty(
    appliance_mode_support=False,
    dns_support=False,
    ipv6_support=False,
    security_group_referencing_support=False
)
```

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.networkmanager.*;

VpcOptionsProperty vpcOptionsProperty = VpcOptionsProperty.builder()
        .applianceModeSupport(false)
        .dnsSupport(false)
        .ipv6Support(false)
        .securityGroupReferencingSupport(false)
        .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.NetworkManager;

var vpcOptionsProperty = new VpcOptionsProperty {
    ApplianceModeSupport = false,
    DnsSupport = false,
    Ipv6Support = false,
    SecurityGroupReferencingSupport = false
};
```

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"

vpcOptionsProperty := &VpcOptionsProperty{
	ApplianceModeSupport: jsii.Boolean(false),
	DnsSupport: jsii.Boolean(false),
	Ipv6Support: jsii.Boolean(false),
	SecurityGroupReferencingSupport: jsii.Boolean(false),
}
```

## Properties

- `applianceModeSupport`: boolean | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) = false — Indicates whether appliance mode is supported.

  If enabled, traffic flow between a source and destination use the same Availability Zone for the VPC attachment for the lifetime of that flow. The default value is `false` .

- `dnsSupport`: boolean | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) = true — Indicates whether DNS is supported.

- `ipv6Support`: boolean | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) = false — Indicates whether IPv6 is supported.

- `securityGroupReferencingSupport`: boolean | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) = true — Indicates whether security group referencing is enabled for this VPC attachment.

  The default is `true` . However, at the core network policy-level the default is set to `false` .
