AWS::Glue::Catalog - AWS CloudFormation

This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.

AWS::Glue::Catalog

The AWS::Glue::Catalog resource specifies a catalog object that represents a logical grouping of databases in the AWS Glue Data Catalog or a federated source. You can create a Redshift-federated catalog or a catalog containing resource links to Redshift databases in another account or region.

Syntax

To declare this entity in your CloudFormation template, use the following syntax:

Properties

AllowFullTableExternalDataAccess

Allows third-party engines to access data in Amazon S3 locations that are registered with AWS Lake Formation.

Note

This property is write-only. The value is not returned by Fn::GetAtt or Ref.

Required: No

Type: String

Allowed values: True | False

Update requires: No interruption

CatalogProperties

A CatalogProperties object that specifies data lake access properties and other custom properties.

Required: No

Type: CatalogProperties

Update requires: No interruption

CreateDatabaseDefaultPermissions

An array of PrincipalPermissions objects. Creates a set of default permissions on the database(s) for principals. Used by AWS Lake Formation. Not used in the normal course of AWS Glue operations.

Required: No

Type: Array of PrincipalPermissions

Update requires: No interruption

CreateTableDefaultPermissions

An array of PrincipalPermissions objects. Creates a set of default permissions on the table(s) for principals. Used by AWS Lake Formation. Not used in the normal course of AWS Glue operations.

Required: No

Type: Array of PrincipalPermissions

Update requires: No interruption

Description

A description of the catalog, not more than 2048 bytes long.

Required: No

Type: String

Maximum: 2048

Update requires: No interruption

FederatedCatalog

A FederatedCatalog object that points to an entity outside the AWS Glue Data Catalog.

Required: No

Type: FederatedCatalog

Update requires: No interruption

Name

The name of the catalog. Cannot be the same as the account ID.

Update requires: Replacement

Required: Yes

Type: String

Minimum: 1

Maximum: 255

Update requires: Replacement

OverwriteChildResourcePermissionsWithDefault

Specifies whether to overwrite child resource permissions with the default permissions. Valid values are Accept and Deny.

Note

This property is write-only. The value is not returned by Fn::GetAtt or Ref.

Required: No

Type: String

Allowed values: Accept | Deny

Update requires: No interruption

Parameters

A map array of key-value pairs that define parameters and properties of the catalog.

Required: No

Type: Object of String

Pattern: ^.+$

Update requires: No interruption

Tags

An array of key-value pairs to apply to this resource.

For more information, see Tag.

Required: No

Type: Array of Tag

Update requires: No interruption

TargetRedshiftCatalog

A TargetRedshiftCatalog object that describes a target catalog for database resource linking.

Required: No

Type: TargetRedshiftCatalog

Update requires: No interruption

Return values

Ref

When you pass the logical ID of this resource to the intrinsic Ref function, Ref returns the Amazon Resource Name (ARN) of the catalog, such as arn:aws:glue:us-east-1:123456789012:catalog/my-catalog.

For more information about using the Ref function, see Ref.

Fn::GetAtt

The Fn::GetAtt intrinsic function returns a value for a specified attribute of this type. The following are the available attributes and sample return values.

For more information about using the Fn::GetAtt intrinsic function, see Fn::GetAtt.

CatalogId

The ID of the catalog.

CatalogProperties.DataLakeAccessProperties.ManagedWorkgroupName

The name of the managed workgroup associated with the catalog.

CatalogProperties.DataLakeAccessProperties.ManagedWorkgroupStatus

The status of the managed workgroup.

CatalogProperties.DataLakeAccessProperties.RedshiftDatabaseName

The name of the Redshift database associated with the catalog.

CreateTime

The time at which the catalog was created.

ResourceArn

The Amazon Resource Name (ARN) assigned to the catalog resource.

UpdateTime

The time at which the catalog was last updated.