AWS::Glue::Database
The AWS::Glue::Database resource specifies a logical grouping of tables
in Amazon Glue. For more information, see Defining a Database in Your Data
Catalog and Database Structure in the Amazon Glue Developer
Guide.
Syntax
To declare this entity in your Amazon CloudFormation template, use the following syntax:
JSON
{ "Type" : "AWS::Glue::Database", "Properties" : { "CatalogId" :String, "DatabaseInput" :DatabaseInput} }
YAML
Type: AWS::Glue::Database Properties: CatalogId:StringDatabaseInput:DatabaseInput
Properties
CatalogId-
The Amazon account ID for the account in which to create the catalog object.
Note
To specify the account ID, you can use the
Refintrinsic function with theAWS::AccountIdpseudo parameter. For example:!Ref AWS::AccountIdRequired: Yes
Type: String
Minimum:
1Maximum:
255Pattern:
[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\t]*Update requires: Replacement
DatabaseInput-
The metadata for the database.
Required: Yes
Type: DatabaseInput
Update requires: No interruption
Return values
Ref
When you pass the logical ID of this resource to the intrinsic Reffunction, Refreturns the database name.
For more information about using the Reffunction, see Ref.