vpc_endpoints
Retrieves a list of vpc_endpoints
in a region
Overview
Name | vpc_endpoints |
Type | Resource |
Description | Specifies a VPC endpoint. A VPC endpoint provides a private connection between your VPC and an endpoint service. You can use an endpoint service provided by AWS, an MKT Partner, or another AWS accounts in your organization. For more information, see the [User Guide](https://docs.aws.amazon.com/vpc/latest/privatelink/).<br/> An endpoint of type ``Interface`` establishes connections between the subnets in your VPC and an AWS-service, your own service, or a service hosted by another AWS-account. With an interface VPC endpoint, you specify the subnets in which to create the endpoint and the security groups to associate with the endpoint network interfaces.<br/> An endpoint of type ``gateway`` serves as a target for a route in your route table for traffic destined for S3 or DDB. You can specify an endpoint policy for the endpoint, which controls access to the service from your VPC. You can also specify the VPC route tables that use the endpoint. For more information about connectivity to S3, see [W |
Id | aws.ec2.vpc_endpoints |
Fields
Name | Datatype | Description |
---|---|---|
id | string | |
region | string | AWS region. |
Methods
Name | Accessible by | Required Params |
---|---|---|
create_resource | INSERT | data__DesiredState, region |
list_resource | SELECT | region |
SELECT
Example
SELECT
region,
id
FROM aws.ec2.vpc_endpoints
WHERE region = 'us-east-1'
Permissions
To operate on the vpc_endpoints
resource, the following permissions are required:
Create
ec2:CreateVpcEndpoint,
ec2:DescribeVpcEndpoints
List
ec2:DescribeVpcEndpoints