CfnTablePropsMixin
- class aws_cdk.cfn_property_mixins.aws_bcmdataexports.CfnTablePropsMixin(props, *, strategy=None)
Bases:
MixinReturns the metadata for the specified table and table properties, including the list of columns in the table schema, their data types, and column descriptions.
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bcmdataexports-table.html
- CloudformationResource:
AWS::BCMDataExports::Table
- Mixin:
true
- 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.cfn_property_mixins import aws_bcmdataexports as bcmdataexports import aws_cdk as cdk # merge_strategy: cdk.IMergeStrategy cfn_table_props_mixin = bcmdataexports.CfnTablePropsMixin(bcmdataexports.CfnTableMixinProps( table_name="tableName" ), strategy=merge_strategy )
Create a mixin to apply properties to
AWS::BCMDataExports::Table.- Parameters:
props (
Union[CfnTableMixinProps,Dict[str,Any]]) – L1 properties to apply.strategy (
Optional[IMergeStrategy]) – Strategy for merging nested properties. Default: - PropertyMergeStrategy.combine()
Methods
- apply_to(construct)
Apply the mixin properties to the construct.
- Parameters:
construct (
IConstruct)- Return type:
None
- supports(construct)
Check if this mixin supports the given construct.
- Parameters:
construct (
IConstruct)- Return type:
bool
Attributes
- CFN_PROPERTY_KEYS = ['tableName']
Static Methods
- classmethod is_mixin(x)
Checks if
xis a Mixin.- Parameters:
x (
Any) – Any object.- Return type:
bool- Returns:
true if
xis an object created from a class which extendsMixin.
ColumnProperty
- class CfnTablePropsMixin.ColumnProperty(*, description=None, name=None, type=None)
Bases:
objectIncludes basic information for a data column such as its description, name, and type.
- Parameters:
description (
Optional[str]) – The description for a column.name (
Optional[str]) – The column name.type (
Optional[str]) – The kind of data a column stores.
- See:
- 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.cfn_property_mixins import aws_bcmdataexports as bcmdataexports column_property = bcmdataexports.CfnTablePropsMixin.ColumnProperty( description="description", name="name", type="type" )
Attributes
- description
The description for a column.
- name
The column name.
- type
The kind of data a column stores.