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