Class CfnAppInstance

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

@Generated(value="jsii-pacmak/1.128.0 (build 749b9a9)", date="2026-05-08T13:05:01.300Z") @Stability(Stable) public class CfnAppInstance extends CfnResource implements IInspectable, IAppInstanceRef, ITaggableV2
Resource Type definition for AWS::Chime::AppInstance.

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.*;
 CfnAppInstance cfnAppInstance = CfnAppInstance.Builder.create(this, "MyCfnAppInstance")
         .name("name")
         // the properties below are optional
         .metadata("metadata")
         .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

    • CfnAppInstance

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

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

      @Stability(Stable) public CfnAppInstance(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnAppInstanceProps props)
      Create a new AWS::Chime::AppInstance.

      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

    • arnForAppInstance

      @Stability(Stable) @NotNull public static String arnForAppInstance(@NotNull IAppInstanceRef resource)
      Parameters:
      resource - This parameter is required.
    • isCfnAppInstance

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

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

      @Stability(Stable) @NotNull public AppInstanceReference getAppInstanceRef()
      A reference to a AppInstance resource.
      Specified by:
      getAppInstanceRef in interface IAppInstanceRef
    • getAttrAppInstanceArn

      @Stability(Stable) @NotNull public String getAttrAppInstanceArn()
      The Amazon Resource Number (ARN) of the AppInstance.
    • getAttrCreatedTimestamp

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

      In epoch milliseconds.

    • getAttrLastUpdatedTimestamp

      @Stability(Stable) @NotNull public IResolvable getAttrLastUpdatedTimestamp()
      The time an AppInstance 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
    • getName

      @Stability(Stable) @NotNull public String getName()
      The name of the AppInstance.
    • setName

      @Stability(Stable) public void setName(@NotNull String value)
      The name of the AppInstance.
    • getMetadata

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

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

      @Stability(Stable) @Nullable public List<CfnTag> getTags()
      Tags assigned to the AppInstance.
    • setTags

      @Stability(Stable) public void setTags(@Nullable List<CfnTag> value)
      Tags assigned to the AppInstance.