vpc_attachment
Gets an individual vpc_attachment
resource
Overview
Name | vpc_attachment |
Type | Resource |
Description | vpc_attachment |
Id | awscc.networkmanager.vpc_attachment |
Fields
Name | Datatype | Description |
---|---|---|
core_network_id | string | The ID of a core network for the VPC attachment. |
core_network_arn | string | The ARN of a core network for the VPC attachment. |
attachment_id | string | Id of the attachment. |
owner_account_id | string | Owner account of the attachment. |
attachment_type | string | Attachment type. |
state | string | State of the attachment. |
edge_location | string | The Region where the edge is located. |
vpc_arn | string | The ARN of the VPC. |
resource_arn | string | The ARN of the Resource. |
attachment_policy_rule_number | integer | The policy rule number associated with the attachment. |
segment_name | string | The name of the segment attachment.. |
proposed_segment_change | object | The attachment to move from one segment to another. |
tags | array | Tags for the attachment. |
created_at | string | Creation time of the attachment. |
updated_at | string | Last update time of the attachment. |
subnet_arns | array | Subnet Arn list |
options | object | Vpc options of the attachment. |
region | string | AWS 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