@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:38.377Z") @Stability(value=Stable) public interface CfnVPCEndpointServicePermissionsProps extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ec2.*;
CfnVPCEndpointServicePermissionsProps cfnVPCEndpointServicePermissionsProps = CfnVPCEndpointServicePermissionsProps.builder()
.serviceId("serviceId")
// the properties below are optional
.allowedPrincipals(List.of("allowedPrincipals"))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnVPCEndpointServicePermissionsProps.Builder
A builder for
CfnVPCEndpointServicePermissionsProps |
static class |
CfnVPCEndpointServicePermissionsProps.Jsii$Proxy
An implementation for
CfnVPCEndpointServicePermissionsProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnVPCEndpointServicePermissionsProps.Builder |
builder() |
default List<String> |
getAllowedPrincipals()
The Amazon Resource Names (ARN) of one or more principals (IAM users, IAM roles, and AWS accounts).
|
String |
getServiceId()
The ID of the service.
|
@Stability(value=Stable) @NotNull String getServiceId()
@Stability(value=Stable) @Nullable default List<String> getAllowedPrincipals()
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.
@Stability(value=Stable) static CfnVPCEndpointServicePermissionsProps.Builder builder()
Copyright © 2022. All rights reserved.