Class CfnTablePropsMixin
You can use the AWS::Cassandra::Table resource to create a new table in Amazon Keyspaces (for Apache Cassandra).
Implements
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.Cassandra.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnTablePropsMixin : Mixin, IMixin
Syntax (vb)
Public Class CfnTablePropsMixin Inherits Mixin Implements IMixin
Remarks
For more information, see Create a table in the Amazon Keyspaces Developer Guide .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cassandra-table.html
CloudformationResource: AWS::Cassandra::Table
Mixin: true
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.Mixins;
using Amazon.CDK.Mixins.Preview.AWS.Cassandra.Mixins;
var cfnTablePropsMixin = new CfnTablePropsMixin(new CfnTableMixinProps {
AutoScalingSpecifications = new AutoScalingSpecificationProperty {
ReadCapacityAutoScaling = new AutoScalingSettingProperty {
AutoScalingDisabled = false,
MaximumUnits = 123,
MinimumUnits = 123,
ScalingPolicy = new ScalingPolicyProperty {
TargetTrackingScalingPolicyConfiguration = new TargetTrackingScalingPolicyConfigurationProperty {
DisableScaleIn = false,
ScaleInCooldown = 123,
ScaleOutCooldown = 123,
TargetValue = 123
}
}
},
WriteCapacityAutoScaling = new AutoScalingSettingProperty {
AutoScalingDisabled = false,
MaximumUnits = 123,
MinimumUnits = 123,
ScalingPolicy = new ScalingPolicyProperty {
TargetTrackingScalingPolicyConfiguration = new TargetTrackingScalingPolicyConfigurationProperty {
DisableScaleIn = false,
ScaleInCooldown = 123,
ScaleOutCooldown = 123,
TargetValue = 123
}
}
}
},
BillingMode = new BillingModeProperty {
Mode = "mode",
ProvisionedThroughput = new ProvisionedThroughputProperty {
ReadCapacityUnits = 123,
WriteCapacityUnits = 123
}
},
CdcSpecification = new CdcSpecificationProperty {
Status = "status",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
ViewType = "viewType"
},
ClientSideTimestampsEnabled = false,
ClusteringKeyColumns = new [] { new ClusteringKeyColumnProperty {
Column = new ColumnProperty {
ColumnName = "columnName",
ColumnType = "columnType"
},
OrderBy = "orderBy"
} },
DefaultTimeToLive = 123,
EncryptionSpecification = new EncryptionSpecificationProperty {
EncryptionType = "encryptionType",
KmsKeyIdentifier = "kmsKeyIdentifier"
},
KeyspaceName = "keyspaceName",
PartitionKeyColumns = new [] { new ColumnProperty {
ColumnName = "columnName",
ColumnType = "columnType"
} },
PointInTimeRecoveryEnabled = false,
RegularColumns = new [] { new ColumnProperty {
ColumnName = "columnName",
ColumnType = "columnType"
} },
ReplicaSpecifications = new [] { new ReplicaSpecificationProperty {
ReadCapacityAutoScaling = new AutoScalingSettingProperty {
AutoScalingDisabled = false,
MaximumUnits = 123,
MinimumUnits = 123,
ScalingPolicy = new ScalingPolicyProperty {
TargetTrackingScalingPolicyConfiguration = new TargetTrackingScalingPolicyConfigurationProperty {
DisableScaleIn = false,
ScaleInCooldown = 123,
ScaleOutCooldown = 123,
TargetValue = 123
}
}
},
ReadCapacityUnits = 123,
Region = "region"
} },
TableName = "tableName",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
WarmThroughput = new WarmThroughputProperty {
ReadUnitsPerSecond = 123,
WriteUnitsPerSecond = 123
}
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Synopsis
Constructors
| CfnTablePropsMixin(ICfnTableMixinProps, ICfnPropertyMixinOptions?) | Create a mixin to apply properties to |
Properties
| CFN_PROPERTY_KEYS | You can use the |
| Props | You can use the |
| Strategy | You can use the |
Methods
| ApplyTo(IConstruct) | Apply the mixin properties to the construct. |
| Supports(IConstruct) | Check if this mixin supports the given construct. |
Constructors
CfnTablePropsMixin(ICfnTableMixinProps, ICfnPropertyMixinOptions?)
Create a mixin to apply properties to AWS::Cassandra::Table.
public CfnTablePropsMixin(ICfnTableMixinProps props, ICfnPropertyMixinOptions? options = null)
Parameters
- props ICfnTableMixinProps
L1 properties to apply.
- options ICfnPropertyMixinOptions
Mixin options.
Remarks
For more information, see Create a table in the Amazon Keyspaces Developer Guide .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cassandra-table.html
CloudformationResource: AWS::Cassandra::Table
Mixin: true
ExampleMetadata: fixture=_generated
Properties
CFN_PROPERTY_KEYS
You can use the AWS::Cassandra::Table resource to create a new table in Amazon Keyspaces (for Apache Cassandra).
protected static string[] CFN_PROPERTY_KEYS { get; }
Property Value
string[]
Remarks
For more information, see Create a table in the Amazon Keyspaces Developer Guide .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cassandra-table.html
CloudformationResource: AWS::Cassandra::Table
Mixin: true
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.Mixins;
using Amazon.CDK.Mixins.Preview.AWS.Cassandra.Mixins;
var cfnTablePropsMixin = new CfnTablePropsMixin(new CfnTableMixinProps {
AutoScalingSpecifications = new AutoScalingSpecificationProperty {
ReadCapacityAutoScaling = new AutoScalingSettingProperty {
AutoScalingDisabled = false,
MaximumUnits = 123,
MinimumUnits = 123,
ScalingPolicy = new ScalingPolicyProperty {
TargetTrackingScalingPolicyConfiguration = new TargetTrackingScalingPolicyConfigurationProperty {
DisableScaleIn = false,
ScaleInCooldown = 123,
ScaleOutCooldown = 123,
TargetValue = 123
}
}
},
WriteCapacityAutoScaling = new AutoScalingSettingProperty {
AutoScalingDisabled = false,
MaximumUnits = 123,
MinimumUnits = 123,
ScalingPolicy = new ScalingPolicyProperty {
TargetTrackingScalingPolicyConfiguration = new TargetTrackingScalingPolicyConfigurationProperty {
DisableScaleIn = false,
ScaleInCooldown = 123,
ScaleOutCooldown = 123,
TargetValue = 123
}
}
}
},
BillingMode = new BillingModeProperty {
Mode = "mode",
ProvisionedThroughput = new ProvisionedThroughputProperty {
ReadCapacityUnits = 123,
WriteCapacityUnits = 123
}
},
CdcSpecification = new CdcSpecificationProperty {
Status = "status",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
ViewType = "viewType"
},
ClientSideTimestampsEnabled = false,
ClusteringKeyColumns = new [] { new ClusteringKeyColumnProperty {
Column = new ColumnProperty {
ColumnName = "columnName",
ColumnType = "columnType"
},
OrderBy = "orderBy"
} },
DefaultTimeToLive = 123,
EncryptionSpecification = new EncryptionSpecificationProperty {
EncryptionType = "encryptionType",
KmsKeyIdentifier = "kmsKeyIdentifier"
},
KeyspaceName = "keyspaceName",
PartitionKeyColumns = new [] { new ColumnProperty {
ColumnName = "columnName",
ColumnType = "columnType"
} },
PointInTimeRecoveryEnabled = false,
RegularColumns = new [] { new ColumnProperty {
ColumnName = "columnName",
ColumnType = "columnType"
} },
ReplicaSpecifications = new [] { new ReplicaSpecificationProperty {
ReadCapacityAutoScaling = new AutoScalingSettingProperty {
AutoScalingDisabled = false,
MaximumUnits = 123,
MinimumUnits = 123,
ScalingPolicy = new ScalingPolicyProperty {
TargetTrackingScalingPolicyConfiguration = new TargetTrackingScalingPolicyConfigurationProperty {
DisableScaleIn = false,
ScaleInCooldown = 123,
ScaleOutCooldown = 123,
TargetValue = 123
}
}
},
ReadCapacityUnits = 123,
Region = "region"
} },
TableName = "tableName",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
WarmThroughput = new WarmThroughputProperty {
ReadUnitsPerSecond = 123,
WriteUnitsPerSecond = 123
}
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Props
You can use the AWS::Cassandra::Table resource to create a new table in Amazon Keyspaces (for Apache Cassandra).
protected virtual ICfnTableMixinProps Props { get; }
Property Value
Remarks
For more information, see Create a table in the Amazon Keyspaces Developer Guide .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cassandra-table.html
CloudformationResource: AWS::Cassandra::Table
Mixin: true
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.Mixins;
using Amazon.CDK.Mixins.Preview.AWS.Cassandra.Mixins;
var cfnTablePropsMixin = new CfnTablePropsMixin(new CfnTableMixinProps {
AutoScalingSpecifications = new AutoScalingSpecificationProperty {
ReadCapacityAutoScaling = new AutoScalingSettingProperty {
AutoScalingDisabled = false,
MaximumUnits = 123,
MinimumUnits = 123,
ScalingPolicy = new ScalingPolicyProperty {
TargetTrackingScalingPolicyConfiguration = new TargetTrackingScalingPolicyConfigurationProperty {
DisableScaleIn = false,
ScaleInCooldown = 123,
ScaleOutCooldown = 123,
TargetValue = 123
}
}
},
WriteCapacityAutoScaling = new AutoScalingSettingProperty {
AutoScalingDisabled = false,
MaximumUnits = 123,
MinimumUnits = 123,
ScalingPolicy = new ScalingPolicyProperty {
TargetTrackingScalingPolicyConfiguration = new TargetTrackingScalingPolicyConfigurationProperty {
DisableScaleIn = false,
ScaleInCooldown = 123,
ScaleOutCooldown = 123,
TargetValue = 123
}
}
}
},
BillingMode = new BillingModeProperty {
Mode = "mode",
ProvisionedThroughput = new ProvisionedThroughputProperty {
ReadCapacityUnits = 123,
WriteCapacityUnits = 123
}
},
CdcSpecification = new CdcSpecificationProperty {
Status = "status",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
ViewType = "viewType"
},
ClientSideTimestampsEnabled = false,
ClusteringKeyColumns = new [] { new ClusteringKeyColumnProperty {
Column = new ColumnProperty {
ColumnName = "columnName",
ColumnType = "columnType"
},
OrderBy = "orderBy"
} },
DefaultTimeToLive = 123,
EncryptionSpecification = new EncryptionSpecificationProperty {
EncryptionType = "encryptionType",
KmsKeyIdentifier = "kmsKeyIdentifier"
},
KeyspaceName = "keyspaceName",
PartitionKeyColumns = new [] { new ColumnProperty {
ColumnName = "columnName",
ColumnType = "columnType"
} },
PointInTimeRecoveryEnabled = false,
RegularColumns = new [] { new ColumnProperty {
ColumnName = "columnName",
ColumnType = "columnType"
} },
ReplicaSpecifications = new [] { new ReplicaSpecificationProperty {
ReadCapacityAutoScaling = new AutoScalingSettingProperty {
AutoScalingDisabled = false,
MaximumUnits = 123,
MinimumUnits = 123,
ScalingPolicy = new ScalingPolicyProperty {
TargetTrackingScalingPolicyConfiguration = new TargetTrackingScalingPolicyConfigurationProperty {
DisableScaleIn = false,
ScaleInCooldown = 123,
ScaleOutCooldown = 123,
TargetValue = 123
}
}
},
ReadCapacityUnits = 123,
Region = "region"
} },
TableName = "tableName",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
WarmThroughput = new WarmThroughputProperty {
ReadUnitsPerSecond = 123,
WriteUnitsPerSecond = 123
}
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Strategy
You can use the AWS::Cassandra::Table resource to create a new table in Amazon Keyspaces (for Apache Cassandra).
protected virtual PropertyMergeStrategy Strategy { get; }
Property Value
Remarks
For more information, see Create a table in the Amazon Keyspaces Developer Guide .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cassandra-table.html
CloudformationResource: AWS::Cassandra::Table
Mixin: true
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.Mixins;
using Amazon.CDK.Mixins.Preview.AWS.Cassandra.Mixins;
var cfnTablePropsMixin = new CfnTablePropsMixin(new CfnTableMixinProps {
AutoScalingSpecifications = new AutoScalingSpecificationProperty {
ReadCapacityAutoScaling = new AutoScalingSettingProperty {
AutoScalingDisabled = false,
MaximumUnits = 123,
MinimumUnits = 123,
ScalingPolicy = new ScalingPolicyProperty {
TargetTrackingScalingPolicyConfiguration = new TargetTrackingScalingPolicyConfigurationProperty {
DisableScaleIn = false,
ScaleInCooldown = 123,
ScaleOutCooldown = 123,
TargetValue = 123
}
}
},
WriteCapacityAutoScaling = new AutoScalingSettingProperty {
AutoScalingDisabled = false,
MaximumUnits = 123,
MinimumUnits = 123,
ScalingPolicy = new ScalingPolicyProperty {
TargetTrackingScalingPolicyConfiguration = new TargetTrackingScalingPolicyConfigurationProperty {
DisableScaleIn = false,
ScaleInCooldown = 123,
ScaleOutCooldown = 123,
TargetValue = 123
}
}
}
},
BillingMode = new BillingModeProperty {
Mode = "mode",
ProvisionedThroughput = new ProvisionedThroughputProperty {
ReadCapacityUnits = 123,
WriteCapacityUnits = 123
}
},
CdcSpecification = new CdcSpecificationProperty {
Status = "status",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
ViewType = "viewType"
},
ClientSideTimestampsEnabled = false,
ClusteringKeyColumns = new [] { new ClusteringKeyColumnProperty {
Column = new ColumnProperty {
ColumnName = "columnName",
ColumnType = "columnType"
},
OrderBy = "orderBy"
} },
DefaultTimeToLive = 123,
EncryptionSpecification = new EncryptionSpecificationProperty {
EncryptionType = "encryptionType",
KmsKeyIdentifier = "kmsKeyIdentifier"
},
KeyspaceName = "keyspaceName",
PartitionKeyColumns = new [] { new ColumnProperty {
ColumnName = "columnName",
ColumnType = "columnType"
} },
PointInTimeRecoveryEnabled = false,
RegularColumns = new [] { new ColumnProperty {
ColumnName = "columnName",
ColumnType = "columnType"
} },
ReplicaSpecifications = new [] { new ReplicaSpecificationProperty {
ReadCapacityAutoScaling = new AutoScalingSettingProperty {
AutoScalingDisabled = false,
MaximumUnits = 123,
MinimumUnits = 123,
ScalingPolicy = new ScalingPolicyProperty {
TargetTrackingScalingPolicyConfiguration = new TargetTrackingScalingPolicyConfigurationProperty {
DisableScaleIn = false,
ScaleInCooldown = 123,
ScaleOutCooldown = 123,
TargetValue = 123
}
}
},
ReadCapacityUnits = 123,
Region = "region"
} },
TableName = "tableName",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
WarmThroughput = new WarmThroughputProperty {
ReadUnitsPerSecond = 123,
WriteUnitsPerSecond = 123
}
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Methods
ApplyTo(IConstruct)
Apply the mixin properties to the construct.
public override IConstruct ApplyTo(IConstruct construct)
Parameters
- construct IConstruct
Returns
IConstruct
Overrides
Remarks
For more information, see Create a table in the Amazon Keyspaces Developer Guide .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cassandra-table.html
CloudformationResource: AWS::Cassandra::Table
Mixin: true
ExampleMetadata: fixture=_generated
Supports(IConstruct)
Check if this mixin supports the given construct.
public override bool Supports(IConstruct construct)
Parameters
- construct IConstruct
Returns
Overrides
Remarks
For more information, see Create a table in the Amazon Keyspaces Developer Guide .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cassandra-table.html
CloudformationResource: AWS::Cassandra::Table
Mixin: true
ExampleMetadata: fixture=_generated