Class CfnVPCEndpointServicePermissionsPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnVPCEndpointServicePermissionsPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVPCEndpointServicePermissionsPropsMixin>
- Enclosing class:
CfnVPCEndpointServicePermissionsPropsMixin
@Stability(Stable)
public static final class CfnVPCEndpointServicePermissionsPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVPCEndpointServicePermissionsPropsMixin>
A fluent builder for
CfnVPCEndpointServicePermissionsPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionallowedPrincipals(List<String> allowedPrincipals) The Amazon Resource Names (ARN) of one or more principals (for example, users, IAM roles, and AWS accounts ).build()create()create(CfnPropertyMixinOptions options) The ID of the service.serviceId(IVPCEndpointServiceRef serviceId) The ID of the service.
-
Method Details
-
create
@Stability(Stable) public static CfnVPCEndpointServicePermissionsPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnVPCEndpointServicePermissionsPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnVPCEndpointServicePermissionsPropsMixin.Builder.
-
allowedPrincipals
@Stability(Stable) public CfnVPCEndpointServicePermissionsPropsMixin.Builder allowedPrincipals(List<String> allowedPrincipals) 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.
- Parameters:
allowedPrincipals- The Amazon Resource Names (ARN) of one or more principals (for example, users, IAM roles, and AWS accounts ). This parameter is required.- Returns:
this- See Also:
-
serviceId
@Stability(Stable) public CfnVPCEndpointServicePermissionsPropsMixin.Builder serviceId(String serviceId) The ID of the service.- Parameters:
serviceId- The ID of the service. This parameter is required.- Returns:
this- See Also:
-
serviceId
@Stability(Stable) public CfnVPCEndpointServicePermissionsPropsMixin.Builder serviceId(IVPCEndpointServiceRef serviceId) The ID of the service.- Parameters:
serviceId- The ID of the service. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnVPCEndpointServicePermissionsPropsMixin>- Returns:
- a newly built instance of
CfnVPCEndpointServicePermissionsPropsMixin.
-