class CfnTablePropsMixin
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Glue.Mixins.CfnTablePropsMixin |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsglue/mixins#CfnTablePropsMixin |
Java | software.amazon.awscdk.mixins.preview.services.glue.mixins.CfnTablePropsMixin |
Python | aws_cdk.mixins_preview.aws_glue.mixins.CfnTablePropsMixin |
TypeScript | @aws-cdk/mixins-preview » aws_glue » mixins » CfnTablePropsMixin |
Implements
IMixin
Extends
Mixin
The AWS::Glue::Table resource specifies tabular data in the AWS Glue data catalog.
For more information, see Defining Tables in the AWS Glue Data Catalog and Table Structure in the AWS Glue Developer Guide .
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-table.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins } from '@aws-cdk/mixins-preview';
import { mixins as glue_mixins } from '@aws-cdk/mixins-preview/aws-glue';
declare const parameters: any;
declare const skewedColumnValueLocationMaps: any;
const cfnTablePropsMixin = new glue_mixins.CfnTablePropsMixin({
catalogId: 'catalogId',
databaseName: 'databaseName',
openTableFormatInput: {
icebergInput: {
metadataOperation: 'metadataOperation',
version: 'version',
},
},
tableInput: {
description: 'description',
name: 'name',
owner: 'owner',
parameters: parameters,
partitionKeys: [{
comment: 'comment',
name: 'name',
type: 'type',
}],
retention: 123,
storageDescriptor: {
bucketColumns: ['bucketColumns'],
columns: [{
comment: 'comment',
name: 'name',
type: 'type',
}],
compressed: false,
inputFormat: 'inputFormat',
location: 'location',
numberOfBuckets: 123,
outputFormat: 'outputFormat',
parameters: parameters,
schemaReference: {
schemaId: {
registryName: 'registryName',
schemaArn: 'schemaArn',
schemaName: 'schemaName',
},
schemaVersionId: 'schemaVersionId',
schemaVersionNumber: 123,
},
serdeInfo: {
name: 'name',
parameters: parameters,
serializationLibrary: 'serializationLibrary',
},
skewedInfo: {
skewedColumnNames: ['skewedColumnNames'],
skewedColumnValueLocationMaps: skewedColumnValueLocationMaps,
skewedColumnValues: ['skewedColumnValues'],
},
sortColumns: [{
column: 'column',
sortOrder: 123,
}],
storedAsSubDirectories: false,
},
tableType: 'tableType',
targetTable: {
catalogId: 'catalogId',
databaseName: 'databaseName',
name: 'name',
region: 'region',
},
viewExpandedText: 'viewExpandedText',
viewOriginalText: 'viewOriginalText',
},
}, /* all optional props */ {
strategy: mixins.PropertyMergeStrategy.OVERRIDE,
});
Initializer
new CfnTablePropsMixin(props: CfnTableMixinProps, options?: CfnPropertyMixinOptions)
Parameters
- props
Cfn— L1 properties to apply.Table Mixin Props - options
Cfn— Mixin options.Property Mixin Options
Create a mixin to apply properties to AWS::Glue::Table.
Properties
| Name | Type | Description |
|---|---|---|
| props | Cfn | |
| strategy | Property | |
| static CFN_PROPERTY_KEYS | string[] |
props
Type:
Cfn
strategy
Type:
Property
static CFN_PROPERTY_KEYS
Type:
string[]
Methods
| Name | Description |
|---|---|
| apply | Apply the mixin properties to the construct. |
| supports(construct) | Check if this mixin supports the given construct. |
applyTo(construct)
public applyTo(construct: IConstruct): IConstruct
Parameters
- construct
IConstruct
Returns
Apply the mixin properties to the construct.
supports(construct)
public supports(construct: IConstruct): boolean
Parameters
- construct
IConstruct
Returns
boolean
Check if this mixin supports the given construct.

.NET
Go
Java
Python
TypeScript