package awsnetworkmanager import ( "github.com/aws/aws-cdk-go/awscdk/v2" ) // 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 "github.com/aws/aws-cdk-go/awscdk" // // cfnVpcAttachmentProps := &CfnVpcAttachmentProps{ // CoreNetworkId: jsii.String("coreNetworkId"), // SubnetArns: []*string{ // jsii.String("subnetArns"), // }, // VpcArn: jsii.String("vpcArn"), // // // the properties below are optional // Options: &VpcOptionsProperty{ // ApplianceModeSupport: jsii.Boolean(false), // Ipv6Support: jsii.Boolean(false), // }, // ProposedSegmentChange: &ProposedSegmentChangeProperty{ // AttachmentPolicyRuleNumber: jsii.Number(123), // SegmentName: jsii.String("segmentName"), // Tags: []cfnTag{ // &cfnTag{ // Key: jsii.String("key"), // Value: jsii.String("value"), // }, // }, // }, // Tags: []*cfnTag{ // &cfnTag{ // Key: jsii.String("key"), // Value: jsii.String("value"), // }, // }, // } // // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkmanager-vpcattachment.html // type CfnVpcAttachmentProps struct { // The core network ID. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkmanager-vpcattachment.html#cfn-networkmanager-vpcattachment-corenetworkid // CoreNetworkId *string `field:"required" json:"coreNetworkId" yaml:"coreNetworkId"` // The subnet ARNs. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkmanager-vpcattachment.html#cfn-networkmanager-vpcattachment-subnetarns // SubnetArns *[]*string `field:"required" json:"subnetArns" yaml:"subnetArns"` // The ARN of the VPC attachment. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkmanager-vpcattachment.html#cfn-networkmanager-vpcattachment-vpcarn // VpcArn *string `field:"required" json:"vpcArn" yaml:"vpcArn"` // Options for creating the VPC attachment. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkmanager-vpcattachment.html#cfn-networkmanager-vpcattachment-options // Options interface{} `field:"optional" json:"options" yaml:"options"` // The attachment to move from one segment to another. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkmanager-vpcattachment.html#cfn-networkmanager-vpcattachment-proposedsegmentchange // ProposedSegmentChange interface{} `field:"optional" json:"proposedSegmentChange" yaml:"proposedSegmentChange"` // The tags associated with the VPC attachment. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkmanager-vpcattachment.html#cfn-networkmanager-vpcattachment-tags // Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"` }