Interface CfnPermissionsProps

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

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:29:58.417Z") @Stability(Stable) public interface CfnPermissionsProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnPermissions.

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.lakeformation.*;
 CfnPermissionsProps cfnPermissionsProps = CfnPermissionsProps.builder()
         .dataLakePrincipal(DataLakePrincipalProperty.builder()
                 .dataLakePrincipalIdentifier("dataLakePrincipalIdentifier")
                 .build())
         .resource(ResourceProperty.builder()
                 .databaseResource(DatabaseResourceProperty.builder()
                         .catalogId("catalogId")
                         .name("name")
                         .build())
                 .dataLocationResource(DataLocationResourceProperty.builder()
                         .catalogId("catalogId")
                         .s3Resource("s3Resource")
                         .build())
                 .tableResource(TableResourceProperty.builder()
                         .catalogId("catalogId")
                         .databaseName("databaseName")
                         .name("name")
                         .tableWildcard(TableWildcardProperty.builder().build())
                         .build())
                 .tableWithColumnsResource(TableWithColumnsResourceProperty.builder()
                         .catalogId("catalogId")
                         .columnNames(List.of("columnNames"))
                         .columnWildcard(ColumnWildcardProperty.builder()
                                 .excludedColumnNames(List.of("excludedColumnNames"))
                                 .build())
                         .databaseName("databaseName")
                         .name("name")
                         .build())
                 .build())
         // the properties below are optional
         .permissions(List.of("permissions"))
         .permissionsWithGrantOption(List.of("permissionsWithGrantOption"))
         .build();
 
  • Method Details

    • getDataLakePrincipal

      @Stability(Stable) @NotNull Object getDataLakePrincipal()
      The AWS Lake Formation principal.
    • getResource

      @Stability(Stable) @NotNull Object getResource()
      A structure for the resource.
    • getPermissions

      @Stability(Stable) @Nullable default List<String> getPermissions()
      The permissions granted or revoked.
    • getPermissionsWithGrantOption

      @Stability(Stable) @Nullable default List<String> getPermissionsWithGrantOption()
      Indicates the ability to grant permissions (as a subset of permissions granted).
    • builder

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