Skip to content
v2.278.0

VpcOptionsProperty Struct ​

Describes the VPC options.

Example ​

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
# 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
// 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();
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
};
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 ​

applianceModeSupportoptionalboolean | IResolvableappliance_mode_supportoptionaltyping.Union[bool, IResolvable]applianceModeSupportoptionalBooleanApplianceModeSupportoptionalboolApplianceModeSupportoptionalinterface{} = 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 .

dnsSupportoptionalboolean | IResolvabledns_supportoptionaltyping.Union[bool, IResolvable]dnsSupportoptionalBooleanDnsSupportoptionalboolDnsSupportoptionalinterface{} = true #
Indicates whether DNS is supported.
ipv6Supportoptionalboolean | IResolvableipv6_supportoptionaltyping.Union[bool, IResolvable]ipv6SupportoptionalBooleanIpv6SupportoptionalboolIpv6Supportoptionalinterface{} = false #
Indicates whether IPv6 is supported.
securityGroupReferencingSupportoptionalboolean | IResolvablesecurity_group_referencing_supportoptionaltyping.Union[bool, IResolvable]securityGroupReferencingSupportoptionalBooleanSecurityGroupReferencingSupportoptionalboolSecurityGroupReferencingSupportoptionalinterface{} = 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 .