Class CfnApplicationInstance

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.101.0 (build b95fe5d)", date="2024-07-12T19:34:06.242Z") @Stability(Stable) public class CfnApplicationInstance extends CfnResource implements IInspectable, ITaggable
Creates an application instance and deploys it to a device.

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.panorama.*;
 CfnApplicationInstance cfnApplicationInstance = CfnApplicationInstance.Builder.create(this, "MyCfnApplicationInstance")
         .defaultRuntimeContextDevice("defaultRuntimeContextDevice")
         .manifestPayload(ManifestPayloadProperty.builder()
                 .payloadData("payloadData")
                 .build())
         // the properties below are optional
         .applicationInstanceIdToReplace("applicationInstanceIdToReplace")
         .description("description")
         .manifestOverridesPayload(ManifestOverridesPayloadProperty.builder()
                 .payloadData("payloadData")
                 .build())
         .name("name")
         .runtimeRoleArn("runtimeRoleArn")
         .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

    • CfnApplicationInstance

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

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

      @Stability(Stable) public CfnApplicationInstance(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnApplicationInstanceProps 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. 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.
    • getAttrApplicationInstanceId

      @Stability(Stable) @NotNull public String getAttrApplicationInstanceId()
      The application instance's ID.
    • getAttrArn

      @Stability(Stable) @NotNull public String getAttrArn()
      The application instance's ARN.
    • getAttrCreatedTime

      @Stability(Stable) @NotNull public Number getAttrCreatedTime()
      The application instance's created time.
    • getAttrDefaultRuntimeContextDeviceName

      @Stability(Stable) @NotNull public String getAttrDefaultRuntimeContextDeviceName()
      The application instance's default runtime context device name.
    • getAttrHealthStatus

      @Stability(Stable) @NotNull public String getAttrHealthStatus()
      The application instance's health status.
    • getAttrLastUpdatedTime

      @Stability(Stable) @NotNull public Number getAttrLastUpdatedTime()
      The application instance's last updated time.
    • getAttrStatus

      @Stability(Stable) @NotNull public String getAttrStatus()
      The application instance's status.
    • getAttrStatusDescription

      @Stability(Stable) @NotNull public String getAttrStatusDescription()
      The application instance's status description.
    • 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
    • getDefaultRuntimeContextDevice

      @Stability(Stable) @NotNull public String getDefaultRuntimeContextDevice()
      The device's ID.
    • setDefaultRuntimeContextDevice

      @Stability(Stable) public void setDefaultRuntimeContextDevice(@NotNull String value)
      The device's ID.
    • getManifestPayload

      @Stability(Stable) @NotNull public Object getManifestPayload()
      The application's manifest document.
    • setManifestPayload

      @Stability(Stable) public void setManifestPayload(@NotNull IResolvable value)
      The application's manifest document.
    • setManifestPayload

      @Stability(Stable) public void setManifestPayload(@NotNull CfnApplicationInstance.ManifestPayloadProperty value)
      The application's manifest document.
    • getApplicationInstanceIdToReplace

      @Stability(Stable) @Nullable public String getApplicationInstanceIdToReplace()
      The ID of an application instance to replace with the new instance.
    • setApplicationInstanceIdToReplace

      @Stability(Stable) public void setApplicationInstanceIdToReplace(@Nullable String value)
      The ID of an application instance to replace with the new instance.
    • getDescription

      @Stability(Stable) @Nullable public String getDescription()
      A description for the application instance.
    • setDescription

      @Stability(Stable) public void setDescription(@Nullable String value)
      A description for the application instance.
    • getManifestOverridesPayload

      @Stability(Stable) @Nullable public Object getManifestOverridesPayload()
      Setting overrides for the application manifest.
    • setManifestOverridesPayload

      @Stability(Stable) public void setManifestOverridesPayload(@Nullable IResolvable value)
      Setting overrides for the application manifest.
    • setManifestOverridesPayload

      @Stability(Stable) public void setManifestOverridesPayload(@Nullable CfnApplicationInstance.ManifestOverridesPayloadProperty value)
      Setting overrides for the application manifest.
    • getName

      @Stability(Stable) @Nullable public String getName()
      A name for the application instance.
    • setName

      @Stability(Stable) public void setName(@Nullable String value)
      A name for the application instance.
    • getRuntimeRoleArn

      @Stability(Stable) @Nullable public String getRuntimeRoleArn()
      The ARN of a runtime role for the application instance.
    • setRuntimeRoleArn

      @Stability(Stable) public void setRuntimeRoleArn(@Nullable String value)
      The ARN of a runtime role for the application instance.
    • getTagsRaw

      @Stability(Stable) @Nullable public List<CfnTag> getTagsRaw()
      Tags for the application instance.
    • setTagsRaw

      @Stability(Stable) public void setTagsRaw(@Nullable List<CfnTag> value)
      Tags for the application instance.