class CfnTablePropsMixin
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Cassandra.Mixins.CfnTablePropsMixin |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awscassandra/mixins#CfnTablePropsMixin |
Java | software.amazon.awscdk.mixins.preview.services.cassandra.mixins.CfnTablePropsMixin |
Python | aws_cdk.mixins_preview.aws_cassandra.mixins.CfnTablePropsMixin |
TypeScript | @aws-cdk/mixins-preview » aws_cassandra » mixins » CfnTablePropsMixin |
Implements
IMixin
Extends
Mixin
You can use the AWS::Cassandra::Table resource to create a new table in Amazon Keyspaces (for Apache Cassandra).
For more information, see Create a table in the Amazon Keyspaces Developer Guide .
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cassandra-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 cassandra_mixins } from '@aws-cdk/mixins-preview/aws-cassandra';
const cfnTablePropsMixin = new cassandra_mixins.CfnTablePropsMixin({
autoScalingSpecifications: {
readCapacityAutoScaling: {
autoScalingDisabled: false,
maximumUnits: 123,
minimumUnits: 123,
scalingPolicy: {
targetTrackingScalingPolicyConfiguration: {
disableScaleIn: false,
scaleInCooldown: 123,
scaleOutCooldown: 123,
targetValue: 123,
},
},
},
writeCapacityAutoScaling: {
autoScalingDisabled: false,
maximumUnits: 123,
minimumUnits: 123,
scalingPolicy: {
targetTrackingScalingPolicyConfiguration: {
disableScaleIn: false,
scaleInCooldown: 123,
scaleOutCooldown: 123,
targetValue: 123,
},
},
},
},
billingMode: {
mode: 'mode',
provisionedThroughput: {
readCapacityUnits: 123,
writeCapacityUnits: 123,
},
},
cdcSpecification: {
status: 'status',
tags: [{
key: 'key',
value: 'value',
}],
viewType: 'viewType',
},
clientSideTimestampsEnabled: false,
clusteringKeyColumns: [{
column: {
columnName: 'columnName',
columnType: 'columnType',
},
orderBy: 'orderBy',
}],
defaultTimeToLive: 123,
encryptionSpecification: {
encryptionType: 'encryptionType',
kmsKeyIdentifier: 'kmsKeyIdentifier',
},
keyspaceName: 'keyspaceName',
partitionKeyColumns: [{
columnName: 'columnName',
columnType: 'columnType',
}],
pointInTimeRecoveryEnabled: false,
regularColumns: [{
columnName: 'columnName',
columnType: 'columnType',
}],
replicaSpecifications: [{
readCapacityAutoScaling: {
autoScalingDisabled: false,
maximumUnits: 123,
minimumUnits: 123,
scalingPolicy: {
targetTrackingScalingPolicyConfiguration: {
disableScaleIn: false,
scaleInCooldown: 123,
scaleOutCooldown: 123,
targetValue: 123,
},
},
},
readCapacityUnits: 123,
region: 'region',
}],
tableName: 'tableName',
tags: [{
key: 'key',
value: 'value',
}],
warmThroughput: {
readUnitsPerSecond: 123,
writeUnitsPerSecond: 123,
},
}, /* 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::Cassandra::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