Class CfnSimpleTable
A CloudFormation AWS::Serverless::SimpleTable
.
Inherited Members
Namespace: Amazon.CDK.AWS.SAM
Assembly: Amazon.CDK.AWS.SAM.dll
Syntax (csharp)
public class CfnSimpleTable : CfnResource, IConstruct, IDependable, IInspectable
Syntax (vb)
Public Class CfnSimpleTable
Inherits CfnResource
Implements IConstruct, IDependable, IInspectable
Remarks
CloudformationResource: AWS::Serverless::SimpleTable
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.AWS.SAM;
var cfnSimpleTable = new CfnSimpleTable(this, "MyCfnSimpleTable", new CfnSimpleTableProps {
PrimaryKey = new PrimaryKeyProperty {
Type = "type",
// the properties below are optional
Name = "name"
},
ProvisionedThroughput = new ProvisionedThroughputProperty {
WriteCapacityUnits = 123,
// the properties below are optional
ReadCapacityUnits = 123
},
SseSpecification = new SSESpecificationProperty {
SseEnabled = false
},
TableName = "tableName",
Tags = new Dictionary<string, string> {
{ "tagsKey", "tags" }
}
});
Synopsis
Constructors
CfnSimpleTable(Construct, String, ICfnSimpleTableProps) | Create a new |
CfnSimpleTable(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnSimpleTable(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Properties
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
PrimaryKey |
|
ProvisionedThroughput |
|
REQUIRED_TRANSFORM | The |
SseSpecification |
|
TableName |
|
Tags |
|
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnSimpleTable(Construct, String, ICfnSimpleTableProps)
Create a new AWS::Serverless::SimpleTable
.
public CfnSimpleTable(Construct scope, string id, ICfnSimpleTableProps props = null)
Parameters
- scope Construct
- scope in which this resource is defined.
- id System.String
- scoped id of the resource.
- props ICfnSimpleTableProps
- resource properties.
CfnSimpleTable(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnSimpleTable(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnSimpleTable(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnSimpleTable(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Properties
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
PrimaryKey
AWS::Serverless::SimpleTable.PrimaryKey
.
public virtual object PrimaryKey { get; set; }
Property Value
System.Object
Remarks
ProvisionedThroughput
AWS::Serverless::SimpleTable.ProvisionedThroughput
.
public virtual object ProvisionedThroughput { get; set; }
Property Value
System.Object
Remarks
REQUIRED_TRANSFORM
The Transform
a template must use in order to use this resource.
public static string REQUIRED_TRANSFORM { get; }
Property Value
System.String
SseSpecification
AWS::Serverless::SimpleTable.SSESpecification
.
public virtual object SseSpecification { get; set; }
Property Value
System.Object
Remarks
TableName
AWS::Serverless::SimpleTable.TableName
.
public virtual string TableName { get; set; }
Property Value
System.String
Remarks
Tags
AWS::Serverless::SimpleTable.Tags
.
public virtual TagManager Tags { get; }
Property Value
Remarks
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
- tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>