Class CfnTablePropsMixin
The CreateTable operation adds a new table to an existing database in your account.
Implements
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.Timestream
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnTablePropsMixin : Mixin, IMixin
Syntax (vb)
Public Class CfnTablePropsMixin Inherits Mixin Implements IMixin
Remarks
In an AWS account, table names must be at least unique within each Region if they are in the same database. You may have identical table names in the same Region if the tables are in separate databases. While creating the table, you must specify the table name, database name, and the retention properties. Service quotas apply . See code sample for details.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-timestream-table.html
CloudformationResource: AWS::Timestream::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.CfnPropertyMixins.AWS.Timestream;
using Amazon.CDK;
var magneticStoreWriteProperties;
IMergeStrategy mergeStrategy;
var retentionProperties;
var cfnTablePropsMixin = new CfnTablePropsMixin(new CfnTableMixinProps {
DatabaseName = "databaseName",
MagneticStoreWriteProperties = magneticStoreWriteProperties,
RetentionProperties = retentionProperties,
Schema = new SchemaProperty {
CompositePartitionKey = new [] { new PartitionKeyProperty {
EnforcementInRecord = "enforcementInRecord",
Name = "name",
Type = "type"
} }
},
TableName = "tableName",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Synopsis
Constructors
| CfnTablePropsMixin(ICfnTableMixinProps, ICfnPropertyMixinOptions?) | Create a mixin to apply properties to |
Properties
| CFN_PROPERTY_KEYS | The CreateTable operation adds a new table to an existing database in your account. |
| Props | The CreateTable operation adds a new table to an existing database in your account. |
| Strategy | The CreateTable operation adds a new table to an existing database in your account. |
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::Timestream::Table.
public CfnTablePropsMixin(ICfnTableMixinProps props, ICfnPropertyMixinOptions? options = null)
Parameters
- props ICfnTableMixinProps
L1 properties to apply.
- options ICfnPropertyMixinOptions
Mixin options.
Remarks
In an AWS account, table names must be at least unique within each Region if they are in the same database. You may have identical table names in the same Region if the tables are in separate databases. While creating the table, you must specify the table name, database name, and the retention properties. Service quotas apply . See code sample for details.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-timestream-table.html
CloudformationResource: AWS::Timestream::Table
Mixin: true
ExampleMetadata: fixture=_generated
Properties
CFN_PROPERTY_KEYS
The CreateTable operation adds a new table to an existing database in your account.
protected static string[] CFN_PROPERTY_KEYS { get; }
Property Value
string[]
Remarks
In an AWS account, table names must be at least unique within each Region if they are in the same database. You may have identical table names in the same Region if the tables are in separate databases. While creating the table, you must specify the table name, database name, and the retention properties. Service quotas apply . See code sample for details.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-timestream-table.html
CloudformationResource: AWS::Timestream::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.CfnPropertyMixins.AWS.Timestream;
using Amazon.CDK;
var magneticStoreWriteProperties;
IMergeStrategy mergeStrategy;
var retentionProperties;
var cfnTablePropsMixin = new CfnTablePropsMixin(new CfnTableMixinProps {
DatabaseName = "databaseName",
MagneticStoreWriteProperties = magneticStoreWriteProperties,
RetentionProperties = retentionProperties,
Schema = new SchemaProperty {
CompositePartitionKey = new [] { new PartitionKeyProperty {
EnforcementInRecord = "enforcementInRecord",
Name = "name",
Type = "type"
} }
},
TableName = "tableName",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Props
The CreateTable operation adds a new table to an existing database in your account.
protected virtual ICfnTableMixinProps Props { get; }
Property Value
Remarks
In an AWS account, table names must be at least unique within each Region if they are in the same database. You may have identical table names in the same Region if the tables are in separate databases. While creating the table, you must specify the table name, database name, and the retention properties. Service quotas apply . See code sample for details.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-timestream-table.html
CloudformationResource: AWS::Timestream::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.CfnPropertyMixins.AWS.Timestream;
using Amazon.CDK;
var magneticStoreWriteProperties;
IMergeStrategy mergeStrategy;
var retentionProperties;
var cfnTablePropsMixin = new CfnTablePropsMixin(new CfnTableMixinProps {
DatabaseName = "databaseName",
MagneticStoreWriteProperties = magneticStoreWriteProperties,
RetentionProperties = retentionProperties,
Schema = new SchemaProperty {
CompositePartitionKey = new [] { new PartitionKeyProperty {
EnforcementInRecord = "enforcementInRecord",
Name = "name",
Type = "type"
} }
},
TableName = "tableName",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Strategy
The CreateTable operation adds a new table to an existing database in your account.
protected virtual IMergeStrategy Strategy { get; }
Property Value
Remarks
In an AWS account, table names must be at least unique within each Region if they are in the same database. You may have identical table names in the same Region if the tables are in separate databases. While creating the table, you must specify the table name, database name, and the retention properties. Service quotas apply . See code sample for details.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-timestream-table.html
CloudformationResource: AWS::Timestream::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.CfnPropertyMixins.AWS.Timestream;
using Amazon.CDK;
var magneticStoreWriteProperties;
IMergeStrategy mergeStrategy;
var retentionProperties;
var cfnTablePropsMixin = new CfnTablePropsMixin(new CfnTableMixinProps {
DatabaseName = "databaseName",
MagneticStoreWriteProperties = magneticStoreWriteProperties,
RetentionProperties = retentionProperties,
Schema = new SchemaProperty {
CompositePartitionKey = new [] { new PartitionKeyProperty {
EnforcementInRecord = "enforcementInRecord",
Name = "name",
Type = "type"
} }
},
TableName = "tableName",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Methods
ApplyTo(IConstruct)
Apply the mixin properties to the construct.
public override void ApplyTo(IConstruct construct)
Parameters
- construct IConstruct
Overrides
Remarks
In an AWS account, table names must be at least unique within each Region if they are in the same database. You may have identical table names in the same Region if the tables are in separate databases. While creating the table, you must specify the table name, database name, and the retention properties. Service quotas apply . See code sample for details.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-timestream-table.html
CloudformationResource: AWS::Timestream::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
In an AWS account, table names must be at least unique within each Region if they are in the same database. You may have identical table names in the same Region if the tables are in separate databases. While creating the table, you must specify the table name, database name, and the retention properties. Service quotas apply . See code sample for details.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-timestream-table.html
CloudformationResource: AWS::Timestream::Table
Mixin: true
ExampleMetadata: fixture=_generated