CfnVPCEndpointServicePermissionsMixinProps
- class aws_cdk.mixins_preview.aws_ec2.mixins.CfnVPCEndpointServicePermissionsMixinProps(*, allowed_principals=None, service_id=None)
Bases:
objectProperties for CfnVPCEndpointServicePermissionsPropsMixin.
- Parameters:
allowed_principals (
Optional[Sequence[str]]) – 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.service_id (
Optional[str]) – The ID of the service.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_ec2 import mixins as ec2_mixins cfn_vPCEndpoint_service_permissions_mixin_props = ec2_mixins.CfnVPCEndpointServicePermissionsMixinProps( allowed_principals=["allowedPrincipals"], service_id="serviceId" )
Attributes
- allowed_principals
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.