1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. networkmanager
  5. VpcAttachment

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi

aws-native.networkmanager.VpcAttachment

Explore with Pulumi AI

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi

AWS::NetworkManager::VpcAttachment Resoruce Type

Create VpcAttachment Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new VpcAttachment(name: string, args: VpcAttachmentArgs, opts?: CustomResourceOptions);
@overload
def VpcAttachment(resource_name: str,
                  args: VpcAttachmentArgs,
                  opts: Optional[ResourceOptions] = None)

@overload
def VpcAttachment(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  core_network_id: Optional[str] = None,
                  subnet_arns: Optional[Sequence[str]] = None,
                  vpc_arn: Optional[str] = None,
                  options: Optional[VpcAttachmentVpcOptionsArgs] = None,
                  proposed_network_function_group_change: Optional[VpcAttachmentProposedNetworkFunctionGroupChangeArgs] = None,
                  proposed_segment_change: Optional[VpcAttachmentProposedSegmentChangeArgs] = None,
                  tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
func NewVpcAttachment(ctx *Context, name string, args VpcAttachmentArgs, opts ...ResourceOption) (*VpcAttachment, error)
public VpcAttachment(string name, VpcAttachmentArgs args, CustomResourceOptions? opts = null)
public VpcAttachment(String name, VpcAttachmentArgs args)
public VpcAttachment(String name, VpcAttachmentArgs args, CustomResourceOptions options)
type: aws-native:networkmanager:VpcAttachment
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. VpcAttachmentArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. VpcAttachmentArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. VpcAttachmentArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. VpcAttachmentArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. VpcAttachmentArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

VpcAttachment Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The VpcAttachment resource accepts the following input properties:

CoreNetworkId This property is required. string
The ID of a core network for the VPC attachment.
SubnetArns This property is required. List<string>
Subnet Arn list
VpcArn This property is required. string
The ARN of the VPC.
Options Pulumi.AwsNative.NetworkManager.Inputs.VpcAttachmentVpcOptions
Vpc options of the attachment.
ProposedNetworkFunctionGroupChange Pulumi.AwsNative.NetworkManager.Inputs.VpcAttachmentProposedNetworkFunctionGroupChange
The attachment to move from one network function group to another.
ProposedSegmentChange Pulumi.AwsNative.NetworkManager.Inputs.VpcAttachmentProposedSegmentChange
The attachment to move from one segment to another.
Tags List<Pulumi.AwsNative.Inputs.Tag>
Tags for the attachment.
CoreNetworkId This property is required. string
The ID of a core network for the VPC attachment.
SubnetArns This property is required. []string
Subnet Arn list
VpcArn This property is required. string
The ARN of the VPC.
Options VpcAttachmentVpcOptionsArgs
Vpc options of the attachment.
ProposedNetworkFunctionGroupChange VpcAttachmentProposedNetworkFunctionGroupChangeArgs
The attachment to move from one network function group to another.
ProposedSegmentChange VpcAttachmentProposedSegmentChangeArgs
The attachment to move from one segment to another.
Tags TagArgs
Tags for the attachment.
coreNetworkId This property is required. String
The ID of a core network for the VPC attachment.
subnetArns This property is required. List<String>
Subnet Arn list
vpcArn This property is required. String
The ARN of the VPC.
options VpcAttachmentVpcOptions
Vpc options of the attachment.
proposedNetworkFunctionGroupChange VpcAttachmentProposedNetworkFunctionGroupChange
The attachment to move from one network function group to another.
proposedSegmentChange VpcAttachmentProposedSegmentChange
The attachment to move from one segment to another.
tags List<Tag>
Tags for the attachment.
coreNetworkId This property is required. string
The ID of a core network for the VPC attachment.
subnetArns This property is required. string[]
Subnet Arn list
vpcArn This property is required. string
The ARN of the VPC.
options VpcAttachmentVpcOptions
Vpc options of the attachment.
proposedNetworkFunctionGroupChange VpcAttachmentProposedNetworkFunctionGroupChange
The attachment to move from one network function group to another.
proposedSegmentChange VpcAttachmentProposedSegmentChange
The attachment to move from one segment to another.
tags Tag[]
Tags for the attachment.
core_network_id This property is required. str
The ID of a core network for the VPC attachment.
subnet_arns This property is required. Sequence[str]
Subnet Arn list
vpc_arn This property is required. str
The ARN of the VPC.
options VpcAttachmentVpcOptionsArgs
Vpc options of the attachment.
proposed_network_function_group_change VpcAttachmentProposedNetworkFunctionGroupChangeArgs
The attachment to move from one network function group to another.
proposed_segment_change VpcAttachmentProposedSegmentChangeArgs
The attachment to move from one segment to another.
tags Sequence[TagArgs]
Tags for the attachment.
coreNetworkId This property is required. String
The ID of a core network for the VPC attachment.
subnetArns This property is required. List<String>
Subnet Arn list
vpcArn This property is required. String
The ARN of the VPC.
options Property Map
Vpc options of the attachment.
proposedNetworkFunctionGroupChange Property Map
The attachment to move from one network function group to another.
proposedSegmentChange Property Map
The attachment to move from one segment to another.
tags List<Property Map>
Tags for the attachment.

Outputs

All input properties are implicitly available as output properties. Additionally, the VpcAttachment resource produces the following output properties:

AttachmentId string
Id of the attachment.
AttachmentPolicyRuleNumber int
The policy rule number associated with the attachment.
AttachmentType string
Attachment type.
CoreNetworkArn string
The ARN of a core network for the VPC attachment.
CreatedAt string
Creation time of the attachment.
EdgeLocation string
The Region where the edge is located.
Id string
The provider-assigned unique ID for this managed resource.
NetworkFunctionGroupName string
The name of the network function group attachment.
OwnerAccountId string
Owner account of the attachment.
ResourceArn string
The ARN of the Resource.
SegmentName string
The name of the segment attachment..
State string
State of the attachment.
UpdatedAt string
Last update time of the attachment.
AttachmentId string
Id of the attachment.
AttachmentPolicyRuleNumber int
The policy rule number associated with the attachment.
AttachmentType string
Attachment type.
CoreNetworkArn string
The ARN of a core network for the VPC attachment.
CreatedAt string
Creation time of the attachment.
EdgeLocation string
The Region where the edge is located.
Id string
The provider-assigned unique ID for this managed resource.
NetworkFunctionGroupName string
The name of the network function group attachment.
OwnerAccountId string
Owner account of the attachment.
ResourceArn string
The ARN of the Resource.
SegmentName string
The name of the segment attachment..
State string
State of the attachment.
UpdatedAt string
Last update time of the attachment.
attachmentId String
Id of the attachment.
attachmentPolicyRuleNumber Integer
The policy rule number associated with the attachment.
attachmentType String
Attachment type.
coreNetworkArn String
The ARN of a core network for the VPC attachment.
createdAt String
Creation time of the attachment.
edgeLocation String
The Region where the edge is located.
id String
The provider-assigned unique ID for this managed resource.
networkFunctionGroupName String
The name of the network function group attachment.
ownerAccountId String
Owner account of the attachment.
resourceArn String
The ARN of the Resource.
segmentName String
The name of the segment attachment..
state String
State of the attachment.
updatedAt String
Last update time of the attachment.
attachmentId string
Id of the attachment.
attachmentPolicyRuleNumber number
The policy rule number associated with the attachment.
attachmentType string
Attachment type.
coreNetworkArn string
The ARN of a core network for the VPC attachment.
createdAt string
Creation time of the attachment.
edgeLocation string
The Region where the edge is located.
id string
The provider-assigned unique ID for this managed resource.
networkFunctionGroupName string
The name of the network function group attachment.
ownerAccountId string
Owner account of the attachment.
resourceArn string
The ARN of the Resource.
segmentName string
The name of the segment attachment..
state string
State of the attachment.
updatedAt string
Last update time of the attachment.
attachment_id str
Id of the attachment.
attachment_policy_rule_number int
The policy rule number associated with the attachment.
attachment_type str
Attachment type.
core_network_arn str
The ARN of a core network for the VPC attachment.
created_at str
Creation time of the attachment.
edge_location str
The Region where the edge is located.
id str
The provider-assigned unique ID for this managed resource.
network_function_group_name str
The name of the network function group attachment.
owner_account_id str
Owner account of the attachment.
resource_arn str
The ARN of the Resource.
segment_name str
The name of the segment attachment..
state str
State of the attachment.
updated_at str
Last update time of the attachment.
attachmentId String
Id of the attachment.
attachmentPolicyRuleNumber Number
The policy rule number associated with the attachment.
attachmentType String
Attachment type.
coreNetworkArn String
The ARN of a core network for the VPC attachment.
createdAt String
Creation time of the attachment.
edgeLocation String
The Region where the edge is located.
id String
The provider-assigned unique ID for this managed resource.
networkFunctionGroupName String
The name of the network function group attachment.
ownerAccountId String
Owner account of the attachment.
resourceArn String
The ARN of the Resource.
segmentName String
The name of the segment attachment..
state String
State of the attachment.
updatedAt String
Last update time of the attachment.

Supporting Types

Tag
, TagArgs

Key This property is required. string
The key name of the tag
Value This property is required. string
The value of the tag
Key This property is required. string
The key name of the tag
Value This property is required. string
The value of the tag
key This property is required. String
The key name of the tag
value This property is required. String
The value of the tag
key This property is required. string
The key name of the tag
value This property is required. string
The value of the tag
key This property is required. str
The key name of the tag
value This property is required. str
The value of the tag
key This property is required. String
The key name of the tag
value This property is required. String
The value of the tag

VpcAttachmentProposedNetworkFunctionGroupChange
, VpcAttachmentProposedNetworkFunctionGroupChangeArgs

AttachmentPolicyRuleNumber int
The rule number in the policy document that applies to this change.
NetworkFunctionGroupName string
The name of the network function group to change.
Tags List<Pulumi.AwsNative.NetworkManager.Inputs.VpcAttachmentTag>
The key-value tags that changed for the network function group.
AttachmentPolicyRuleNumber int
The rule number in the policy document that applies to this change.
NetworkFunctionGroupName string
The name of the network function group to change.
Tags []VpcAttachmentTag
The key-value tags that changed for the network function group.
attachmentPolicyRuleNumber Integer
The rule number in the policy document that applies to this change.
networkFunctionGroupName String
The name of the network function group to change.
tags List<VpcAttachmentTag>
The key-value tags that changed for the network function group.
attachmentPolicyRuleNumber number
The rule number in the policy document that applies to this change.
networkFunctionGroupName string
The name of the network function group to change.
tags VpcAttachmentTag[]
The key-value tags that changed for the network function group.
attachment_policy_rule_number int
The rule number in the policy document that applies to this change.
network_function_group_name str
The name of the network function group to change.
tags Sequence[VpcAttachmentTag]
The key-value tags that changed for the network function group.
attachmentPolicyRuleNumber Number
The rule number in the policy document that applies to this change.
networkFunctionGroupName String
The name of the network function group to change.
tags List<Property Map>
The key-value tags that changed for the network function group.

VpcAttachmentProposedSegmentChange
, VpcAttachmentProposedSegmentChangeArgs

AttachmentPolicyRuleNumber int
The rule number in the policy document that applies to this change.
SegmentName string
The name of the segment to change.
Tags List<Pulumi.AwsNative.NetworkManager.Inputs.VpcAttachmentTag>
The key-value tags that changed for the segment.
AttachmentPolicyRuleNumber int
The rule number in the policy document that applies to this change.
SegmentName string
The name of the segment to change.
Tags []VpcAttachmentTag
The key-value tags that changed for the segment.
attachmentPolicyRuleNumber Integer
The rule number in the policy document that applies to this change.
segmentName String
The name of the segment to change.
tags List<VpcAttachmentTag>
The key-value tags that changed for the segment.
attachmentPolicyRuleNumber number
The rule number in the policy document that applies to this change.
segmentName string
The name of the segment to change.
tags VpcAttachmentTag[]
The key-value tags that changed for the segment.
attachment_policy_rule_number int
The rule number in the policy document that applies to this change.
segment_name str
The name of the segment to change.
tags Sequence[VpcAttachmentTag]
The key-value tags that changed for the segment.
attachmentPolicyRuleNumber Number
The rule number in the policy document that applies to this change.
segmentName String
The name of the segment to change.
tags List<Property Map>
The key-value tags that changed for the segment.

VpcAttachmentTag
, VpcAttachmentTagArgs

Key This property is required. string
The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
Value This property is required. string
The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
Key This property is required. string
The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
Value This property is required. string
The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
key This property is required. String
The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
value This property is required. String
The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
key This property is required. string
The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
value This property is required. string
The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
key This property is required. str
The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
value This property is required. str
The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
key This property is required. String
The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
value This property is required. String
The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

VpcAttachmentVpcOptions
, VpcAttachmentVpcOptionsArgs

ApplianceModeSupport bool
Indicates whether to enable ApplianceModeSupport Support for Vpc Attachment. Valid Values: true | false
Ipv6Support bool
Indicates whether to enable Ipv6 Support for Vpc Attachment. Valid Values: enable | disable
ApplianceModeSupport bool
Indicates whether to enable ApplianceModeSupport Support for Vpc Attachment. Valid Values: true | false
Ipv6Support bool
Indicates whether to enable Ipv6 Support for Vpc Attachment. Valid Values: enable | disable
applianceModeSupport Boolean
Indicates whether to enable ApplianceModeSupport Support for Vpc Attachment. Valid Values: true | false
ipv6Support Boolean
Indicates whether to enable Ipv6 Support for Vpc Attachment. Valid Values: enable | disable
applianceModeSupport boolean
Indicates whether to enable ApplianceModeSupport Support for Vpc Attachment. Valid Values: true | false
ipv6Support boolean
Indicates whether to enable Ipv6 Support for Vpc Attachment. Valid Values: enable | disable
appliance_mode_support bool
Indicates whether to enable ApplianceModeSupport Support for Vpc Attachment. Valid Values: true | false
ipv6_support bool
Indicates whether to enable Ipv6 Support for Vpc Attachment. Valid Values: enable | disable
applianceModeSupport Boolean
Indicates whether to enable ApplianceModeSupport Support for Vpc Attachment. Valid Values: true | false
ipv6Support Boolean
Indicates whether to enable Ipv6 Support for Vpc Attachment. Valid Values: enable | disable

Package Details

Repository
AWS Native pulumi/pulumi-aws-native
License
Apache-2.0

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi