Interface CfnTagAssociation.ResourceProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnTagAssociation.ResourceProperty.Jsii$Proxy
Enclosing class:
CfnTagAssociation

@Stability(Stable) public static interface CfnTagAssociation.ResourceProperty extends software.amazon.jsii.JsiiSerializable
A structure for the resource.

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.*;
 Object catalog;
 Object tableWildcard;
 ResourceProperty resourceProperty = ResourceProperty.builder()
         .catalog(catalog)
         .database(DatabaseResourceProperty.builder()
                 .catalogId("catalogId")
                 .name("name")
                 .build())
         .table(TableResourceProperty.builder()
                 .catalogId("catalogId")
                 .databaseName("databaseName")
                 // the properties below are optional
                 .name("name")
                 .tableWildcard(tableWildcard)
                 .build())
         .tableWithColumns(TableWithColumnsResourceProperty.builder()
                 .catalogId("catalogId")
                 .columnNames(List.of("columnNames"))
                 .databaseName("databaseName")
                 .name("name")
                 .build())
         .build();
 
  • Method Details

    • getCatalog

      @Stability(Stable) @Nullable default Object getCatalog()
      The identifier for the Data Catalog.

      By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your AWS Lake Formation environment.

    • getDatabase

      @Stability(Stable) @Nullable default Object getDatabase()
      The database for the resource.

      Unique to the Data Catalog. A database is a set of associated table definitions organized into a logical group. You can Grant and Revoke database permissions to a principal.

    • getTable

      @Stability(Stable) @Nullable default Object getTable()
      The table for the resource.

      A table is a metadata definition that represents your data. You can Grant and Revoke table privileges to a principal.

    • getTableWithColumns

      @Stability(Stable) @Nullable default Object getTableWithColumns()
      The table with columns for the resource.

      A principal with permissions to this resource can select metadata from the columns of a table in the Data Catalog and the underlying data in Amazon S3.

    • builder

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