Expand description
Provides a resource to allow a principal to discover a VPC endpoint service.
NOTE on VPC Endpoint Services and VPC Endpoint Service Allowed Principals: This provider provides both a standalone VPC Endpoint Service Allowed Principal resource and a VPC Endpoint Service resource with an
allowed_principals
attribute. Do not use the same principal ARN in both a VPC Endpoint Service resource and a VPC Endpoint Service Allowed Principal resource. Doing so will cause a conflict and will overwrite the association.
§Example Usage
Basic usage:
resources:
allowMeToFoo:
type: aws:ec2:VpcEndpointServiceAllowedPrinciple
name: allow_me_to_foo
properties:
vpcEndpointServiceId: ${foo.id}
principalArn: ${current.arn}
variables:
current:
fn::invoke:
function: aws:getCallerIdentity
arguments: {}
Structs§
- Use builder syntax to set the inputs and finish with
build_struct()
.
Functions§
- Registers a new resource with the given unique name and arguments