aws-cdk-lib.aws_networkmanager.CfnVpcAttachmentProps

interface CfnVpcAttachmentProps

LanguageType name
.NETAmazon.CDK.AWS.NetworkManager.CfnVpcAttachmentProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsnetworkmanager#CfnVpcAttachmentProps
Javasoftware.amazon.awscdk.services.networkmanager.CfnVpcAttachmentProps
Pythonaws_cdk.aws_networkmanager.CfnVpcAttachmentProps
TypeScript aws-cdk-lib » 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 { 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,
    ipv6Support: false,
  },
  proposedSegmentChange: {
    attachmentPolicyRuleNumber: 123,
    segmentName: 'segmentName',
    tags: [{
      key: 'key',
      value: 'value',
    }],
  },
  tags: [{
    key: 'key',
    value: 'value',
  }],
};

Properties

NameTypeDescription
coreNetworkIdstringThe core network ID.
subnetArnsstring[]The subnet ARNs.
vpcArnstringThe ARN of the VPC attachment.
options?IResolvable | VpcOptionsPropertyOptions for creating the VPC attachment.
proposedSegmentChange?IResolvable | ProposedSegmentChangePropertyAWS::NetworkManager::VpcAttachment.ProposedSegmentChange.
tags?CfnTag[]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 | VpcOptionsProperty (optional)

Options for creating the VPC attachment.


proposedSegmentChange?

Type: IResolvable | ProposedSegmentChangeProperty (optional)

AWS::NetworkManager::VpcAttachment.ProposedSegmentChange.


tags?

Type: CfnTag[] (optional)

The tags associated with the VPC attachment.