Amazon VPC Endpoint policy generator
Generate VPC endpoint policies from AWS Policy Generator action metadata and export JSON, Terraform, or CloudFormation snippets.
Step 1
Configure endpoint policy defaults
Set the AWS context used when adding generated DynamoDB resources to the endpoint policy.
Step 2
Choose VPC endpoint actions
The action list is scoped to AWS Policy Generator's VPC Endpoint Policy actions.
Step 3
Configure endpoint policy statements
No VPC endpoint actions selected yet.
Search for a VPC endpoint action above to start generating an endpoint policy.
Build VPC endpoint policies from AWS action metadata
This generator uses AWS Policy Generator's VPC Endpoint Policy action set and enriches it with Service Authorization Reference metadata for Amazon S3 and Amazon DynamoDB so you can build endpoint policies with actions, principals, resources, and condition keys in one place.
How to use the VPC endpoint policy generator
- Configure the region and account ID used for generated DynamoDB table ARN samples.
- Search for one of the VPC Endpoint Policy actions exposed by AWS Policy Generator.
- Configure effect, resources, principals, and supported condition keys.
- Copy the generated JSON, Terraform, or CloudFormation endpoint policy.
VPC endpoint policies are resource policies
VPC endpoint policies include a Principal element because the policy is attached to the endpoint and controls who can use that private path to reach the target service. The resource scope still points at the service resource, such as an S3 bucket/object ARN or a DynamoDB table ARN.
Need a different policy type? Switch to the IAM policy generator, S3 bucket policy generator, SNS topic policy generator, or SQS queue policy generator.
Frequently asked questions
Which AWS services does this VPC endpoint policy generator cover?
Should I use a VPC endpoint policy or an IAM identity policy?
Why does a VPC endpoint policy need a Principal?
Does the Resource point to the VPC endpoint ARN?
Which condition keys are available?
Can I use the generated output in Terraform or CloudFormation?
Related tools
Amazon SQS Policy Generator
Generate SQS queue policies from AWS Policy Generator action metadata and export JSON, Terraform, or CloudFormation snippets.
S3 Bucket Policy Generator
Generate S3 bucket policies from AWS Policy Generator action metadata and export JSON, Terraform, or CloudFormation snippets.
Amazon SNS Policy Generator
Generate SNS topic policies from AWS Policy Generator action metadata and export JSON, Terraform, or CloudFormation snippets.
Next step
Want AWS engineering that feels this practical?
I build these tools to make AWS easier to manage. If this level of quality is what you want in your own cloud platform, Towards The Cloud can help with landing zones, infrastructure as code, security reviews, migrations, and cost optimization.