CfnVPCEndpointServicePermissionsProps Struct
Properties for defining a CfnVPCEndpointServicePermissions.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ec2 as ec2 } from 'aws-cdk-lib';
const cfnVPCEndpointServicePermissionsProps: ec2.CfnVPCEndpointServicePermissionsProps = {
serviceId: 'serviceId',
// the properties below are optional
allowedPrincipals: ['allowedPrincipals'],
};
Properties
allowedPrincipalsstring[]allowed_principalstyping.List[str]allowedPrincipalsList<String>AllowedPrincipalsstring[]AllowedPrincipals*[]*string#The Amazon Resource Names (ARN) of one or more principals (for example, users, IAM roles, and AWS accounts ).
Permissions are granted to the principals in this list. To grant permissions to all principals, specify an asterisk (*). Permissions are revoked for principals not in this list. If the list is empty, then all permissions are revoked.
serviceIdstring | IVPCEndpointServiceRefservice_idtyping.Union[str, IVPCEndpointServiceRef]serviceIdStringServiceIdstringServiceIdinterface{}required#The ID of the service.