Documentation ¶
Index ¶
- func CfnGlobalTable_CFN_RESOURCE_TYPE_NAME() *string
- func CfnGlobalTable_IsCfnElement(x interface{}) *bool
- func CfnGlobalTable_IsCfnResource(construct constructs.IConstruct) *bool
- func CfnGlobalTable_IsConstruct(x interface{}) *bool
- func CfnTable_CFN_RESOURCE_TYPE_NAME() *string
- func CfnTable_IsCfnElement(x interface{}) *bool
- func CfnTable_IsCfnResource(construct constructs.IConstruct) *bool
- func CfnTable_IsConstruct(x interface{}) *bool
- func NewCfnGlobalTable_Override(c CfnGlobalTable, scope constructs.Construct, id *string, ...)
- func NewCfnTable_Override(c CfnTable, scope constructs.Construct, id *string, props *CfnTableProps)
- func NewTable_Override(t Table, scope constructs.Construct, id *string, props *TableProps)
- func Table_IsConstruct(x interface{}) *bool
- func Table_IsResource(construct constructs.IConstruct) *bool
- type Attribute
- type AttributeType
- type BillingMode
- type CfnGlobalTable
- type CfnGlobalTableProps
- type CfnGlobalTable_AttributeDefinitionProperty
- type CfnGlobalTable_CapacityAutoScalingSettingsProperty
- type CfnGlobalTable_ContributorInsightsSpecificationProperty
- type CfnGlobalTable_GlobalSecondaryIndexProperty
- type CfnGlobalTable_KeySchemaProperty
- type CfnGlobalTable_LocalSecondaryIndexProperty
- type CfnGlobalTable_PointInTimeRecoverySpecificationProperty
- type CfnGlobalTable_ProjectionProperty
- type CfnGlobalTable_ReadProvisionedThroughputSettingsProperty
- type CfnGlobalTable_ReplicaGlobalSecondaryIndexSpecificationProperty
- type CfnGlobalTable_ReplicaSSESpecificationProperty
- type CfnGlobalTable_ReplicaSpecificationProperty
- type CfnGlobalTable_SSESpecificationProperty
- type CfnGlobalTable_StreamSpecificationProperty
- type CfnGlobalTable_TargetTrackingScalingPolicyConfigurationProperty
- type CfnGlobalTable_TimeToLiveSpecificationProperty
- type CfnGlobalTable_WriteProvisionedThroughputSettingsProperty
- type CfnTable
- type CfnTableProps
- type CfnTable_AttributeDefinitionProperty
- type CfnTable_ContributorInsightsSpecificationProperty
- type CfnTable_GlobalSecondaryIndexProperty
- type CfnTable_KeySchemaProperty
- type CfnTable_KinesisStreamSpecificationProperty
- type CfnTable_LocalSecondaryIndexProperty
- type CfnTable_PointInTimeRecoverySpecificationProperty
- type CfnTable_ProjectionProperty
- type CfnTable_ProvisionedThroughputProperty
- type CfnTable_SSESpecificationProperty
- type CfnTable_StreamSpecificationProperty
- type CfnTable_TimeToLiveSpecificationProperty
- type EnableScalingProps
- type GlobalSecondaryIndexProps
- type IScalableTableAttribute
- type ITable
- type LocalSecondaryIndexProps
- type Operation
- type ProjectionType
- type SchemaOptions
- type SecondaryIndexProps
- type StreamViewType
- type SystemErrorsForOperationsMetricOptions
- type Table
- type TableAttributes
- type TableEncryption
- type TableOptions
- type TableProps
- type UtilizationScalingProps
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CfnGlobalTable_CFN_RESOURCE_TYPE_NAME ¶
func CfnGlobalTable_CFN_RESOURCE_TYPE_NAME() *string
func CfnGlobalTable_IsCfnElement ¶
func CfnGlobalTable_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func CfnGlobalTable_IsCfnResource ¶
func CfnGlobalTable_IsCfnResource(construct constructs.IConstruct) *bool
Check whether the given construct is a CfnResource.
func CfnGlobalTable_IsConstruct ¶
func CfnGlobalTable_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Returns: true if `x` is an object created from a class which extends `Construct`. Deprecated: use `x instanceof Construct` instead
func CfnTable_CFN_RESOURCE_TYPE_NAME ¶
func CfnTable_CFN_RESOURCE_TYPE_NAME() *string
func CfnTable_IsCfnElement ¶
func CfnTable_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func CfnTable_IsCfnResource ¶
func CfnTable_IsCfnResource(construct constructs.IConstruct) *bool
Check whether the given construct is a CfnResource.
func CfnTable_IsConstruct ¶
func CfnTable_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Returns: true if `x` is an object created from a class which extends `Construct`. Deprecated: use `x instanceof Construct` instead
func NewCfnGlobalTable_Override ¶
func NewCfnGlobalTable_Override(c CfnGlobalTable, scope constructs.Construct, id *string, props *CfnGlobalTableProps)
Create a new `AWS::DynamoDB::GlobalTable`.
func NewCfnTable_Override ¶
func NewCfnTable_Override(c CfnTable, scope constructs.Construct, id *string, props *CfnTableProps)
Create a new `AWS::DynamoDB::Table`.
func NewTable_Override ¶
func NewTable_Override(t Table, scope constructs.Construct, id *string, props *TableProps)
func Table_IsConstruct ¶
func Table_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Returns: true if `x` is an object created from a class which extends `Construct`. Deprecated: use `x instanceof Construct` instead
func Table_IsResource ¶
func Table_IsResource(construct constructs.IConstruct) *bool
Check whether the given construct is a Resource.
Types ¶
type Attribute ¶
type Attribute struct { // The name of an attribute. Name *string `json:"name"` // The data type of an attribute. Type AttributeType `json:"type"` }
Represents an attribute for describing the key schema for the table and indexes.
TODO: EXAMPLE
type AttributeType ¶
type AttributeType string
Data types for attributes within a table.
TODO: EXAMPLE
const ( AttributeType_BINARY AttributeType = "BINARY" AttributeType_NUMBER AttributeType = "NUMBER" AttributeType_STRING AttributeType = "STRING" )
type BillingMode ¶
type BillingMode string
DynamoDB's Read/Write capacity modes.
TODO: EXAMPLE
const ( BillingMode_PAY_PER_REQUEST BillingMode = "PAY_PER_REQUEST" BillingMode_PROVISIONED BillingMode = "PROVISIONED" )
type CfnGlobalTable ¶
type CfnGlobalTable interface { awscdk.CfnResource awscdk.IInspectable AttrArn() *string AttributeDefinitions() interface{} SetAttributeDefinitions(val interface{}) AttrStreamArn() *string AttrTableId() *string BillingMode() *string SetBillingMode(val *string) CfnOptions() awscdk.ICfnResourceOptions CfnProperties() *map[string]interface{} CfnResourceType() *string CreationStack() *[]*string GlobalSecondaryIndexes() interface{} SetGlobalSecondaryIndexes(val interface{}) KeySchema() interface{} SetKeySchema(val interface{}) LocalSecondaryIndexes() interface{} SetLocalSecondaryIndexes(val interface{}) LogicalId() *string Node() constructs.Node Ref() *string Replicas() interface{} SetReplicas(val interface{}) SseSpecification() interface{} SetSseSpecification(val interface{}) Stack() awscdk.Stack StreamSpecification() interface{} SetStreamSpecification(val interface{}) TableName() *string SetTableName(val *string) TimeToLiveSpecification() interface{} SetTimeToLiveSpecification(val interface{}) UpdatedProperites() *map[string]interface{} WriteProvisionedThroughputSettings() interface{} SetWriteProvisionedThroughputSettings(val interface{}) AddDeletionOverride(path *string) AddDependsOn(target awscdk.CfnResource) AddMetadata(key *string, value interface{}) AddOverride(path *string, value interface{}) AddPropertyDeletionOverride(propertyPath *string) AddPropertyOverride(propertyPath *string, value interface{}) ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions) GetAtt(attributeName *string) awscdk.Reference GetMetadata(key *string) interface{} Inspect(inspector awscdk.TreeInspector) OverrideLogicalId(newLogicalId *string) RenderProperties(props *map[string]interface{}) *map[string]interface{} ShouldSynthesize() *bool ToString() *string ValidateProperties(_properties interface{}) }
A CloudFormation `AWS::DynamoDB::GlobalTable`.
TODO: EXAMPLE
func NewCfnGlobalTable ¶
func NewCfnGlobalTable(scope constructs.Construct, id *string, props *CfnGlobalTableProps) CfnGlobalTable
Create a new `AWS::DynamoDB::GlobalTable`.
type CfnGlobalTableProps ¶
type CfnGlobalTableProps struct { // `AWS::DynamoDB::GlobalTable.AttributeDefinitions`. AttributeDefinitions interface{} `json:"attributeDefinitions"` // `AWS::DynamoDB::GlobalTable.BillingMode`. BillingMode *string `json:"billingMode"` // `AWS::DynamoDB::GlobalTable.GlobalSecondaryIndexes`. GlobalSecondaryIndexes interface{} `json:"globalSecondaryIndexes"` // `AWS::DynamoDB::GlobalTable.KeySchema`. KeySchema interface{} `json:"keySchema"` // `AWS::DynamoDB::GlobalTable.LocalSecondaryIndexes`. LocalSecondaryIndexes interface{} `json:"localSecondaryIndexes"` // `AWS::DynamoDB::GlobalTable.Replicas`. Replicas interface{} `json:"replicas"` // `AWS::DynamoDB::GlobalTable.SSESpecification`. SseSpecification interface{} `json:"sseSpecification"` // `AWS::DynamoDB::GlobalTable.StreamSpecification`. StreamSpecification interface{} `json:"streamSpecification"` // `AWS::DynamoDB::GlobalTable.TableName`. TableName *string `json:"tableName"` // `AWS::DynamoDB::GlobalTable.TimeToLiveSpecification`. TimeToLiveSpecification interface{} `json:"timeToLiveSpecification"` // `AWS::DynamoDB::GlobalTable.WriteProvisionedThroughputSettings`. WriteProvisionedThroughputSettings interface{} `json:"writeProvisionedThroughputSettings"` }
Properties for defining a `AWS::DynamoDB::GlobalTable`.
TODO: EXAMPLE
type CfnGlobalTable_AttributeDefinitionProperty ¶
type CfnGlobalTable_AttributeDefinitionProperty struct { // `CfnGlobalTable.AttributeDefinitionProperty.AttributeName`. AttributeName *string `json:"attributeName"` // `CfnGlobalTable.AttributeDefinitionProperty.AttributeType`. AttributeType *string `json:"attributeType"` }
TODO: EXAMPLE
type CfnGlobalTable_CapacityAutoScalingSettingsProperty ¶
type CfnGlobalTable_CapacityAutoScalingSettingsProperty struct { // `CfnGlobalTable.CapacityAutoScalingSettingsProperty.MaxCapacity`. MaxCapacity *float64 `json:"maxCapacity"` // `CfnGlobalTable.CapacityAutoScalingSettingsProperty.MinCapacity`. MinCapacity *float64 `json:"minCapacity"` // `CfnGlobalTable.CapacityAutoScalingSettingsProperty.SeedCapacity`. SeedCapacity *float64 `json:"seedCapacity"` // `CfnGlobalTable.CapacityAutoScalingSettingsProperty.TargetTrackingScalingPolicyConfiguration`. TargetTrackingScalingPolicyConfiguration interface{} `json:"targetTrackingScalingPolicyConfiguration"` }
TODO: EXAMPLE
type CfnGlobalTable_ContributorInsightsSpecificationProperty ¶
type CfnGlobalTable_ContributorInsightsSpecificationProperty struct {
// `CfnGlobalTable.ContributorInsightsSpecificationProperty.Enabled`.
Enabled interface{} `json:"enabled"`
}
TODO: EXAMPLE
type CfnGlobalTable_GlobalSecondaryIndexProperty ¶
type CfnGlobalTable_GlobalSecondaryIndexProperty struct { // `CfnGlobalTable.GlobalSecondaryIndexProperty.IndexName`. IndexName *string `json:"indexName"` // `CfnGlobalTable.GlobalSecondaryIndexProperty.KeySchema`. KeySchema interface{} `json:"keySchema"` // `CfnGlobalTable.GlobalSecondaryIndexProperty.Projection`. Projection interface{} `json:"projection"` // `CfnGlobalTable.GlobalSecondaryIndexProperty.WriteProvisionedThroughputSettings`. WriteProvisionedThroughputSettings interface{} `json:"writeProvisionedThroughputSettings"` }
TODO: EXAMPLE
type CfnGlobalTable_KeySchemaProperty ¶
type CfnGlobalTable_KeySchemaProperty struct { // `CfnGlobalTable.KeySchemaProperty.AttributeName`. AttributeName *string `json:"attributeName"` // `CfnGlobalTable.KeySchemaProperty.KeyType`. KeyType *string `json:"keyType"` }
TODO: EXAMPLE
type CfnGlobalTable_LocalSecondaryIndexProperty ¶
type CfnGlobalTable_LocalSecondaryIndexProperty struct { // `CfnGlobalTable.LocalSecondaryIndexProperty.IndexName`. IndexName *string `json:"indexName"` // `CfnGlobalTable.LocalSecondaryIndexProperty.KeySchema`. KeySchema interface{} `json:"keySchema"` // `CfnGlobalTable.LocalSecondaryIndexProperty.Projection`. Projection interface{} `json:"projection"` }
TODO: EXAMPLE
type CfnGlobalTable_PointInTimeRecoverySpecificationProperty ¶
type CfnGlobalTable_PointInTimeRecoverySpecificationProperty struct {
// `CfnGlobalTable.PointInTimeRecoverySpecificationProperty.PointInTimeRecoveryEnabled`.
PointInTimeRecoveryEnabled interface{} `json:"pointInTimeRecoveryEnabled"`
}
TODO: EXAMPLE
type CfnGlobalTable_ProjectionProperty ¶
type CfnGlobalTable_ProjectionProperty struct { // `CfnGlobalTable.ProjectionProperty.NonKeyAttributes`. NonKeyAttributes *[]*string `json:"nonKeyAttributes"` // `CfnGlobalTable.ProjectionProperty.ProjectionType`. ProjectionType *string `json:"projectionType"` }
TODO: EXAMPLE
type CfnGlobalTable_ReadProvisionedThroughputSettingsProperty ¶
type CfnGlobalTable_ReadProvisionedThroughputSettingsProperty struct { // `CfnGlobalTable.ReadProvisionedThroughputSettingsProperty.ReadCapacityAutoScalingSettings`. ReadCapacityAutoScalingSettings interface{} `json:"readCapacityAutoScalingSettings"` // `CfnGlobalTable.ReadProvisionedThroughputSettingsProperty.ReadCapacityUnits`. ReadCapacityUnits *float64 `json:"readCapacityUnits"` }
TODO: EXAMPLE
type CfnGlobalTable_ReplicaGlobalSecondaryIndexSpecificationProperty ¶
type CfnGlobalTable_ReplicaGlobalSecondaryIndexSpecificationProperty struct { // `CfnGlobalTable.ReplicaGlobalSecondaryIndexSpecificationProperty.ContributorInsightsSpecification`. ContributorInsightsSpecification interface{} `json:"contributorInsightsSpecification"` // `CfnGlobalTable.ReplicaGlobalSecondaryIndexSpecificationProperty.IndexName`. IndexName *string `json:"indexName"` // `CfnGlobalTable.ReplicaGlobalSecondaryIndexSpecificationProperty.ReadProvisionedThroughputSettings`. ReadProvisionedThroughputSettings interface{} `json:"readProvisionedThroughputSettings"` }
TODO: EXAMPLE
type CfnGlobalTable_ReplicaSSESpecificationProperty ¶
type CfnGlobalTable_ReplicaSSESpecificationProperty struct { // `CfnGlobalTable.ReplicaSSESpecificationProperty.KMSMasterKeyId`. KmsMasterKeyId *string `json:"kmsMasterKeyId"` }
TODO: EXAMPLE
type CfnGlobalTable_ReplicaSpecificationProperty ¶
type CfnGlobalTable_ReplicaSpecificationProperty struct { // `CfnGlobalTable.ReplicaSpecificationProperty.ContributorInsightsSpecification`. ContributorInsightsSpecification interface{} `json:"contributorInsightsSpecification"` // `CfnGlobalTable.ReplicaSpecificationProperty.GlobalSecondaryIndexes`. GlobalSecondaryIndexes interface{} `json:"globalSecondaryIndexes"` // `CfnGlobalTable.ReplicaSpecificationProperty.PointInTimeRecoverySpecification`. PointInTimeRecoverySpecification interface{} `json:"pointInTimeRecoverySpecification"` // `CfnGlobalTable.ReplicaSpecificationProperty.ReadProvisionedThroughputSettings`. ReadProvisionedThroughputSettings interface{} `json:"readProvisionedThroughputSettings"` // `CfnGlobalTable.ReplicaSpecificationProperty.Region`. Region *string `json:"region"` // `CfnGlobalTable.ReplicaSpecificationProperty.SSESpecification`. SseSpecification interface{} `json:"sseSpecification"` // `CfnGlobalTable.ReplicaSpecificationProperty.Tags`. Tags *[]*awscdk.CfnTag `json:"tags"` }
TODO: EXAMPLE
type CfnGlobalTable_SSESpecificationProperty ¶
type CfnGlobalTable_SSESpecificationProperty struct { // `CfnGlobalTable.SSESpecificationProperty.SSEEnabled`. SseEnabled interface{} `json:"sseEnabled"` // `CfnGlobalTable.SSESpecificationProperty.SSEType`. SseType *string `json:"sseType"` }
TODO: EXAMPLE
type CfnGlobalTable_StreamSpecificationProperty ¶
type CfnGlobalTable_StreamSpecificationProperty struct { // `CfnGlobalTable.StreamSpecificationProperty.StreamViewType`. StreamViewType *string `json:"streamViewType"` }
TODO: EXAMPLE
type CfnGlobalTable_TargetTrackingScalingPolicyConfigurationProperty ¶
type CfnGlobalTable_TargetTrackingScalingPolicyConfigurationProperty struct { // `CfnGlobalTable.TargetTrackingScalingPolicyConfigurationProperty.DisableScaleIn`. DisableScaleIn interface{} `json:"disableScaleIn"` // `CfnGlobalTable.TargetTrackingScalingPolicyConfigurationProperty.ScaleInCooldown`. ScaleInCooldown *float64 `json:"scaleInCooldown"` // `CfnGlobalTable.TargetTrackingScalingPolicyConfigurationProperty.ScaleOutCooldown`. ScaleOutCooldown *float64 `json:"scaleOutCooldown"` // `CfnGlobalTable.TargetTrackingScalingPolicyConfigurationProperty.TargetValue`. TargetValue *float64 `json:"targetValue"` }
TODO: EXAMPLE
type CfnGlobalTable_TimeToLiveSpecificationProperty ¶
type CfnGlobalTable_TimeToLiveSpecificationProperty struct { // `CfnGlobalTable.TimeToLiveSpecificationProperty.AttributeName`. AttributeName *string `json:"attributeName"` // `CfnGlobalTable.TimeToLiveSpecificationProperty.Enabled`. Enabled interface{} `json:"enabled"` }
TODO: EXAMPLE
type CfnGlobalTable_WriteProvisionedThroughputSettingsProperty ¶
type CfnGlobalTable_WriteProvisionedThroughputSettingsProperty struct {
// `CfnGlobalTable.WriteProvisionedThroughputSettingsProperty.WriteCapacityAutoScalingSettings`.
WriteCapacityAutoScalingSettings interface{} `json:"writeCapacityAutoScalingSettings"`
}
TODO: EXAMPLE
type CfnTable ¶
type CfnTable interface { awscdk.CfnResource awscdk.IInspectable AttrArn() *string AttributeDefinitions() interface{} SetAttributeDefinitions(val interface{}) AttrStreamArn() *string BillingMode() *string SetBillingMode(val *string) CfnOptions() awscdk.ICfnResourceOptions CfnProperties() *map[string]interface{} CfnResourceType() *string ContributorInsightsSpecification() interface{} SetContributorInsightsSpecification(val interface{}) CreationStack() *[]*string GlobalSecondaryIndexes() interface{} SetGlobalSecondaryIndexes(val interface{}) KeySchema() interface{} SetKeySchema(val interface{}) KinesisStreamSpecification() interface{} SetKinesisStreamSpecification(val interface{}) LocalSecondaryIndexes() interface{} SetLocalSecondaryIndexes(val interface{}) LogicalId() *string Node() constructs.Node PointInTimeRecoverySpecification() interface{} SetPointInTimeRecoverySpecification(val interface{}) ProvisionedThroughput() interface{} SetProvisionedThroughput(val interface{}) Ref() *string SseSpecification() interface{} SetSseSpecification(val interface{}) Stack() awscdk.Stack StreamSpecification() interface{} SetStreamSpecification(val interface{}) TableClass() *string SetTableClass(val *string) TableName() *string SetTableName(val *string) Tags() awscdk.TagManager TimeToLiveSpecification() interface{} SetTimeToLiveSpecification(val interface{}) UpdatedProperites() *map[string]interface{} AddDeletionOverride(path *string) AddDependsOn(target awscdk.CfnResource) AddMetadata(key *string, value interface{}) AddOverride(path *string, value interface{}) AddPropertyDeletionOverride(propertyPath *string) AddPropertyOverride(propertyPath *string, value interface{}) ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions) GetAtt(attributeName *string) awscdk.Reference GetMetadata(key *string) interface{} Inspect(inspector awscdk.TreeInspector) OverrideLogicalId(newLogicalId *string) RenderProperties(props *map[string]interface{}) *map[string]interface{} ShouldSynthesize() *bool ToString() *string ValidateProperties(_properties interface{}) }
A CloudFormation `AWS::DynamoDB::Table`.
TODO: EXAMPLE
func NewCfnTable ¶
func NewCfnTable(scope constructs.Construct, id *string, props *CfnTableProps) CfnTable
Create a new `AWS::DynamoDB::Table`.
type CfnTableProps ¶
type CfnTableProps struct { // `AWS::DynamoDB::Table.AttributeDefinitions`. AttributeDefinitions interface{} `json:"attributeDefinitions"` // `AWS::DynamoDB::Table.BillingMode`. BillingMode *string `json:"billingMode"` // `AWS::DynamoDB::Table.ContributorInsightsSpecification`. ContributorInsightsSpecification interface{} `json:"contributorInsightsSpecification"` // `AWS::DynamoDB::Table.GlobalSecondaryIndexes`. GlobalSecondaryIndexes interface{} `json:"globalSecondaryIndexes"` // `AWS::DynamoDB::Table.KeySchema`. KeySchema interface{} `json:"keySchema"` // `AWS::DynamoDB::Table.KinesisStreamSpecification`. KinesisStreamSpecification interface{} `json:"kinesisStreamSpecification"` // `AWS::DynamoDB::Table.LocalSecondaryIndexes`. LocalSecondaryIndexes interface{} `json:"localSecondaryIndexes"` // `AWS::DynamoDB::Table.PointInTimeRecoverySpecification`. PointInTimeRecoverySpecification interface{} `json:"pointInTimeRecoverySpecification"` // `AWS::DynamoDB::Table.ProvisionedThroughput`. ProvisionedThroughput interface{} `json:"provisionedThroughput"` // `AWS::DynamoDB::Table.SSESpecification`. SseSpecification interface{} `json:"sseSpecification"` // `AWS::DynamoDB::Table.StreamSpecification`. StreamSpecification interface{} `json:"streamSpecification"` // `AWS::DynamoDB::Table.TableClass`. TableClass *string `json:"tableClass"` // `AWS::DynamoDB::Table.TableName`. TableName *string `json:"tableName"` // `AWS::DynamoDB::Table.Tags`. Tags *[]*awscdk.CfnTag `json:"tags"` // `AWS::DynamoDB::Table.TimeToLiveSpecification`. TimeToLiveSpecification interface{} `json:"timeToLiveSpecification"` }
Properties for defining a `AWS::DynamoDB::Table`.
TODO: EXAMPLE
type CfnTable_AttributeDefinitionProperty ¶
type CfnTable_AttributeDefinitionProperty struct { // `CfnTable.AttributeDefinitionProperty.AttributeName`. AttributeName *string `json:"attributeName"` // `CfnTable.AttributeDefinitionProperty.AttributeType`. AttributeType *string `json:"attributeType"` }
TODO: EXAMPLE
type CfnTable_ContributorInsightsSpecificationProperty ¶
type CfnTable_ContributorInsightsSpecificationProperty struct {
// `CfnTable.ContributorInsightsSpecificationProperty.Enabled`.
Enabled interface{} `json:"enabled"`
}
TODO: EXAMPLE
type CfnTable_GlobalSecondaryIndexProperty ¶
type CfnTable_GlobalSecondaryIndexProperty struct { // `CfnTable.GlobalSecondaryIndexProperty.ContributorInsightsSpecification`. ContributorInsightsSpecification interface{} `json:"contributorInsightsSpecification"` // `CfnTable.GlobalSecondaryIndexProperty.IndexName`. IndexName *string `json:"indexName"` // `CfnTable.GlobalSecondaryIndexProperty.KeySchema`. KeySchema interface{} `json:"keySchema"` // `CfnTable.GlobalSecondaryIndexProperty.Projection`. Projection interface{} `json:"projection"` // `CfnTable.GlobalSecondaryIndexProperty.ProvisionedThroughput`. ProvisionedThroughput interface{} `json:"provisionedThroughput"` }
TODO: EXAMPLE
type CfnTable_KeySchemaProperty ¶
type CfnTable_KeySchemaProperty struct { // `CfnTable.KeySchemaProperty.AttributeName`. AttributeName *string `json:"attributeName"` // `CfnTable.KeySchemaProperty.KeyType`. KeyType *string `json:"keyType"` }
TODO: EXAMPLE
type CfnTable_KinesisStreamSpecificationProperty ¶
type CfnTable_KinesisStreamSpecificationProperty struct { // `CfnTable.KinesisStreamSpecificationProperty.StreamArn`. StreamArn *string `json:"streamArn"` }
TODO: EXAMPLE
type CfnTable_LocalSecondaryIndexProperty ¶
type CfnTable_LocalSecondaryIndexProperty struct { // `CfnTable.LocalSecondaryIndexProperty.IndexName`. IndexName *string `json:"indexName"` // `CfnTable.LocalSecondaryIndexProperty.KeySchema`. KeySchema interface{} `json:"keySchema"` // `CfnTable.LocalSecondaryIndexProperty.Projection`. Projection interface{} `json:"projection"` }
TODO: EXAMPLE
type CfnTable_PointInTimeRecoverySpecificationProperty ¶
type CfnTable_PointInTimeRecoverySpecificationProperty struct {
// `CfnTable.PointInTimeRecoverySpecificationProperty.PointInTimeRecoveryEnabled`.
PointInTimeRecoveryEnabled interface{} `json:"pointInTimeRecoveryEnabled"`
}
TODO: EXAMPLE
type CfnTable_ProjectionProperty ¶
type CfnTable_ProjectionProperty struct { // `CfnTable.ProjectionProperty.NonKeyAttributes`. NonKeyAttributes *[]*string `json:"nonKeyAttributes"` // `CfnTable.ProjectionProperty.ProjectionType`. ProjectionType *string `json:"projectionType"` }
TODO: EXAMPLE
type CfnTable_ProvisionedThroughputProperty ¶
type CfnTable_ProvisionedThroughputProperty struct { // `CfnTable.ProvisionedThroughputProperty.ReadCapacityUnits`. ReadCapacityUnits *float64 `json:"readCapacityUnits"` // `CfnTable.ProvisionedThroughputProperty.WriteCapacityUnits`. WriteCapacityUnits *float64 `json:"writeCapacityUnits"` }
TODO: EXAMPLE
type CfnTable_SSESpecificationProperty ¶
type CfnTable_SSESpecificationProperty struct { // `CfnTable.SSESpecificationProperty.KMSMasterKeyId`. KmsMasterKeyId *string `json:"kmsMasterKeyId"` // `CfnTable.SSESpecificationProperty.SSEEnabled`. SseEnabled interface{} `json:"sseEnabled"` // `CfnTable.SSESpecificationProperty.SSEType`. SseType *string `json:"sseType"` }
TODO: EXAMPLE
type CfnTable_StreamSpecificationProperty ¶
type CfnTable_StreamSpecificationProperty struct { // `CfnTable.StreamSpecificationProperty.StreamViewType`. StreamViewType *string `json:"streamViewType"` }
TODO: EXAMPLE
type CfnTable_TimeToLiveSpecificationProperty ¶
type CfnTable_TimeToLiveSpecificationProperty struct { // `CfnTable.TimeToLiveSpecificationProperty.AttributeName`. AttributeName *string `json:"attributeName"` // `CfnTable.TimeToLiveSpecificationProperty.Enabled`. Enabled interface{} `json:"enabled"` }
TODO: EXAMPLE
type EnableScalingProps ¶
type EnableScalingProps struct { // Maximum capacity to scale to. MaxCapacity *float64 `json:"maxCapacity"` // Minimum capacity to scale to. MinCapacity *float64 `json:"minCapacity"` }
Properties for enabling DynamoDB capacity scaling.
TODO: EXAMPLE
type GlobalSecondaryIndexProps ¶
type GlobalSecondaryIndexProps struct { // The name of the secondary index. IndexName *string `json:"indexName"` // The non-key attributes that are projected into the secondary index. NonKeyAttributes *[]*string `json:"nonKeyAttributes"` // The set of attributes that are projected into the secondary index. ProjectionType ProjectionType `json:"projectionType"` // Partition key attribute definition. PartitionKey *Attribute `json:"partitionKey"` // Sort key attribute definition. SortKey *Attribute `json:"sortKey"` // The read capacity for the global secondary index. // // Can only be provided if table billingMode is Provisioned or undefined. ReadCapacity *float64 `json:"readCapacity"` // The write capacity for the global secondary index. // // Can only be provided if table billingMode is Provisioned or undefined. WriteCapacity *float64 `json:"writeCapacity"` }
Properties for a global secondary index.
TODO: EXAMPLE
type IScalableTableAttribute ¶
type IScalableTableAttribute interface { // Add scheduled scaling for this scaling attribute. ScaleOnSchedule(id *string, actions *awsapplicationautoscaling.ScalingSchedule) // Scale out or in to keep utilization at a given level. ScaleOnUtilization(props *UtilizationScalingProps) }
Interface for scalable attributes.
type ITable ¶
type ITable interface { awscdk.IResource // Adds an IAM policy statement associated with this table to an IAM principal's policy. // // If `encryptionKey` is present, appropriate grants to the key needs to be added // separately using the `table.encryptionKey.grant*` methods. Grant(grantee awsiam.IGrantable, actions ...*string) awsiam.Grant // Permits all DynamoDB operations ("dynamodb:*") to an IAM principal. // // Appropriate grants will also be added to the customer-managed KMS key // if one was configured. GrantFullAccess(grantee awsiam.IGrantable) awsiam.Grant // Permits an IAM principal all data read operations from this table: BatchGetItem, GetRecords, GetShardIterator, Query, GetItem, Scan. // // Appropriate grants will also be added to the customer-managed KMS key // if one was configured. GrantReadData(grantee awsiam.IGrantable) awsiam.Grant // Permits an IAM principal to all data read/write operations to this table. // // BatchGetItem, GetRecords, GetShardIterator, Query, GetItem, Scan, // BatchWriteItem, PutItem, UpdateItem, DeleteItem // // Appropriate grants will also be added to the customer-managed KMS key // if one was configured. GrantReadWriteData(grantee awsiam.IGrantable) awsiam.Grant // Adds an IAM policy statement associated with this table's stream to an IAM principal's policy. // // If `encryptionKey` is present, appropriate grants to the key needs to be added // separately using the `table.encryptionKey.grant*` methods. GrantStream(grantee awsiam.IGrantable, actions ...*string) awsiam.Grant // Permits an IAM principal all stream data read operations for this table's stream: DescribeStream, GetRecords, GetShardIterator, ListStreams. // // Appropriate grants will also be added to the customer-managed KMS key // if one was configured. GrantStreamRead(grantee awsiam.IGrantable) awsiam.Grant // Permits an IAM Principal to list streams attached to current dynamodb table. GrantTableListStreams(grantee awsiam.IGrantable) awsiam.Grant // Permits an IAM principal all data write operations to this table: BatchWriteItem, PutItem, UpdateItem, DeleteItem. // // Appropriate grants will also be added to the customer-managed KMS key // if one was configured. GrantWriteData(grantee awsiam.IGrantable) awsiam.Grant // Metric for the number of Errors executing all Lambdas. Metric(metricName *string, props *awscloudwatch.MetricOptions) awscloudwatch.Metric // Metric for the conditional check failed requests. MetricConditionalCheckFailedRequests(props *awscloudwatch.MetricOptions) awscloudwatch.Metric // Metric for the consumed read capacity units. MetricConsumedReadCapacityUnits(props *awscloudwatch.MetricOptions) awscloudwatch.Metric // Metric for the consumed write capacity units. MetricConsumedWriteCapacityUnits(props *awscloudwatch.MetricOptions) awscloudwatch.Metric // Metric for the successful request latency. MetricSuccessfulRequestLatency(props *awscloudwatch.MetricOptions) awscloudwatch.Metric // Metric for the system errors this table. MetricSystemErrorsForOperations(props *SystemErrorsForOperationsMetricOptions) awscloudwatch.IMetric // Metric for throttled requests. MetricThrottledRequests(props *awscloudwatch.MetricOptions) awscloudwatch.Metric // Metric for the user errors. MetricUserErrors(props *awscloudwatch.MetricOptions) awscloudwatch.Metric // Optional KMS encryption key associated with this table. EncryptionKey() awskms.IKey // Arn of the dynamodb table. TableArn() *string // Table name of the dynamodb table. TableName() *string // ARN of the table's stream, if there is one. TableStreamArn() *string }
An interface that represents a DynamoDB Table - either created with the CDK, or an existing one.
func Table_FromTableArn ¶
Creates a Table construct that represents an external table via table arn.
func Table_FromTableAttributes ¶
func Table_FromTableAttributes(scope constructs.Construct, id *string, attrs *TableAttributes) ITable
Creates a Table construct that represents an external table.
func Table_FromTableName ¶
Creates a Table construct that represents an external table via table name.
type LocalSecondaryIndexProps ¶
type LocalSecondaryIndexProps struct { // The name of the secondary index. IndexName *string `json:"indexName"` // The non-key attributes that are projected into the secondary index. NonKeyAttributes *[]*string `json:"nonKeyAttributes"` // The set of attributes that are projected into the secondary index. ProjectionType ProjectionType `json:"projectionType"` // The attribute of a sort key for the local secondary index. SortKey *Attribute `json:"sortKey"` }
Properties for a local secondary index.
TODO: EXAMPLE
type Operation ¶
type Operation string
Supported DynamoDB table operations.
const ( Operation_BATCH_EXECUTE_STATEMENT Operation = "BATCH_EXECUTE_STATEMENT" Operation_BATCH_GET_ITEM Operation = "BATCH_GET_ITEM" Operation_BATCH_WRITE_ITEM Operation = "BATCH_WRITE_ITEM" Operation_DELETE_ITEM Operation = "DELETE_ITEM" Operation_EXECUTE_STATEMENT Operation = "EXECUTE_STATEMENT" Operation_EXECUTE_TRANSACTION Operation = "EXECUTE_TRANSACTION" Operation_GET_ITEM Operation = "GET_ITEM" Operation_GET_RECORDS Operation = "GET_RECORDS" Operation_PUT_ITEM Operation = "PUT_ITEM" Operation_QUERY Operation = "QUERY" Operation_SCAN Operation = "SCAN" Operation_TRANSACT_GET_ITEMS Operation = "TRANSACT_GET_ITEMS" Operation_TRANSACT_WRITE_ITEMS Operation = "TRANSACT_WRITE_ITEMS" Operation_UPDATE_ITEM Operation = "UPDATE_ITEM" )
type ProjectionType ¶
type ProjectionType string
The set of attributes that are projected into the index. See: https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_Projection.html
const ( ProjectionType_ALL ProjectionType = "ALL" ProjectionType_INCLUDE ProjectionType = "INCLUDE" ProjectionType_KEYS_ONLY ProjectionType = "KEYS_ONLY" )
type SchemaOptions ¶
type SchemaOptions struct { // Partition key attribute definition. PartitionKey *Attribute `json:"partitionKey"` // Sort key attribute definition. SortKey *Attribute `json:"sortKey"` }
Represents the table schema attributes.
TODO: EXAMPLE
type SecondaryIndexProps ¶
type SecondaryIndexProps struct { // The name of the secondary index. IndexName *string `json:"indexName"` // The non-key attributes that are projected into the secondary index. NonKeyAttributes *[]*string `json:"nonKeyAttributes"` // The set of attributes that are projected into the secondary index. ProjectionType ProjectionType `json:"projectionType"` }
Properties for a secondary index.
TODO: EXAMPLE
type StreamViewType ¶
type StreamViewType string
When an item in the table is modified, StreamViewType determines what information is written to the stream for this table. See: https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_StreamSpecification.html
const ( StreamViewType_KEYS_ONLY StreamViewType = "KEYS_ONLY" StreamViewType_NEW_AND_OLD_IMAGES StreamViewType = "NEW_AND_OLD_IMAGES" StreamViewType_NEW_IMAGE StreamViewType = "NEW_IMAGE" StreamViewType_OLD_IMAGE StreamViewType = "OLD_IMAGE" )
type SystemErrorsForOperationsMetricOptions ¶
type SystemErrorsForOperationsMetricOptions struct { // Account which this metric comes from. Account *string `json:"account"` // The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The `Color` class has a set of standard colors that can be used here. Color *string `json:"color"` // Dimensions of the metric. DimensionsMap *map[string]*string `json:"dimensionsMap"` // Label for this metric when added to a Graph in a Dashboard. Label *string `json:"label"` // The period over which the specified statistic is applied. Period awscdk.Duration `json:"period"` // Region which this metric comes from. Region *string `json:"region"` // What function to use for aggregating. // // Can be one of the following: // // - "Minimum" | "min" // - "Maximum" | "max" // - "Average" | "avg" // - "Sum" | "sum" // - "SampleCount | "n" // - "pNN.NN" Statistic *string `json:"statistic"` // Unit used to filter the metric stream. // // Only refer to datums emitted to the metric stream with the given unit and // ignore all others. Only useful when datums are being emitted to the same // metric stream under different units. // // The default is to use all matric datums in the stream, regardless of unit, // which is recommended in nearly all cases. // // CloudWatch does not honor this property for graphs. Unit awscloudwatch.Unit `json:"unit"` // The operations to apply the metric to. Operations *[]Operation `json:"operations"` }
Options for configuring a system errors metric that considers multiple operations.
TODO: EXAMPLE
type Table ¶
type Table interface { awscdk.Resource ITable EncryptionKey() awskms.IKey Env() *awscdk.ResourceEnvironment HasIndex() *bool Node() constructs.Node PhysicalName() *string RegionalArns() *[]*string Stack() awscdk.Stack TableArn() *string TableName() *string TableStreamArn() *string AddGlobalSecondaryIndex(props *GlobalSecondaryIndexProps) AddLocalSecondaryIndex(props *LocalSecondaryIndexProps) ApplyRemovalPolicy(policy awscdk.RemovalPolicy) AutoScaleGlobalSecondaryIndexReadCapacity(indexName *string, props *EnableScalingProps) IScalableTableAttribute AutoScaleGlobalSecondaryIndexWriteCapacity(indexName *string, props *EnableScalingProps) IScalableTableAttribute AutoScaleReadCapacity(props *EnableScalingProps) IScalableTableAttribute AutoScaleWriteCapacity(props *EnableScalingProps) IScalableTableAttribute GeneratePhysicalName() *string GetResourceArnAttribute(arnAttr *string, arnComponents *awscdk.ArnComponents) *string GetResourceNameAttribute(nameAttr *string) *string Grant(grantee awsiam.IGrantable, actions ...*string) awsiam.Grant GrantFullAccess(grantee awsiam.IGrantable) awsiam.Grant GrantReadData(grantee awsiam.IGrantable) awsiam.Grant GrantReadWriteData(grantee awsiam.IGrantable) awsiam.Grant GrantStream(grantee awsiam.IGrantable, actions ...*string) awsiam.Grant GrantStreamRead(grantee awsiam.IGrantable) awsiam.Grant GrantTableListStreams(grantee awsiam.IGrantable) awsiam.Grant GrantWriteData(grantee awsiam.IGrantable) awsiam.Grant Metric(metricName *string, props *awscloudwatch.MetricOptions) awscloudwatch.Metric MetricConditionalCheckFailedRequests(props *awscloudwatch.MetricOptions) awscloudwatch.Metric MetricConsumedReadCapacityUnits(props *awscloudwatch.MetricOptions) awscloudwatch.Metric MetricConsumedWriteCapacityUnits(props *awscloudwatch.MetricOptions) awscloudwatch.Metric MetricSuccessfulRequestLatency(props *awscloudwatch.MetricOptions) awscloudwatch.Metric MetricSystemErrorsForOperations(props *SystemErrorsForOperationsMetricOptions) awscloudwatch.IMetric MetricThrottledRequests(props *awscloudwatch.MetricOptions) awscloudwatch.Metric MetricUserErrors(props *awscloudwatch.MetricOptions) awscloudwatch.Metric Schema(indexName *string) *SchemaOptions ToString() *string }
Provides a DynamoDB table.
TODO: EXAMPLE
func NewTable ¶
func NewTable(scope constructs.Construct, id *string, props *TableProps) Table
type TableAttributes ¶
type TableAttributes struct { // KMS encryption key, if this table uses a customer-managed encryption key. EncryptionKey awskms.IKey `json:"encryptionKey"` // The name of the global indexes set for this Table. // // Note that you need to set either this property, // or {@link localIndexes}, // if you want methods like grantReadData() // to grant permissions for indexes as well as the table itself. GlobalIndexes *[]*string `json:"globalIndexes"` // The name of the local indexes set for this Table. // // Note that you need to set either this property, // or {@link globalIndexes}, // if you want methods like grantReadData() // to grant permissions for indexes as well as the table itself. LocalIndexes *[]*string `json:"localIndexes"` // The ARN of the dynamodb table. // // One of this, or {@link tableName}, is required. TableArn *string `json:"tableArn"` // The table name of the dynamodb table. // // One of this, or {@link tableArn}, is required. TableName *string `json:"tableName"` // The ARN of the table's stream. TableStreamArn *string `json:"tableStreamArn"` }
Reference to a dynamodb table.
TODO: EXAMPLE
type TableEncryption ¶
type TableEncryption string
What kind of server-side encryption to apply to this table.
TODO: EXAMPLE
const ( TableEncryption_AWS_MANAGED TableEncryption = "AWS_MANAGED" TableEncryption_CUSTOMER_MANAGED TableEncryption = "CUSTOMER_MANAGED" TableEncryption_DEFAULT TableEncryption = "DEFAULT" )
type TableOptions ¶
type TableOptions struct { // Partition key attribute definition. PartitionKey *Attribute `json:"partitionKey"` // Sort key attribute definition. SortKey *Attribute `json:"sortKey"` // Specify how you are charged for read and write throughput and how you manage capacity. BillingMode BillingMode `json:"billingMode"` // Whether CloudWatch contributor insights is enabled. ContributorInsightsEnabled *bool `json:"contributorInsightsEnabled"` // Whether server-side encryption with an AWS managed customer master key is enabled. // // This property cannot be set if `serverSideEncryption` is set. Encryption TableEncryption `json:"encryption"` // External KMS key to use for table encryption. // // This property can only be set if `encryption` is set to `TableEncryption.CUSTOMER_MANAGED`. EncryptionKey awskms.IKey `json:"encryptionKey"` // Whether point-in-time recovery is enabled. PointInTimeRecovery *bool `json:"pointInTimeRecovery"` // The read capacity for the table. // // Careful if you add Global Secondary Indexes, as // those will share the table's provisioned throughput. // // Can only be provided if billingMode is Provisioned. ReadCapacity *float64 `json:"readCapacity"` // The removal policy to apply to the DynamoDB Table. RemovalPolicy awscdk.RemovalPolicy `json:"removalPolicy"` // Regions where replica tables will be created. ReplicationRegions *[]*string `json:"replicationRegions"` // The timeout for a table replication operation in a single region. ReplicationTimeout awscdk.Duration `json:"replicationTimeout"` // When an item in the table is modified, StreamViewType determines what information is written to the stream for this table. Stream StreamViewType `json:"stream"` // The name of TTL attribute. TimeToLiveAttribute *string `json:"timeToLiveAttribute"` // Indicates whether CloudFormation stack waits for replication to finish. // // If set to false, the CloudFormation resource will mark the resource as // created and replication will be completed asynchronously. This property is // ignored if replicationRegions property is not set. // // DO NOT UNSET this property if adding/removing multiple replicationRegions // in one deployment, as CloudFormation only supports one region replication // at a time. CDK overcomes this limitation by waiting for replication to // finish before starting new replicationRegion. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-globaltable.html#cfn-dynamodb-globaltable-replicas // WaitForReplicationToFinish *bool `json:"waitForReplicationToFinish"` // The write capacity for the table. // // Careful if you add Global Secondary Indexes, as // those will share the table's provisioned throughput. // // Can only be provided if billingMode is Provisioned. WriteCapacity *float64 `json:"writeCapacity"` }
Properties of a DynamoDB Table.
Use {@link TableProps} for all table properties
TODO: EXAMPLE
type TableProps ¶
type TableProps struct { // Partition key attribute definition. PartitionKey *Attribute `json:"partitionKey"` // Sort key attribute definition. SortKey *Attribute `json:"sortKey"` // Specify how you are charged for read and write throughput and how you manage capacity. BillingMode BillingMode `json:"billingMode"` // Whether CloudWatch contributor insights is enabled. ContributorInsightsEnabled *bool `json:"contributorInsightsEnabled"` // Whether server-side encryption with an AWS managed customer master key is enabled. // // This property cannot be set if `serverSideEncryption` is set. Encryption TableEncryption `json:"encryption"` // External KMS key to use for table encryption. // // This property can only be set if `encryption` is set to `TableEncryption.CUSTOMER_MANAGED`. EncryptionKey awskms.IKey `json:"encryptionKey"` // Whether point-in-time recovery is enabled. PointInTimeRecovery *bool `json:"pointInTimeRecovery"` // The read capacity for the table. // // Careful if you add Global Secondary Indexes, as // those will share the table's provisioned throughput. // // Can only be provided if billingMode is Provisioned. ReadCapacity *float64 `json:"readCapacity"` // The removal policy to apply to the DynamoDB Table. RemovalPolicy awscdk.RemovalPolicy `json:"removalPolicy"` // Regions where replica tables will be created. ReplicationRegions *[]*string `json:"replicationRegions"` // The timeout for a table replication operation in a single region. ReplicationTimeout awscdk.Duration `json:"replicationTimeout"` // When an item in the table is modified, StreamViewType determines what information is written to the stream for this table. Stream StreamViewType `json:"stream"` // The name of TTL attribute. TimeToLiveAttribute *string `json:"timeToLiveAttribute"` // Indicates whether CloudFormation stack waits for replication to finish. // // If set to false, the CloudFormation resource will mark the resource as // created and replication will be completed asynchronously. This property is // ignored if replicationRegions property is not set. // // DO NOT UNSET this property if adding/removing multiple replicationRegions // in one deployment, as CloudFormation only supports one region replication // at a time. CDK overcomes this limitation by waiting for replication to // finish before starting new replicationRegion. // See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-globaltable.html#cfn-dynamodb-globaltable-replicas // WaitForReplicationToFinish *bool `json:"waitForReplicationToFinish"` // The write capacity for the table. // // Careful if you add Global Secondary Indexes, as // those will share the table's provisioned throughput. // // Can only be provided if billingMode is Provisioned. WriteCapacity *float64 `json:"writeCapacity"` // Kinesis Data Stream to capture item-level changes for the table. KinesisStream awskinesis.IStream `json:"kinesisStream"` // Enforces a particular physical table name. TableName *string `json:"tableName"` }
Properties for a DynamoDB Table.
TODO: EXAMPLE
type UtilizationScalingProps ¶
type UtilizationScalingProps struct { // Indicates whether scale in by the target tracking policy is disabled. // // If the value is true, scale in is disabled and the target tracking policy // won't remove capacity from the scalable resource. Otherwise, scale in is // enabled and the target tracking policy can remove capacity from the // scalable resource. DisableScaleIn *bool `json:"disableScaleIn"` // A name for the scaling policy. PolicyName *string `json:"policyName"` // Period after a scale in activity completes before another scale in activity can start. ScaleInCooldown awscdk.Duration `json:"scaleInCooldown"` // Period after a scale out activity completes before another scale out activity can start. ScaleOutCooldown awscdk.Duration `json:"scaleOutCooldown"` // Target utilization percentage for the attribute. TargetUtilizationPercent *float64 `json:"targetUtilizationPercent"` }
Properties for enabling DynamoDB utilization tracking.
TODO: EXAMPLE