We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.38.0 published on Wednesday, Nov 5, 2025 by Pulumi
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.38.0 published on Wednesday, Nov 5, 2025 by Pulumi
AWS::NetworkManager::VpcAttachment Resoruce Type
Using getVpcAttachment
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getVpcAttachment(args: GetVpcAttachmentArgs, opts?: InvokeOptions): Promise<GetVpcAttachmentResult>
function getVpcAttachmentOutput(args: GetVpcAttachmentOutputArgs, opts?: InvokeOptions): Output<GetVpcAttachmentResult>def get_vpc_attachment(attachment_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetVpcAttachmentResult
def get_vpc_attachment_output(attachment_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetVpcAttachmentResult]func LookupVpcAttachment(ctx *Context, args *LookupVpcAttachmentArgs, opts ...InvokeOption) (*LookupVpcAttachmentResult, error)
func LookupVpcAttachmentOutput(ctx *Context, args *LookupVpcAttachmentOutputArgs, opts ...InvokeOption) LookupVpcAttachmentResultOutput> Note: This function is named LookupVpcAttachment in the Go SDK.
public static class GetVpcAttachment
{
public static Task<GetVpcAttachmentResult> InvokeAsync(GetVpcAttachmentArgs args, InvokeOptions? opts = null)
public static Output<GetVpcAttachmentResult> Invoke(GetVpcAttachmentInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetVpcAttachmentResult> getVpcAttachment(GetVpcAttachmentArgs args, InvokeOptions options)
public static Output<GetVpcAttachmentResult> getVpcAttachment(GetVpcAttachmentArgs args, InvokeOptions options)
fn::invoke:
function: aws-native:networkmanager:getVpcAttachment
arguments:
# arguments dictionaryThe following arguments are supported:
- Attachment
Id string - Id of the attachment.
- Attachment
Id string - Id of the attachment.
- attachment
Id String - Id of the attachment.
- attachment
Id string - Id of the attachment.
- attachment_
id str - Id of the attachment.
- attachment
Id String - Id of the attachment.
getVpcAttachment Result
The following output properties are available:
- Attachment
Id string - Id of the attachment.
- Attachment
Policy intRule Number - The policy rule number associated with the attachment.
- Attachment
Type string - Attachment type.
- Core
Network stringArn - The ARN of a core network for the VPC attachment.
- Created
At string - Creation time of the attachment.
- Edge
Location string - The Region where the edge is located.
- Last
Modification List<string>Errors - Errors from the last modification of the attachment.
- Network
Function stringGroup Name - The name of the network function group attachment.
- Options
Pulumi.
Aws Native. Network Manager. Outputs. Vpc Attachment Vpc Options - Vpc options of the attachment.
- Owner
Account stringId - Owner account of the attachment.
- Proposed
Network Pulumi.Function Group Change Aws Native. Network Manager. Outputs. Vpc Attachment Proposed Network Function Group Change - The attachment to move from one network function group to another.
- Proposed
Segment Pulumi.Change Aws Native. Network Manager. Outputs. Vpc Attachment Proposed Segment Change - The attachment to move from one segment to another.
- Resource
Arn string - The ARN of the Resource.
- Segment
Name string - The name of the segment attachment..
- State string
- State of the attachment.
- Subnet
Arns List<string> - Subnet Arn list
-
List<Pulumi.
Aws Native. Outputs. Tag> - Tags for the attachment.
- Updated
At string - Last update time of the attachment.
- Attachment
Id string - Id of the attachment.
- Attachment
Policy intRule Number - The policy rule number associated with the attachment.
- Attachment
Type string - Attachment type.
- Core
Network stringArn - The ARN of a core network for the VPC attachment.
- Created
At string - Creation time of the attachment.
- Edge
Location string - The Region where the edge is located.
- Last
Modification []stringErrors - Errors from the last modification of the attachment.
- Network
Function stringGroup Name - The name of the network function group attachment.
- Options
Vpc
Attachment Vpc Options - Vpc options of the attachment.
- Owner
Account stringId - Owner account of the attachment.
- Proposed
Network VpcFunction Group Change Attachment Proposed Network Function Group Change - The attachment to move from one network function group to another.
- Proposed
Segment VpcChange Attachment Proposed Segment Change - The attachment to move from one segment to another.
- Resource
Arn string - The ARN of the Resource.
- Segment
Name string - The name of the segment attachment..
- State string
- State of the attachment.
- Subnet
Arns []string - Subnet Arn list
- Tag
- Tags for the attachment.
- Updated
At string - Last update time of the attachment.
- attachment
Id String - Id of the attachment.
- attachment
Policy IntegerRule Number - The policy rule number associated with the attachment.
- attachment
Type String - Attachment type.
- core
Network StringArn - The ARN of a core network for the VPC attachment.
- created
At String - Creation time of the attachment.
- edge
Location String - The Region where the edge is located.
- last
Modification List<String>Errors - Errors from the last modification of the attachment.
- network
Function StringGroup Name - The name of the network function group attachment.
- options
Vpc
Attachment Vpc Options - Vpc options of the attachment.
- owner
Account StringId - Owner account of the attachment.
- proposed
Network VpcFunction Group Change Attachment Proposed Network Function Group Change - The attachment to move from one network function group to another.
- proposed
Segment VpcChange Attachment Proposed Segment Change - The attachment to move from one segment to another.
- resource
Arn String - The ARN of the Resource.
- segment
Name String - The name of the segment attachment..
- state String
- State of the attachment.
- subnet
Arns List<String> - Subnet Arn list
- List<Tag>
- Tags for the attachment.
- updated
At String - Last update time of the attachment.
- attachment
Id string - Id of the attachment.
- attachment
Policy numberRule Number - The policy rule number associated with the attachment.
- attachment
Type string - Attachment type.
- core
Network stringArn - The ARN of a core network for the VPC attachment.
- created
At string - Creation time of the attachment.
- edge
Location string - The Region where the edge is located.
- last
Modification string[]Errors - Errors from the last modification of the attachment.
- network
Function stringGroup Name - The name of the network function group attachment.
- options
Vpc
Attachment Vpc Options - Vpc options of the attachment.
- owner
Account stringId - Owner account of the attachment.
- proposed
Network VpcFunction Group Change Attachment Proposed Network Function Group Change - The attachment to move from one network function group to another.
- proposed
Segment VpcChange Attachment Proposed Segment Change - The attachment to move from one segment to another.
- resource
Arn string - The ARN of the Resource.
- segment
Name string - The name of the segment attachment..
- state string
- State of the attachment.
- subnet
Arns string[] - Subnet Arn list
- Tag[]
- Tags for the attachment.
- updated
At string - Last update time of the attachment.
- attachment_
id str - Id of the attachment.
- attachment_
policy_ intrule_ number - The policy rule number associated with the attachment.
- attachment_
type str - Attachment type.
- core_
network_ strarn - 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.
- last_
modification_ Sequence[str]errors - Errors from the last modification of the attachment.
- network_
function_ strgroup_ name - The name of the network function group attachment.
- options
Vpc
Attachment Vpc Options - Vpc options of the attachment.
- owner_
account_ strid - Owner account of the attachment.
- proposed_
network_ Vpcfunction_ group_ change Attachment Proposed Network Function Group Change - The attachment to move from one network function group to another.
- proposed_
segment_ Vpcchange Attachment Proposed Segment Change - The attachment to move from one segment to another.
- resource_
arn str - The ARN of the Resource.
- segment_
name str - The name of the segment attachment..
- state str
- State of the attachment.
- subnet_
arns Sequence[str] - Subnet Arn list
- Sequence[root_Tag]
- Tags for the attachment.
- updated_
at str - Last update time of the attachment.
- attachment
Id String - Id of the attachment.
- attachment
Policy NumberRule Number - The policy rule number associated with the attachment.
- attachment
Type String - Attachment type.
- core
Network StringArn - The ARN of a core network for the VPC attachment.
- created
At String - Creation time of the attachment.
- edge
Location String - The Region where the edge is located.
- last
Modification List<String>Errors - Errors from the last modification of the attachment.
- network
Function StringGroup Name - The name of the network function group attachment.
- options Property Map
- Vpc options of the attachment.
- owner
Account StringId - Owner account of the attachment.
- proposed
Network Property MapFunction Group Change - The attachment to move from one network function group to another.
- proposed
Segment Property MapChange - The attachment to move from one segment to another.
- resource
Arn String - The ARN of the Resource.
- segment
Name String - The name of the segment attachment..
- state String
- State of the attachment.
- subnet
Arns List<String> - Subnet Arn list
- List<Property Map>
- Tags for the attachment.
- updated
At String - Last update time of the attachment.
Supporting Types
Tag
VpcAttachmentProposedNetworkFunctionGroupChange
- Attachment
Policy intRule Number - The rule number in the policy document that applies to this change.
- Network
Function stringGroup Name - The name of the network function group to change.
-
List<Pulumi.
Aws Native. Network Manager. Inputs. Vpc Attachment Tag> - The key-value tags that changed for the network function group.
- Attachment
Policy intRule Number - The rule number in the policy document that applies to this change.
- Network
Function stringGroup Name - The name of the network function group to change.
-
[]Vpc
Attachment Tag - The key-value tags that changed for the network function group.
- attachment
Policy IntegerRule Number - The rule number in the policy document that applies to this change.
- network
Function StringGroup Name - The name of the network function group to change.
-
List<Vpc
Attachment Tag> - The key-value tags that changed for the network function group.
- attachment
Policy numberRule Number - The rule number in the policy document that applies to this change.
- network
Function stringGroup Name - The name of the network function group to change.
-
Vpc
Attachment Tag[] - The key-value tags that changed for the network function group.
- attachment_
policy_ intrule_ number - The rule number in the policy document that applies to this change.
- network_
function_ strgroup_ name - The name of the network function group to change.
-
Sequence[Vpc
Attachment Tag] - The key-value tags that changed for the network function group.
- attachment
Policy NumberRule Number - The rule number in the policy document that applies to this change.
- network
Function StringGroup Name - The name of the network function group to change.
- List<Property Map>
- The key-value tags that changed for the network function group.
VpcAttachmentProposedSegmentChange
- Attachment
Policy intRule Number - The rule number in the policy document that applies to this change.
- Segment
Name string - The name of the segment to change.
-
List<Pulumi.
Aws Native. Network Manager. Inputs. Vpc Attachment Tag> - The key-value tags that changed for the segment.
- Attachment
Policy intRule Number - The rule number in the policy document that applies to this change.
- Segment
Name string - The name of the segment to change.
-
[]Vpc
Attachment Tag - The key-value tags that changed for the segment.
- attachment
Policy IntegerRule Number - The rule number in the policy document that applies to this change.
- segment
Name String - The name of the segment to change.
-
List<Vpc
Attachment Tag> - The key-value tags that changed for the segment.
- attachment
Policy numberRule Number - The rule number in the policy document that applies to this change.
- segment
Name string - The name of the segment to change.
-
Vpc
Attachment Tag[] - The key-value tags that changed for the segment.
- attachment_
policy_ intrule_ number - The rule number in the policy document that applies to this change.
- segment_
name str - The name of the segment to change.
-
Sequence[Vpc
Attachment Tag] - The key-value tags that changed for the segment.
- attachment
Policy NumberRule Number - The rule number in the policy document that applies to this change.
- segment
Name String - The name of the segment to change.
- List<Property Map>
- The key-value tags that changed for the segment.
VpcAttachmentTag
- Key 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 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 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 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 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 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 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 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 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 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 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 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
- Appliance
Mode boolSupport - Indicates whether to enable ApplianceModeSupport Support for Vpc Attachment. Valid Values: true | false
- Dns
Support bool - Indicates whether to enable private DNS Support for Vpc Attachment. Valid Values: true | false
- Ipv6Support bool
- Indicates whether to enable Ipv6 Support for Vpc Attachment. Valid Values: enable | disable
- Security
Group boolReferencing Support - Indicates whether to enable Security Group Referencing Support for Vpc Attachment. Valid Values: true | false
- Appliance
Mode boolSupport - Indicates whether to enable ApplianceModeSupport Support for Vpc Attachment. Valid Values: true | false
- Dns
Support bool - Indicates whether to enable private DNS Support for Vpc Attachment. Valid Values: true | false
- Ipv6Support bool
- Indicates whether to enable Ipv6 Support for Vpc Attachment. Valid Values: enable | disable
- Security
Group boolReferencing Support - Indicates whether to enable Security Group Referencing Support for Vpc Attachment. Valid Values: true | false
- appliance
Mode BooleanSupport - Indicates whether to enable ApplianceModeSupport Support for Vpc Attachment. Valid Values: true | false
- dns
Support Boolean - Indicates whether to enable private DNS Support for Vpc Attachment. Valid Values: true | false
- ipv6Support Boolean
- Indicates whether to enable Ipv6 Support for Vpc Attachment. Valid Values: enable | disable
- security
Group BooleanReferencing Support - Indicates whether to enable Security Group Referencing Support for Vpc Attachment. Valid Values: true | false
- appliance
Mode booleanSupport - Indicates whether to enable ApplianceModeSupport Support for Vpc Attachment. Valid Values: true | false
- dns
Support boolean - Indicates whether to enable private DNS Support for Vpc Attachment. Valid Values: true | false
- ipv6Support boolean
- Indicates whether to enable Ipv6 Support for Vpc Attachment. Valid Values: enable | disable
- security
Group booleanReferencing Support - Indicates whether to enable Security Group Referencing Support for Vpc Attachment. Valid Values: true | false
- appliance_
mode_ boolsupport - Indicates whether to enable ApplianceModeSupport Support for Vpc Attachment. Valid Values: true | false
- dns_
support bool - Indicates whether to enable private DNS Support for Vpc Attachment. Valid Values: true | false
- ipv6_
support bool - Indicates whether to enable Ipv6 Support for Vpc Attachment. Valid Values: enable | disable
- security_
group_ boolreferencing_ support - Indicates whether to enable Security Group Referencing Support for Vpc Attachment. Valid Values: true | false
- appliance
Mode BooleanSupport - Indicates whether to enable ApplianceModeSupport Support for Vpc Attachment. Valid Values: true | false
- dns
Support Boolean - Indicates whether to enable private DNS Support for Vpc Attachment. Valid Values: true | false
- ipv6Support Boolean
- Indicates whether to enable Ipv6 Support for Vpc Attachment. Valid Values: enable | disable
- security
Group BooleanReferencing Support - Indicates whether to enable Security Group Referencing Support for Vpc Attachment. Valid Values: true | false
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.38.0 published on Wednesday, Nov 5, 2025 by Pulumi
