Class CfnCatalog
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.glue.CfnCatalog
- All Implemented Interfaces:
IInspectable,ICatalogRef,IEnvironmentAware,ITaggableV2,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-27T13:12:00.620Z")
@Stability(Stable)
public class CfnCatalog
extends CfnResource
implements IInspectable, ICatalogRef, ITaggableV2
Creates a catalog in the Glue Data Catalog.
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.glue.*;
CfnCatalog cfnCatalog = CfnCatalog.Builder.create(this, "MyCfnCatalog")
.name("name")
// the properties below are optional
.allowFullTableExternalDataAccess("allowFullTableExternalDataAccess")
.catalogProperties(CatalogPropertiesProperty.builder()
.customProperties(Map.of(
"customPropertiesKey", "customProperties"))
.dataLakeAccessProperties(DataLakeAccessPropertiesProperty.builder()
.allowFullTableExternalDataAccess("allowFullTableExternalDataAccess")
.catalogType("catalogType")
.dataLakeAccess(false)
.dataTransferRole("dataTransferRole")
.kmsKey("kmsKey")
.managedWorkgroupName("managedWorkgroupName")
.managedWorkgroupStatus("managedWorkgroupStatus")
.redshiftDatabaseName("redshiftDatabaseName")
.build())
.build())
.createDatabaseDefaultPermissions(List.of(PrincipalPermissionsProperty.builder()
.permissions(List.of("permissions"))
.principal(DataLakePrincipalProperty.builder()
.dataLakePrincipalIdentifier("dataLakePrincipalIdentifier")
.build())
.build()))
.createTableDefaultPermissions(List.of(PrincipalPermissionsProperty.builder()
.permissions(List.of("permissions"))
.principal(DataLakePrincipalProperty.builder()
.dataLakePrincipalIdentifier("dataLakePrincipalIdentifier")
.build())
.build()))
.description("description")
.federatedCatalog(FederatedCatalogProperty.builder()
.connectionName("connectionName")
.identifier("identifier")
.build())
.overwriteChildResourcePermissionsWithDefault("overwriteChildResourcePermissionsWithDefault")
.parameters(Map.of(
"parametersKey", "parameters"))
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.targetRedshiftCatalog(TargetRedshiftCatalogProperty.builder()
.catalogArn("catalogArn")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnCatalog.static interfaceA structure that specifies data lake access properties and other custom properties.static interfaceData lake access properties for the catalog.static interfaceThe Lake Formation principal.static interfaceA FederatedCatalog structure that references an entity outside the Glue Data Catalog.static interfacePermissions granted to a principal.static interfaceA structure that describes a target catalog for resource linking.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.glue.ICatalogRef
ICatalogRef.Jsii$Default, ICatalogRef.Jsii$ProxyNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnCatalog(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnCatalog(software.amazon.jsii.JsiiObjectRef objRef) CfnCatalog(software.constructs.Construct scope, String id, CfnCatalogProps props) Create a newAWS::Glue::Catalog. -
Method Summary
Modifier and TypeMethodDescriptionAllows third-party engines to access data in Amazon S3 locations that are registered with Lake Formation.The ID of the catalog.Additional key-value properties for the catalog.The name of the managed workgroup associated with the catalog.The status of the managed workgroup.The name of the Redshift database.The time at which the catalog was created.The Amazon Resource Name (ARN) of the catalog.The time at which the catalog was last updated.A structure that specifies data lake access properties and other custom properties.A reference to a Catalog resource.Tag Manager which manages the tags for this resource.An array of PrincipalPermissions objects for default database permissions.An array of PrincipalPermissions objects for default table permissions.A description of the catalog.A FederatedCatalog structure that references an entity outside the Glue Data Catalog.getName()The name of the catalog to create.Specifies whether to overwrite child resource permissions with the default permissions.A map of key-value pairs that define parameters and properties of the catalog.getTags()An array of key-value pairs to apply to this resource.A structure that describes a target catalog for resource linking.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnCatalog.renderProperties(Map<String, Object> props) voidAllows third-party engines to access data in Amazon S3 locations that are registered with Lake Formation.voidsetCatalogProperties(IResolvable value) A structure that specifies data lake access properties and other custom properties.voidA structure that specifies data lake access properties and other custom properties.voidAn array of PrincipalPermissions objects for default database permissions.voidAn array of PrincipalPermissions objects for default database permissions.voidAn array of PrincipalPermissions objects for default table permissions.voidAn array of PrincipalPermissions objects for default table permissions.voidsetDescription(String value) A description of the catalog.voidsetFederatedCatalog(IResolvable value) A FederatedCatalog structure that references an entity outside the Glue Data Catalog.voidA FederatedCatalog structure that references an entity outside the Glue Data Catalog.voidThe name of the catalog to create.voidSpecifies whether to overwrite child resource permissions with the default permissions.voidsetParameters(Map<String, String> value) A map of key-value pairs that define parameters and properties of the catalog.voidsetParameters(IResolvable value) A map of key-value pairs that define parameters and properties of the catalog.voidAn array of key-value pairs to apply to this resource.voidA structure that describes a target catalog for resource linking.voidA structure that describes a target catalog for resource linking.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId, withMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNode, withMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnCatalog
protected CfnCatalog(software.amazon.jsii.JsiiObjectRef objRef) -
CfnCatalog
protected CfnCatalog(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnCatalog
@Stability(Stable) public CfnCatalog(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnCatalogProps props) Create a newAWS::Glue::Catalog.- 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.props- Resource properties. This parameter is required.
-
-
Method Details
-
isCfnCatalog
Checks whether the given object is a CfnCatalog.- Parameters:
x- This parameter is required.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrCatalogId
The ID of the catalog. -
getAttrCatalogPropertiesCustomProperties
Additional key-value properties for the catalog. -
getAttrCatalogPropertiesDataLakeAccessPropertiesManagedWorkgroupName
@Stability(Stable) @NotNull public String getAttrCatalogPropertiesDataLakeAccessPropertiesManagedWorkgroupName()The name of the managed workgroup associated with the catalog. -
getAttrCatalogPropertiesDataLakeAccessPropertiesManagedWorkgroupStatus
@Stability(Stable) @NotNull public String getAttrCatalogPropertiesDataLakeAccessPropertiesManagedWorkgroupStatus()The status of the managed workgroup. -
getAttrCatalogPropertiesDataLakeAccessPropertiesRedshiftDatabaseName
@Stability(Stable) @NotNull public String getAttrCatalogPropertiesDataLakeAccessPropertiesRedshiftDatabaseName()The name of the Redshift database. -
getAttrCreateTime
The time at which the catalog was created. -
getAttrResourceArn
The Amazon Resource Name (ARN) of the catalog. -
getAttrUpdateTime
The time at which the catalog was last updated. -
getCatalogRef
A reference to a Catalog resource.- Specified by:
getCatalogRefin interfaceICatalogRef
-
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getName
The name of the catalog to create. -
setName
The name of the catalog to create. -
getAllowFullTableExternalDataAccess
Allows third-party engines to access data in Amazon S3 locations that are registered with Lake Formation. -
setAllowFullTableExternalDataAccess
Allows third-party engines to access data in Amazon S3 locations that are registered with Lake Formation. -
getCatalogProperties
A structure that specifies data lake access properties and other custom properties.Returns union: either
IResolvableorCfnCatalog.CatalogPropertiesProperty -
setCatalogProperties
A structure that specifies data lake access properties and other custom properties. -
setCatalogProperties
@Stability(Stable) public void setCatalogProperties(@Nullable CfnCatalog.CatalogPropertiesProperty value) A structure that specifies data lake access properties and other custom properties. -
getCreateDatabaseDefaultPermissions
An array of PrincipalPermissions objects for default database permissions.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnCatalog.PrincipalPermissionsProperty> -
setCreateDatabaseDefaultPermissions
An array of PrincipalPermissions objects for default database permissions. -
setCreateDatabaseDefaultPermissions
An array of PrincipalPermissions objects for default database permissions. -
getCreateTableDefaultPermissions
An array of PrincipalPermissions objects for default table permissions.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnCatalog.PrincipalPermissionsProperty> -
setCreateTableDefaultPermissions
An array of PrincipalPermissions objects for default table permissions. -
setCreateTableDefaultPermissions
An array of PrincipalPermissions objects for default table permissions. -
getDescription
A description of the catalog. -
setDescription
A description of the catalog. -
getFederatedCatalog
A FederatedCatalog structure that references an entity outside the Glue Data Catalog.Returns union: either
IResolvableorCfnCatalog.FederatedCatalogProperty -
setFederatedCatalog
A FederatedCatalog structure that references an entity outside the Glue Data Catalog. -
setFederatedCatalog
@Stability(Stable) public void setFederatedCatalog(@Nullable CfnCatalog.FederatedCatalogProperty value) A FederatedCatalog structure that references an entity outside the Glue Data Catalog. -
getOverwriteChildResourcePermissionsWithDefault
Specifies whether to overwrite child resource permissions with the default permissions. -
setOverwriteChildResourcePermissionsWithDefault
@Stability(Stable) public void setOverwriteChildResourcePermissionsWithDefault(@Nullable String value) Specifies whether to overwrite child resource permissions with the default permissions. -
getParameters
A map of key-value pairs that define parameters and properties of the catalog.Returns union: either Mapinvalid input: '<'String,
String> orIResolvable -
setParameters
A map of key-value pairs that define parameters and properties of the catalog. -
setParameters
A map of key-value pairs that define parameters and properties of the catalog. -
getTags
An array of key-value pairs to apply to this resource. -
setTags
An array of key-value pairs to apply to this resource. -
getTargetRedshiftCatalog
A structure that describes a target catalog for resource linking.Returns union: either
IResolvableorCfnCatalog.TargetRedshiftCatalogProperty -
setTargetRedshiftCatalog
A structure that describes a target catalog for resource linking. -
setTargetRedshiftCatalog
@Stability(Stable) public void setTargetRedshiftCatalog(@Nullable CfnCatalog.TargetRedshiftCatalogProperty value) A structure that describes a target catalog for resource linking.
-