CfnVpcAttachmentProps Struct
Properties for defining a CfnVpcAttachment.
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 cfnVpcAttachmentProps: networkmanager.CfnVpcAttachmentProps = {
coreNetworkId: 'coreNetworkId',
subnetArns: ['subnetArns'],
vpcArn: 'vpcArn',
// the properties below are optional
options: {
applianceModeSupport: false,
dnsSupport: false,
ipv6Support: false,
securityGroupReferencingSupport: false,
},
proposedSegmentChange: {
attachmentPolicyRuleNumber: 123,
segmentName: 'segmentName',
tags: [{
key: 'key',
value: 'value',
}],
},
routingPolicyLabel: 'routingPolicyLabel',
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
coreNetworkIdstringcore_network_idstrcoreNetworkIdStringCoreNetworkIdstringCoreNetworkId*stringrequired#The core network ID.
optionsoptionalIResolvable | CfnVpcAttachment.VpcOptionsPropertyoptionsoptionaltyping.Union[IResolvable, VpcOptionsProperty]optionsoptionalIResolvableOptionsoptionalIResolvableOptionsoptionalinterface{}#Options for creating the VPC attachment.
proposedSegmentChangeoptionalIResolvable | CfnVpcAttachment.ProposedSegmentChangePropertyproposed_segment_changeoptionaltyping.Union[IResolvable, ProposedSegmentChangeProperty]proposedSegmentChangeoptionalIResolvableProposedSegmentChangeoptionalIResolvableProposedSegmentChangeoptionalinterface{}#Describes a proposed segment change.
In some cases, the segment change must first be evaluated and accepted.
routingPolicyLabeloptionalstringrouting_policy_labeloptionalstrroutingPolicyLabeloptionalStringRoutingPolicyLabeloptionalstringRoutingPolicyLabeloptional*string#Routing policy label.
subnetArnsstring[]subnet_arnstyping.List[str]subnetArnsList<String>SubnetArnsstring[]SubnetArns*[]*stringrequired#The subnet ARNs.
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag#The tags associated with the VPC attachment.
The ARN of the VPC attachment.