Class CfnCatalog.Builder
java.lang.Object
software.amazon.awscdk.services.glue.CfnCatalog.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCatalog>
- Enclosing class:
CfnCatalog
@Stability(Stable)
public static final class CfnCatalog.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCatalog>
A fluent builder for
CfnCatalog.-
Method Summary
Modifier and TypeMethodDescriptionallowFullTableExternalDataAccess(String allowFullTableExternalDataAccess) Allows third-party engines to access data in Amazon S3 locations that are registered with Lake Formation.build()catalogProperties(IResolvable catalogProperties) A structure that specifies data lake access properties and other custom properties.catalogProperties(CfnCatalog.CatalogPropertiesProperty catalogProperties) A structure that specifies data lake access properties and other custom properties.static CfnCatalog.BuildercreateDatabaseDefaultPermissions(List<? extends Object> createDatabaseDefaultPermissions) An array of PrincipalPermissions objects for default database permissions.createDatabaseDefaultPermissions(IResolvable createDatabaseDefaultPermissions) An array of PrincipalPermissions objects for default database permissions.createTableDefaultPermissions(List<? extends Object> createTableDefaultPermissions) An array of PrincipalPermissions objects for default table permissions.createTableDefaultPermissions(IResolvable createTableDefaultPermissions) An array of PrincipalPermissions objects for default table permissions.description(String description) A description of the catalog.federatedCatalog(IResolvable federatedCatalog) A FederatedCatalog structure that references an entity outside the Glue Data Catalog.federatedCatalog(CfnCatalog.FederatedCatalogProperty federatedCatalog) A FederatedCatalog structure that references an entity outside the Glue Data Catalog.The name of the catalog to create.overwriteChildResourcePermissionsWithDefault(String overwriteChildResourcePermissionsWithDefault) Specifies whether to overwrite child resource permissions with the default permissions.parameters(Map<String, String> parameters) A map of key-value pairs that define parameters and properties of the catalog.parameters(IResolvable parameters) A map of key-value pairs that define parameters and properties of the catalog.An array of key-value pairs to apply to this resource.targetRedshiftCatalog(IResolvable targetRedshiftCatalog) A structure that describes a target catalog for resource linking.targetRedshiftCatalog(CfnCatalog.TargetRedshiftCatalogProperty targetRedshiftCatalog) A structure that describes a target catalog for resource linking.
-
Method Details
-
create
@Stability(Stable) public static CfnCatalog.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnCatalog.Builder.
-
name
The name of the catalog to create.- Parameters:
name- The name of the catalog to create. This parameter is required.- Returns:
this- See Also:
-
allowFullTableExternalDataAccess
@Stability(Stable) public CfnCatalog.Builder allowFullTableExternalDataAccess(String allowFullTableExternalDataAccess) Allows third-party engines to access data in Amazon S3 locations that are registered with Lake Formation.- Parameters:
allowFullTableExternalDataAccess- Allows third-party engines to access data in Amazon S3 locations that are registered with Lake Formation. This parameter is required.- Returns:
this- See Also:
-
catalogProperties
A structure that specifies data lake access properties and other custom properties.- Parameters:
catalogProperties- A structure that specifies data lake access properties and other custom properties. This parameter is required.- Returns:
this- See Also:
-
catalogProperties
@Stability(Stable) public CfnCatalog.Builder catalogProperties(CfnCatalog.CatalogPropertiesProperty catalogProperties) A structure that specifies data lake access properties and other custom properties.- Parameters:
catalogProperties- A structure that specifies data lake access properties and other custom properties. This parameter is required.- Returns:
this- See Also:
-
createDatabaseDefaultPermissions
@Stability(Stable) public CfnCatalog.Builder createDatabaseDefaultPermissions(IResolvable createDatabaseDefaultPermissions) An array of PrincipalPermissions objects for default database permissions.- Parameters:
createDatabaseDefaultPermissions- An array of PrincipalPermissions objects for default database permissions. This parameter is required.- Returns:
this- See Also:
-
createDatabaseDefaultPermissions
@Stability(Stable) public CfnCatalog.Builder createDatabaseDefaultPermissions(List<? extends Object> createDatabaseDefaultPermissions) An array of PrincipalPermissions objects for default database permissions.- Parameters:
createDatabaseDefaultPermissions- An array of PrincipalPermissions objects for default database permissions. This parameter is required.- Returns:
this- See Also:
-
createTableDefaultPermissions
@Stability(Stable) public CfnCatalog.Builder createTableDefaultPermissions(IResolvable createTableDefaultPermissions) An array of PrincipalPermissions objects for default table permissions.- Parameters:
createTableDefaultPermissions- An array of PrincipalPermissions objects for default table permissions. This parameter is required.- Returns:
this- See Also:
-
createTableDefaultPermissions
@Stability(Stable) public CfnCatalog.Builder createTableDefaultPermissions(List<? extends Object> createTableDefaultPermissions) An array of PrincipalPermissions objects for default table permissions.- Parameters:
createTableDefaultPermissions- An array of PrincipalPermissions objects for default table permissions. This parameter is required.- Returns:
this- See Also:
-
description
A description of the catalog.- Parameters:
description- A description of the catalog. This parameter is required.- Returns:
this- See Also:
-
federatedCatalog
A FederatedCatalog structure that references an entity outside the Glue Data Catalog.- Parameters:
federatedCatalog- A FederatedCatalog structure that references an entity outside the Glue Data Catalog. This parameter is required.- Returns:
this- See Also:
-
federatedCatalog
@Stability(Stable) public CfnCatalog.Builder federatedCatalog(CfnCatalog.FederatedCatalogProperty federatedCatalog) A FederatedCatalog structure that references an entity outside the Glue Data Catalog.- Parameters:
federatedCatalog- A FederatedCatalog structure that references an entity outside the Glue Data Catalog. This parameter is required.- Returns:
this- See Also:
-
overwriteChildResourcePermissionsWithDefault
@Stability(Stable) public CfnCatalog.Builder overwriteChildResourcePermissionsWithDefault(String overwriteChildResourcePermissionsWithDefault) Specifies whether to overwrite child resource permissions with the default permissions.- Parameters:
overwriteChildResourcePermissionsWithDefault- Specifies whether to overwrite child resource permissions with the default permissions. This parameter is required.- Returns:
this- See Also:
-
parameters
A map of key-value pairs that define parameters and properties of the catalog.- Parameters:
parameters- A map of key-value pairs that define parameters and properties of the catalog. This parameter is required.- Returns:
this- See Also:
-
parameters
A map of key-value pairs that define parameters and properties of the catalog.- Parameters:
parameters- A map of key-value pairs that define parameters and properties of the catalog. This parameter is required.- Returns:
this- See Also:
-
tags
An array of key-value pairs to apply to this resource.- Parameters:
tags- An array of key-value pairs to apply to this resource. This parameter is required.- Returns:
this- See Also:
-
targetRedshiftCatalog
@Stability(Stable) public CfnCatalog.Builder targetRedshiftCatalog(IResolvable targetRedshiftCatalog) A structure that describes a target catalog for resource linking.- Parameters:
targetRedshiftCatalog- A structure that describes a target catalog for resource linking. This parameter is required.- Returns:
this- See Also:
-
targetRedshiftCatalog
@Stability(Stable) public CfnCatalog.Builder targetRedshiftCatalog(CfnCatalog.TargetRedshiftCatalogProperty targetRedshiftCatalog) A structure that describes a target catalog for resource linking.- Parameters:
targetRedshiftCatalog- A structure that describes a target catalog for resource linking. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCatalog>- Returns:
- a newly built instance of
CfnCatalog.
-