@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:41.996Z") @Stability(value=Stable) public class CfnSimpleTable extends CfnResource implements IInspectable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.sam.*;
CfnSimpleTable cfnSimpleTable = CfnSimpleTable.Builder.create(this, "MyCfnSimpleTable")
.primaryKey(PrimaryKeyProperty.builder()
.type("type")
// the properties below are optional
.name("name")
.build())
.provisionedThroughput(ProvisionedThroughputProperty.builder()
.writeCapacityUnits(123)
// the properties below are optional
.readCapacityUnits(123)
.build())
.sseSpecification(SSESpecificationProperty.builder()
.sseEnabled(false)
.build())
.tableName("tableName")
.tags(Map.of(
"tagsKey", "tags"))
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnSimpleTable.Builder
A fluent builder for
CfnSimpleTable. |
static interface |
CfnSimpleTable.PrimaryKeyProperty
Example:
|
static interface |
CfnSimpleTable.ProvisionedThroughputProperty
Example:
|
static interface |
CfnSimpleTable.SSESpecificationProperty
Example:
|
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
static String |
REQUIRED_TRANSFORM
The `Transform` a template must use in order to use this resource.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnSimpleTable(software.constructs.Construct scope,
String id)
Create a new `AWS::Serverless::SimpleTable`.
|
|
CfnSimpleTable(software.constructs.Construct scope,
String id,
CfnSimpleTableProps props)
Create a new `AWS::Serverless::SimpleTable`.
|
protected |
CfnSimpleTable(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnSimpleTable(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
protected Map<String,Object> |
getCfnProperties() |
Object |
getPrimaryKey()
`AWS::Serverless::SimpleTable.PrimaryKey`.
|
Object |
getProvisionedThroughput()
`AWS::Serverless::SimpleTable.ProvisionedThroughput`.
|
Object |
getSseSpecification()
`AWS::Serverless::SimpleTable.SSESpecification`.
|
String |
getTableName()
`AWS::Serverless::SimpleTable.TableName`.
|
TagManager |
getTags()
`AWS::Serverless::SimpleTable.Tags`.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setPrimaryKey(CfnSimpleTable.PrimaryKeyProperty value)
`AWS::Serverless::SimpleTable.PrimaryKey`.
|
void |
setPrimaryKey(IResolvable value)
`AWS::Serverless::SimpleTable.PrimaryKey`.
|
void |
setProvisionedThroughput(CfnSimpleTable.ProvisionedThroughputProperty value)
`AWS::Serverless::SimpleTable.ProvisionedThroughput`.
|
void |
setProvisionedThroughput(IResolvable value)
`AWS::Serverless::SimpleTable.ProvisionedThroughput`.
|
void |
setSseSpecification(CfnSimpleTable.SSESpecificationProperty value)
`AWS::Serverless::SimpleTable.SSESpecification`.
|
void |
setSseSpecification(IResolvable value)
`AWS::Serverless::SimpleTable.SSESpecification`.
|
void |
setTableName(String value)
`AWS::Serverless::SimpleTable.TableName`.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
@Stability(value=Stable) public static final String REQUIRED_TRANSFORM
protected CfnSimpleTable(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnSimpleTable(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnSimpleTable(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@Nullable
CfnSimpleTableProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties.@Stability(value=Stable)
public CfnSimpleTable(@NotNull
software.constructs.Construct scope,
@NotNull
String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public TagManager getTags()
@Stability(value=Stable) @Nullable public Object getPrimaryKey()
@Stability(value=Stable)
public void setPrimaryKey(@Nullable
CfnSimpleTable.PrimaryKeyProperty value)
@Stability(value=Stable)
public void setPrimaryKey(@Nullable
IResolvable value)
@Stability(value=Stable) @Nullable public Object getProvisionedThroughput()
@Stability(value=Stable)
public void setProvisionedThroughput(@Nullable
CfnSimpleTable.ProvisionedThroughputProperty value)
@Stability(value=Stable)
public void setProvisionedThroughput(@Nullable
IResolvable value)
@Stability(value=Stable) @Nullable public Object getSseSpecification()
@Stability(value=Stable)
public void setSseSpecification(@Nullable
CfnSimpleTable.SSESpecificationProperty value)
@Stability(value=Stable)
public void setSseSpecification(@Nullable
IResolvable value)
@Stability(value=Stable) @Nullable public String getTableName()
@Stability(value=Stable)
public void setTableName(@Nullable
String value)
Copyright © 2022. All rights reserved.