Interface CfnVPCEndpointServicePermissionsProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnVPCEndpointServicePermissionsProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:39.169Z") @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();
 
  • Method Details

    • getServiceId

      @Stability(Stable) @NotNull String getServiceId()
      The ID of the service.
    • getAllowedPrincipals

      @Stability(Stable) @Nullable default List<String> 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.

    • builder

      @Stability(Stable) static CfnVPCEndpointServicePermissionsProps.Builder builder()
      Returns:
      a CfnVPCEndpointServicePermissionsProps.Builder of CfnVPCEndpointServicePermissionsProps