Skip to main content

service_network_vpc_endpoint_associations

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

Overview

Nameservice_network_vpc_endpoint_associations
TypeResource
Idaws.vpc_lattice.service_network_vpc_endpoint_associations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe ID of the association.
created_atstring (date-time)The date and time that the association was created, in ISO-8601 format.
service_network_arnstringThe Amazon Resource Name (ARN) of the service network. (pattern: <code>arn:[a-z0-9-]+:vpc-lattice:[a-zA-Z0-9-]+:\d{12}:servicenetwork/sn-[0-9a-z]{17}</code>)
statestringThe state of the association.
vpc_endpoint_idstringThe ID of the VPC endpoint associated with the service network.
vpc_endpoint_owner_idstringThe owner of the VPC endpoint associated with the service network.
vpc_idstringThe ID of the VPC for the association.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_service_network_vpc_endpoint_associationsselectserviceNetworkIdentifier, regionmaxResults, nextTokenLists the associations between a service network and a 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)
serviceNetworkIdentifierstringThe ID of the service network associated with the VPC endpoint.
maxResultsintegerThe maximum page size.
nextTokenstringIf there are additional results, a pagination token for the next page of results.

SELECT examples

Lists the associations between a service network and a VPC endpoint.

SELECT
id,
created_at,
service_network_arn,
state,
vpc_endpoint_id,
vpc_endpoint_owner_id,
vpc_id
FROM aws.vpc_lattice.service_network_vpc_endpoint_associations
WHERE serviceNetworkIdentifier = '{{ serviceNetworkIdentifier }}' -- required
AND region = '{{ region }}' -- required
AND maxResults = '{{ maxResults }}'
AND nextToken = '{{ nextToken }}'
;