interface CfnDatabaseMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.Glue.CfnDatabaseMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsglue#CfnDatabaseMixinProps |
Java | software.amazon.awscdk.cfnpropertymixins.services.glue.CfnDatabaseMixinProps |
Python | aws_cdk.cfn_property_mixins.aws_glue.CfnDatabaseMixinProps |
TypeScript | @aws-cdk/cfn-property-mixins » aws_glue » CfnDatabaseMixinProps |
Properties for CfnDatabasePropsMixin.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-database.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_glue as glue } from '@aws-cdk/cfn-property-mixins';
declare const parameters: any;
const cfnDatabaseMixinProps: glue.CfnDatabaseMixinProps = {
catalogId: 'catalogId',
databaseInput: {
createTableDefaultPermissions: [{
permissions: ['permissions'],
principal: {
dataLakePrincipalIdentifier: 'dataLakePrincipalIdentifier',
},
}],
description: 'description',
federatedDatabase: {
connectionName: 'connectionName',
identifier: 'identifier',
},
locationUri: 'locationUri',
name: 'name',
parameters: parameters,
targetDatabase: {
catalogId: 'catalogId',
databaseName: 'databaseName',
region: 'region',
},
},
databaseName: 'databaseName',
};
Properties
| Name | Type | Description |
|---|---|---|
| catalog | string | The AWS account ID for the account in which to create the catalog object. |
| database | IResolvable | Database | The metadata for the database. |
| database | string | The name of the catalog database. |
catalogId?
Type:
string
(optional)
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
databaseInput?
Type:
IResolvable | Database
(optional)
The metadata for the database.
databaseName?
Type:
string
(optional)
The name of the catalog database.

.NET
Go
Java
Python
TypeScript