Interface CfnVPCEndpointServicePermissionsProps

All Superinterfaces:
All Known Implementing Classes:

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:39.169Z") @Stability(Stable) public interface CfnVPCEndpointServicePermissionsProps extends
Properties for defining a CfnVPCEndpointServicePermissions.


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 CfnVPCEndpointServicePermissionsProps cfnVPCEndpointServicePermissionsProps = CfnVPCEndpointServicePermissionsProps.builder()
         // the properties below are optional
  • 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()
      a CfnVPCEndpointServicePermissionsProps.Builder of CfnVPCEndpointServicePermissionsProps