interface OptionsProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.EC2.CfnTransitGatewayAttachment.OptionsProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsec2#CfnTransitGatewayAttachment_OptionsProperty |
Java | software.amazon.awscdk.services.ec2.CfnTransitGatewayAttachment.OptionsProperty |
Python | aws_cdk.aws_ec2.CfnTransitGatewayAttachment.OptionsProperty |
TypeScript | aws-cdk-lib » aws_ec2 » CfnTransitGatewayAttachment » OptionsProperty |
Describes the VPC attachment options.
Example
// 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 optionsProperty: ec2.CfnTransitGatewayAttachment.OptionsProperty = {
applianceModeSupport: 'applianceModeSupport',
dnsSupport: 'dnsSupport',
ipv6Support: 'ipv6Support',
securityGroupReferencingSupport: 'securityGroupReferencingSupport',
};
Properties
Name | Type | Description |
---|---|---|
appliance | string | Enable or disable appliance mode support. |
dns | string | Enable or disable DNS support. |
ipv6 | string | Enable or disable IPv6 support. |
security | string | Enables you to reference a security group across VPCs attached to a transit gateway (TGW). |
applianceModeSupport?
Type:
string
(optional)
Enable or disable appliance mode support.
The default is disable
.
dnsSupport?
Type:
string
(optional)
Enable or disable DNS support.
The default is disable
.
ipv6Support?
Type:
string
(optional)
Enable or disable IPv6 support.
The default is disable
.
securityGroupReferencingSupport?
Type:
string
(optional)
Enables you to reference a security group across VPCs attached to a transit gateway (TGW).
Use this option to simplify security group management and control of instance-to-instance traffic across VPCs that are connected by transit gateway. You can also use this option to migrate from VPC peering (which was the only option that supported security group referencing) to transit gateways (which now also support security group referencing). This option is disabled by default and there are no additional costs to use this feature.
For important information about this feature, see Create a transit gateway in the AWS Transit Gateway Guide .