Class CfnSimpleTable

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

@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)", date="2025-10-29T11:15:48.391Z") @Stability(Stable) public class CfnSimpleTable extends CfnResource implements IInspectable, ISimpleTableRef, 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