CfnDatabaseMixinProps
- class aws_cdk.mixins_preview.aws_glue.mixins.CfnDatabaseMixinProps(*, catalog_id=None, database_input=None, database_name=None)
Bases:
objectProperties for CfnDatabasePropsMixin.
- Parameters:
catalog_id (
Optional[str]) – The AWS account ID for the account in which to create the catalog object. .. epigraph:: To specify the account ID, you can use theRefintrinsic function with theAWS::AccountIdpseudo parameter. For example:!Ref AWS::AccountIddatabase_input (
Union[IResolvable,DatabaseInputProperty,Dict[str,Any],None]) – The metadata for the database.database_name (
Optional[str]) – The name of the catalog database.
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-database.html
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_glue import mixins as glue_mixins # parameters: Any cfn_database_mixin_props = glue_mixins.CfnDatabaseMixinProps( catalog_id="catalogId", database_input=glue_mixins.CfnDatabasePropsMixin.DatabaseInputProperty( create_table_default_permissions=[glue_mixins.CfnDatabasePropsMixin.PrincipalPrivilegesProperty( permissions=["permissions"], principal=glue_mixins.CfnDatabasePropsMixin.DataLakePrincipalProperty( data_lake_principal_identifier="dataLakePrincipalIdentifier" ) )], description="description", federated_database=glue_mixins.CfnDatabasePropsMixin.FederatedDatabaseProperty( connection_name="connectionName", identifier="identifier" ), location_uri="locationUri", name="name", parameters=parameters, target_database=glue_mixins.CfnDatabasePropsMixin.DatabaseIdentifierProperty( catalog_id="catalogId", database_name="databaseName", region="region" ) ), database_name="databaseName" )
Attributes
- catalog_id
The AWS account ID for the account in which to create the catalog object.
To specify the account ID, you can use the
Refintrinsic function with theAWS::AccountIdpseudo parameter. For example:!Ref AWS::AccountId
- database_input
The metadata for the database.
- database_name
The name of the catalog database.