service_network_vpc_endpoint_associations
Creates, updates, deletes, gets or lists a service_network_vpc_endpoint_associations resource.
Overview
| Name | service_network_vpc_endpoint_associations |
| Type | Resource |
| Id | aws.vpc_lattice.service_network_vpc_endpoint_associations |
Fields
The following fields are returned by SELECT queries:
- list_service_network_vpc_endpoint_associations
| Name | Datatype | Description |
|---|---|---|
id | string | The ID of the association. |
created_at | string (date-time) | The date and time that the association was created, in ISO-8601 format. |
service_network_arn | string | The 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>) |
state | string | The state of the association. |
vpc_endpoint_id | string | The ID of the VPC endpoint associated with the service network. |
vpc_endpoint_owner_id | string | The owner of the VPC endpoint associated with the service network. |
vpc_id | string | The ID of the VPC for the association. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_service_network_vpc_endpoint_associations | select | serviceNetworkIdentifier, region | maxResults, nextToken | Lists 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.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
serviceNetworkIdentifier | string | The ID of the service network associated with the VPC endpoint. |
maxResults | integer | The maximum page size. |
nextToken | string | If there are additional results, a pagination token for the next page of results. |
SELECT examples
- list_service_network_vpc_endpoint_associations
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 }}'
;