Class CfnIndex

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

@Generated(value="jsii-pacmak/1.138.0 (build 0ca7ee8)", date="2026-07-22T17:37:27.926Z") @Stability(Stable) public class CfnIndex extends CfnResource implements IInspectable, IIndexRef
Resource Type definition for AWS::IoT::Index.

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.iot.*;
 CfnIndex cfnIndex = CfnIndex.Builder.create(this, "MyCfnIndex")
         .indexName("indexName")
         .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.
  • Constructor Details

    • CfnIndex

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

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

      @Stability(Stable) public CfnIndex(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable CfnIndexProps props)
      Create a new AWS::IoT::Index.

      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.
    • CfnIndex

      @Stability(Stable) public CfnIndex(@NotNull software.constructs.Construct scope, @NotNull String id)
      Create a new AWS::IoT::Index.

      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

    • arnForIndex

      @Stability(Stable) @NotNull public static String arnForIndex(@NotNull IIndexRef resource)
      Parameters:
      resource - This parameter is required.
    • isCfnIndex

      @Stability(Stable) @NotNull public static Boolean isCfnIndex(@NotNull Object x)
      Checks whether the given object is a CfnIndex.

      Parameters:
      x - This parameter is required.
    • 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.
    • getAttrArn

      @Stability(Stable) @NotNull public String getAttrArn()
    • getAttrId

      @Stability(Stable) @NotNull public String getAttrId()
    • getAttrIndexStatus

      @Stability(Stable) @NotNull public String getAttrIndexStatus()
    • getAttrSchema

      @Stability(Stable) @NotNull public String getAttrSchema()
    • getCfnProperties

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

      @Stability(Stable) @NotNull protected Map<String,String> getCfnPropertyNames()
      Overrides:
      getCfnPropertyNames in class CfnResource
    • getIndexRef

      @Stability(Stable) @NotNull public IndexReference getIndexRef()
      A reference to a Index resource.
      Specified by:
      getIndexRef in interface IIndexRef
    • getIndexName

      @Stability(Stable) @Nullable public String getIndexName()
    • setIndexName

      @Stability(Stable) public void setIndexName(@Nullable String value)