Skip to main content

vpc_endpoint_associations

Creates, updates, deletes, gets or lists a vpc_endpoint_associations resource.

Overview

Namevpc_endpoint_associations
TypeResource
Idaws.ec2.vpc_endpoint_associations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
associated_resource_accessibilitystringThe connectivity status of the resources associated to a VPC endpoint. The resource is accessible if the associated resource configuration is AVAILABLE, otherwise the resource is inaccessible.
associated_resource_arnstringThe Amazon Resource Name (ARN) of the associated resource.
dns_entrystringThe DNS entry of the VPC endpoint association.
failure_codestringAn error code related to why an VPC endpoint association failed.
failure_reasonstringA message related to why an VPC endpoint association failed.
idstringThe ID of the VPC endpoint association.
private_dns_entrystringThe private DNS entry of the VPC endpoint association.
resource_configuration_group_arnstringThe Amazon Resource Name (ARN) of the resource configuration group.
service_network_arnstringThe Amazon Resource Name (ARN) of the service network.
service_network_namestringThe name of the service network.
tagsstringThe tags to apply to the VPC endpoint association.
vpc_endpoint_idstringThe ID of the VPC endpoint.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_vpc_endpoint_associationsselectregionDryRun, VpcEndpointId, Filter, MaxResults, NextTokenDescribes the VPC resources, VPC endpoint services, Amazon Lattice services, or service networks associated with the VPC endpoint.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)
DryRunbooleanChecks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
FilterarrayThe filters. vpc-endpoint-id - The ID of the VPC endpoint. associated-resource-accessibility - The association state. When the state is accessible, it returns AVAILABLE. When the state is inaccessible, it returns PENDING or FAILED. association-id - The ID of the VPC endpoint association. associated-resource-id - The ID of the associated resource configuration. service-network-arn - The Amazon Resource Name (ARN) of the associated service network. Only VPC endpoints of type service network will be returned. resource-configuration-group-arn - The Amazon Resource Name (ARN) of the resource configuration of type GROUP.
MaxResultsintegerThe maximum page size.
NextTokenstringThe pagination token.
VpcEndpointIdarrayThe IDs of the VPC endpoints.

SELECT examples

Describes the VPC resources, VPC endpoint services, Amazon Lattice services, or service networks associated with the VPC endpoint.

SELECT
associated_resource_accessibility,
associated_resource_arn,
dns_entry,
failure_code,
failure_reason,
id,
private_dns_entry,
resource_configuration_group_arn,
service_network_arn,
service_network_name,
tags,
vpc_endpoint_id
FROM aws.ec2.vpc_endpoint_associations
WHERE region = '{{ region }}' -- required
AND DryRun = '{{ DryRun }}'
AND VpcEndpointId = '{{ VpcEndpointId }}'
AND Filter = '{{ Filter }}'
AND MaxResults = '{{ MaxResults }}'
AND NextToken = '{{ NextToken }}'
;