@Stability(value=Stable) public static final class CfnVPCEndpointServicePermissions.Builder extends Object implements software.amazon.jsii.Builder<CfnVPCEndpointServicePermissions>
CfnVPCEndpointServicePermissions.| Modifier and Type | Method and Description |
|---|---|
CfnVPCEndpointServicePermissions.Builder |
allowedPrincipals(List<String> allowedPrincipals)
The Amazon Resource Names (ARN) of one or more principals (IAM users, IAM roles, and AWS accounts).
|
CfnVPCEndpointServicePermissions |
build() |
static CfnVPCEndpointServicePermissions.Builder |
create(software.constructs.Construct scope,
String id) |
CfnVPCEndpointServicePermissions.Builder |
serviceId(String serviceId)
The ID of the service.
|
@Stability(value=Stable) public static CfnVPCEndpointServicePermissions.Builder create(software.constructs.Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnVPCEndpointServicePermissions.Builder.@Stability(value=Stable) public CfnVPCEndpointServicePermissions.Builder serviceId(String serviceId)
serviceId - The ID of the service. This parameter is required.this@Stability(value=Stable) public CfnVPCEndpointServicePermissions.Builder allowedPrincipals(List<String> allowedPrincipals)
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.
allowedPrincipals - The Amazon Resource Names (ARN) of one or more principals (IAM users, IAM roles, and AWS accounts). This parameter is required.this@Stability(value=Stable) public CfnVPCEndpointServicePermissions build()
build in interface software.amazon.jsii.Builder<CfnVPCEndpointServicePermissions>Copyright © 2022. All rights reserved.