Interface CfnVPCEndpointServicePermissionsProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnVPCEndpointServicePermissionsProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.109.0 (build c221850)",
date="2025-03-14T03:24:57.113Z")
@Stability(Stable)
public interface CfnVPCEndpointServicePermissionsProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnVPCEndpointServicePermissions
.
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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnVPCEndpointServicePermissionsProps
static final class
An implementation forCfnVPCEndpointServicePermissionsProps
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
The Amazon Resource Names (ARN) of one or more principals (for example, users, IAM roles, and AWS accounts ).The ID of the service.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getServiceId
The ID of the service.- See Also:
-
getAllowedPrincipals
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.
- See Also:
-
builder
-