Class CfnAppInstanceBot

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

@Generated(value="jsii-pacmak/1.129.0 (build eaca441)", date="2026-05-13T16:55:04.690Z") @Stability(Stable) public class CfnAppInstanceBot extends CfnResource implements IInspectable, IAppInstanceBotRef, ITaggableV2
Resource Type definition for AWS::Chime::AppInstanceBot.

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.chime.*;
 CfnAppInstanceBot cfnAppInstanceBot = CfnAppInstanceBot.Builder.create(this, "MyCfnAppInstanceBot")
         .appInstanceArn("appInstanceArn")
         .configuration(ConfigurationProperty.builder()
                 .lex(LexConfigurationProperty.builder()
                         .lexBotAliasArn("lexBotAliasArn")
                         .localeId("localeId")
                         // the properties below are optional
                         .invokedBy(InvokedByProperty.builder()
                                 .standardMessages("standardMessages")
                                 .targetedMessages("targetedMessages")
                                 .build())
                         .respondsTo("respondsTo")
                         .welcomeIntent("welcomeIntent")
                         .build())
                 .build())
         // the properties below are optional
         .metadata("metadata")
         .name("name")
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .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

    • CfnAppInstanceBot

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

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

      @Stability(Stable) public CfnAppInstanceBot(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnAppInstanceBotProps props)
      Create a new AWS::Chime::AppInstanceBot.

      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. This parameter is required.
  • Method Details

    • arnForAppInstanceBot

      @Stability(Stable) @NotNull public static String arnForAppInstanceBot(@NotNull IAppInstanceBotRef resource)
      Parameters:
      resource - This parameter is required.
    • isCfnAppInstanceBot

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

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

      @Stability(Stable) @NotNull public AppInstanceBotReference getAppInstanceBotRef()
      A reference to a AppInstanceBot resource.
      Specified by:
      getAppInstanceBotRef in interface IAppInstanceBotRef
    • getAttrAppInstanceBotArn

      @Stability(Stable) @NotNull public String getAttrAppInstanceBotArn()
      The ARN of the AppInstanceBot.
    • getAttrCreatedTimestamp

      @Stability(Stable) @NotNull public IResolvable getAttrCreatedTimestamp()
      The time at which the AppInstanceBot was created.

      In epoch milliseconds.

    • getAttrLastUpdatedTimestamp

      @Stability(Stable) @NotNull public IResolvable getAttrLastUpdatedTimestamp()
      The time at which the AppInstanceBot was last updated.

      In epoch milliseconds.

    • getCdkTagManager

      @Stability(Stable) @NotNull public TagManager getCdkTagManager()
      Tag Manager which manages the tags for this resource.
      Specified by:
      getCdkTagManager in interface ITaggableV2
    • 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
    • getAppInstanceArn

      @Stability(Stable) @NotNull public String getAppInstanceArn()
      The ARN of the AppInstance.
    • setAppInstanceArn

      @Stability(Stable) public void setAppInstanceArn(@NotNull String value)
      The ARN of the AppInstance.
    • getConfiguration

      @Stability(Stable) @NotNull public Object getConfiguration()
      A structure that contains configuration data.

      Returns union: either IResolvable or CfnAppInstanceBot.ConfigurationProperty

    • setConfiguration

      @Stability(Stable) public void setConfiguration(@NotNull IResolvable value)
      A structure that contains configuration data.
    • setConfiguration

      @Stability(Stable) public void setConfiguration(@NotNull CfnAppInstanceBot.ConfigurationProperty value)
      A structure that contains configuration data.
    • getMetadata

      @Stability(Stable) @Nullable public String getMetadata()
      The metadata of the AppInstanceBot.
    • setMetadata

      @Stability(Stable) public void setMetadata(@Nullable String value)
      The metadata of the AppInstanceBot.
    • getName

      @Stability(Stable) @Nullable public String getName()
      The name of the AppInstanceBot.
    • setName

      @Stability(Stable) public void setName(@Nullable String value)
      The name of the AppInstanceBot.
    • getTags

      @Stability(Stable) @Nullable public List<CfnTag> getTags()
      The tags assigned to the AppInstanceBot.
    • setTags

      @Stability(Stable) public void setTags(@Nullable List<CfnTag> value)
      The tags assigned to the AppInstanceBot.