aws ec2 describe-vpc-endpoint-associations
Describes the VPC resources, VPC endpoint services, Amazon Lattice services, or service networks associated with the VPC endpoint. AWS CLI reference
1 example 5 options Its page in the AWS CLI reference
Examples
To describe VPC endpoint associations
The following describe-vpc-endpoint-associations example describes your VPC endpoint associations.
aws ec2 describe-vpc-endpoint-associationsIdentifyIts output
{
"VpcEndpointAssociations": [
{
"Id": "vpce-rsc-asc-0a810ca6ac8866bf9",
"VpcEndpointId": "vpce-019b90d6f16d4f958",
"AssociatedResourceAccessibility": "Accessible",
"DnsEntry": {
"DnsName": "vpce-019b90d6f16d4f958.rcfg-07129f3acded87625.4232ccc.vpc-lattice-rsc.us-west-2.on.aws",
"HostedZoneId": "Z03265862FOUNWMZOKUF4"
},
"AssociatedResourceArn": "arn:aws:vpc-lattice:us-west-2:123456789012:resourceconfiguration/rcfg-07129f3acded87625"
}
]
}For more information, see Manage VPC endpoint associations in the AWS PrivateLink User Guide.
Options
--dry-runChecks whether you have the required permissions for the action, without actually making the request, and provides an error response.--filtersThe filters.--max-resultsThe maximum page size.--next-tokenThe pagination token.--vpc-endpoint-idsThe IDs of the VPC endpoints.