Class CfnSimpleTable

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
All Implemented Interfaces:
IInspectable, ITaggable, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.94.0 (build b380f01)", date="2024-03-01T20:58:30.992Z") @Stability(Stable) public class CfnSimpleTable extends CfnResource implements IInspectable, ITaggable
https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlesssimpletable.

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();
 

See Also:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String CFN_RESOURCE_TYPE_NAME
      The CloudFormation resource type name for this resource class.
    • REQUIRED_TRANSFORM

      @Stability(Stable) public static final String REQUIRED_TRANSFORM
      The Transform a template must use in order to use this resource.
  • Constructor Details

    • CfnSimpleTable

      protected CfnSimpleTable(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnSimpleTable

      protected CfnSimpleTable(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnSimpleTable

      @Stability(Stable) public CfnSimpleTable(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable CfnSimpleTableProps props)
      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). This parameter is required.
      props - Resource properties.
    • CfnSimpleTable

      @Stability(Stable) public CfnSimpleTable(@NotNull software.constructs.Construct scope, @NotNull String id)
      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). This parameter is required.
  • Method Details

    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      Parameters:
      inspector - tree inspector to collect and process attributes. This parameter is required.
    • renderProperties

      @Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
      Overrides:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getTags

      @Stability(Stable) @NotNull public TagManager getTags()
      Tag Manager which manages the tags for this resource.
      Specified by:
      getTags in interface ITaggable
    • getPrimaryKey

      @Stability(Stable) @Nullable public Object getPrimaryKey()
    • setPrimaryKey

      @Stability(Stable) public void setPrimaryKey(@Nullable IResolvable value)
    • setPrimaryKey

      @Stability(Stable) public void setPrimaryKey(@Nullable CfnSimpleTable.PrimaryKeyProperty value)
    • getProvisionedThroughput

      @Stability(Stable) @Nullable public Object getProvisionedThroughput()
    • setProvisionedThroughput

      @Stability(Stable) public void setProvisionedThroughput(@Nullable IResolvable value)
    • setProvisionedThroughput

      @Stability(Stable) public void setProvisionedThroughput(@Nullable CfnSimpleTable.ProvisionedThroughputProperty value)
    • getSseSpecification

      @Stability(Stable) @Nullable public Object getSseSpecification()
    • setSseSpecification

      @Stability(Stable) public void setSseSpecification(@Nullable IResolvable value)
    • setSseSpecification

      @Stability(Stable) public void setSseSpecification(@Nullable CfnSimpleTable.SSESpecificationProperty value)
    • getTableName

      @Stability(Stable) @Nullable public String getTableName()
    • setTableName

      @Stability(Stable) public void setTableName(@Nullable String value)
    • getTagsRaw

      @Stability(Stable) @Nullable public Map<String,String> getTagsRaw()
    • setTagsRaw

      @Stability(Stable) public void setTagsRaw(@Nullable Map<String,String> value)