interface CfnVpcAttachmentProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.NetworkManager.CfnVpcAttachmentProps |
Java | software.amazon.awscdk.services.networkmanager.CfnVpcAttachmentProps |
Python | aws_cdk.aws_networkmanager.CfnVpcAttachmentProps |
TypeScript | @aws-cdk/aws-networkmanager » CfnVpcAttachmentProps |
Properties for defining a CfnVpcAttachment.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as networkmanager from '@aws-cdk/aws-networkmanager';
const cfnVpcAttachmentProps: networkmanager.CfnVpcAttachmentProps = {
coreNetworkId: 'coreNetworkId',
subnetArns: ['subnetArns'],
vpcArn: 'vpcArn',
// the properties below are optional
options: {
applianceModeSupport: false,
ipv6Support: false,
},
proposedSegmentChange: {
attachmentPolicyRuleNumber: 123,
segmentName: 'segmentName',
tags: [{
key: 'key',
value: 'value',
}],
},
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| core | string | The core network ID. |
| subnet | string[] | The subnet ARNs. |
| vpc | string | The ARN of the VPC attachment. |
| options? | IResolvable | Vpc | Options for creating the VPC attachment. |
| proposed | IResolvable | Proposed | AWS::NetworkManager::VpcAttachment.ProposedSegmentChange. |
| tags? | Cfn[] | The tags associated with the VPC attachment. |
coreNetworkId
Type:
string
The core network ID.
subnetArns
Type:
string[]
The subnet ARNs.
vpcArn
Type:
string
The ARN of the VPC attachment.
options?
Type:
IResolvable | Vpc
(optional)
Options for creating the VPC attachment.
proposedSegmentChange?
Type:
IResolvable | Proposed
(optional)
AWS::NetworkManager::VpcAttachment.ProposedSegmentChange.
tags?
Type:
Cfn[]
(optional)
The tags associated with the VPC attachment.

.NET
Java
Python
TypeScript