Skip to main content

site_to_site_vpn_attachment

Gets an individual site_to_site_vpn_attachment resource

Overview

Namesite_to_site_vpn_attachment
TypeResource
Descriptionsite_to_site_vpn_attachment
Idawscc.networkmanager.site_to_site_vpn_attachment

Fields

NameDatatypeDescription
core_network_idstringThe ID of a core network where you're creating a site-to-site VPN attachment.
core_network_arnstringThe ARN of a core network for the VPC attachment.
attachment_idstringThe ID of the attachment.
owner_account_idstringOwner account of the attachment.
attachment_typestringThe type of attachment.
statestringThe state of the attachment.
edge_locationstringThe Region where the edge is located.
resource_arnstringThe ARN of the Resource.
attachment_policy_rule_numberintegerThe policy rule number associated with the attachment.
segment_namestringThe name of the segment that attachment is in.
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.
vpn_connection_arnstringThe ARN of the site-to-site VPN 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,
resource_arn,
attachment_policy_rule_number,
segment_name,
proposed_segment_change,
tags,
created_at,
updated_at,
vpn_connection_arn
FROM awscc.networkmanager.site_to_site_vpn_attachment
WHERE data__Identifier = '<AttachmentId>';

Permissions

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

Read

networkmanager:GetSiteToSiteVpnAttachment

Update

networkmanager:GetSiteToSiteVpnAttachment,
networkmanager:ListTagsForResource,
networkmanager:TagResource,
networkmanager:UntagResource,
ec2:DescribeRegions

Delete

networkmanager:GetSiteToSiteVpnAttachment,
networkmanager:DeleteAttachment,
ec2:DescribeRegions