interface CfnDatabaseMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Glue.Mixins.CfnDatabaseMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsglue/mixins#CfnDatabaseMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.glue.mixins.CfnDatabaseMixinProps |
Python | aws_cdk.mixins_preview.aws_glue.mixins.CfnDatabaseMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_glue » mixins » 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 { mixins as glue_mixins } from '@aws-cdk/mixins-preview/aws-glue';
declare const parameters: any;
const cfnDatabaseMixinProps: glue_mixins.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