Skip to main content

vpc_attachment

Gets an individual vpc_attachment resource

Overview

Namevpc_attachment
TypeResource
Descriptionvpc_attachment
Idawscc.networkmanager.vpc_attachment

Fields

NameDatatypeDescription
core_network_idstringThe ID of a core network for the VPC attachment.
core_network_arnstringThe ARN of a core network for the VPC attachment.
attachment_idstringId of the attachment.
owner_account_idstringOwner account of the attachment.
attachment_typestringAttachment type.
statestringState of the attachment.
edge_locationstringThe Region where the edge is located.
vpc_arnstringThe ARN of the VPC.
resource_arnstringThe ARN of the Resource.
attachment_policy_rule_numberintegerThe policy rule number associated with the attachment.
segment_namestringThe name of the segment attachment..
proposed_segment_changeobjectThe attachment to move from one segment to another.
tagsarrayTags for the attachment.
created_atstringCreation time of the attachment.
updated_atstringLast update time of the attachment.
subnet_arnsarraySubnet Arn list
optionsobjectVpc options of the attachment.
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
core_network_id,
core_network_arn,
attachment_id,
owner_account_id,
attachment_type,
state,
edge_location,
vpc_arn,
resource_arn,
attachment_policy_rule_number,
segment_name,
proposed_segment_change,
tags,
created_at,
updated_at,
subnet_arns,
options
FROM awscc.networkmanager.vpc_attachment
WHERE data__Identifier = '<AttachmentId>';

Permissions

To operate on the vpc_attachment resource, the following permissions are required:

Read

networkmanager:GetVpcAttachment

Update

networkmanager:UpdateVpcAttachment,
networkmanager:GetVpcAttachment,
networkmanager:ListTagsForResource,
networkmanager:TagResource,
networkmanager:UntagResource,
ec2:DescribeRegions

Delete

networkmanager:DeleteAttachment,
networkmanager:GetVpcAttachment,
networkmanager:UntagResource,
ec2:DescribeRegions