@Stability(value=Stable) public static final class CfnVPCEndpointServicePermissionsProps.Builder extends Object implements software.amazon.jsii.Builder<CfnVPCEndpointServicePermissionsProps>
CfnVPCEndpointServicePermissionsProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnVPCEndpointServicePermissionsProps.Builder |
allowedPrincipals(List<String> allowedPrincipals)
Sets the value of
CfnVPCEndpointServicePermissionsProps.getAllowedPrincipals() |
CfnVPCEndpointServicePermissionsProps |
build()
Builds the configured instance.
|
CfnVPCEndpointServicePermissionsProps.Builder |
serviceId(String serviceId)
Sets the value of
CfnVPCEndpointServicePermissionsProps.getServiceId() |
@Stability(value=Stable) public CfnVPCEndpointServicePermissionsProps.Builder serviceId(String serviceId)
CfnVPCEndpointServicePermissionsProps.getServiceId()serviceId - The ID of the service. This parameter is required.this@Stability(value=Stable) public CfnVPCEndpointServicePermissionsProps.Builder allowedPrincipals(List<String> allowedPrincipals)
CfnVPCEndpointServicePermissionsProps.getAllowedPrincipals()allowedPrincipals - The Amazon Resource Names (ARN) of one or more principals (IAM 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.this@Stability(value=Stable) public CfnVPCEndpointServicePermissionsProps build()
build in interface software.amazon.jsii.Builder<CfnVPCEndpointServicePermissionsProps>CfnVPCEndpointServicePermissionsPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.