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

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.getVpcAttachment

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

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>
Copy
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]
Copy
func LookupVpcAttachment(ctx *Context, args *LookupVpcAttachmentArgs, opts ...InvokeOption) (*LookupVpcAttachmentResult, error)
func LookupVpcAttachmentOutput(ctx *Context, args *LookupVpcAttachmentOutputArgs, opts ...InvokeOption) LookupVpcAttachmentResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetVpcAttachmentResult> getVpcAttachment(GetVpcAttachmentArgs args, InvokeOptions options)
public static Output<GetVpcAttachmentResult> getVpcAttachment(GetVpcAttachmentArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: aws-native:networkmanager:getVpcAttachment
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

AttachmentId This property is required. string
Id of the attachment.
AttachmentId This property is required. string
Id of the attachment.
attachmentId This property is required. String
Id of the attachment.
attachmentId This property is required. string
Id of the attachment.
attachment_id This property is required. str
Id of the attachment.
attachmentId This property is required. String
Id of the attachment.

getVpcAttachment Result

The following output properties are available:

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.
NetworkFunctionGroupName string
The name of the network function group attachment.
Options Pulumi.AwsNative.NetworkManager.Outputs.VpcAttachmentVpcOptions
Vpc options of the attachment.
OwnerAccountId string
Owner account of the attachment.
ProposedNetworkFunctionGroupChange Pulumi.AwsNative.NetworkManager.Outputs.VpcAttachmentProposedNetworkFunctionGroupChange
The attachment to move from one network function group to another.
ProposedSegmentChange Pulumi.AwsNative.NetworkManager.Outputs.VpcAttachmentProposedSegmentChange
The attachment to move from one segment to another.
ResourceArn string
The ARN of the Resource.
SegmentName string
The name of the segment attachment..
State string
State of the attachment.
SubnetArns List<string>
Subnet Arn list
Tags List<Pulumi.AwsNative.Outputs.Tag>
Tags for 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.
NetworkFunctionGroupName string
The name of the network function group attachment.
Options VpcAttachmentVpcOptions
Vpc options of the attachment.
OwnerAccountId string
Owner account 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.
ResourceArn string
The ARN of the Resource.
SegmentName string
The name of the segment attachment..
State string
State of the attachment.
SubnetArns []string
Subnet Arn list
Tags Tag
Tags for 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.
networkFunctionGroupName String
The name of the network function group attachment.
options VpcAttachmentVpcOptions
Vpc options of the attachment.
ownerAccountId String
Owner account 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.
resourceArn String
The ARN of the Resource.
segmentName String
The name of the segment attachment..
state String
State of the attachment.
subnetArns List<String>
Subnet Arn list
tags List<Tag>
Tags for 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.
networkFunctionGroupName string
The name of the network function group attachment.
options VpcAttachmentVpcOptions
Vpc options of the attachment.
ownerAccountId string
Owner account 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.
resourceArn string
The ARN of the Resource.
segmentName string
The name of the segment attachment..
state string
State of the attachment.
subnetArns string[]
Subnet Arn list
tags Tag[]
Tags for 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.
network_function_group_name str
The name of the network function group attachment.
options VpcAttachmentVpcOptions
Vpc options of the attachment.
owner_account_id str
Owner account of the attachment.
proposed_network_function_group_change VpcAttachmentProposedNetworkFunctionGroupChange
The attachment to move from one network function group to another.
proposed_segment_change VpcAttachmentProposedSegmentChange
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
tags Sequence[root_Tag]
Tags for 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.
networkFunctionGroupName String
The name of the network function group attachment.
options Property Map
Vpc options of the attachment.
ownerAccountId String
Owner account 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.
resourceArn String
The ARN of the Resource.
segmentName String
The name of the segment attachment..
state String
State of the attachment.
subnetArns List<String>
Subnet Arn list
tags List<Property Map>
Tags for the attachment.
updatedAt String
Last update time of the attachment.

Supporting Types

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. 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

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

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

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

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