Class CfnApplicationInstance
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.panorama.CfnApplicationInstance
- All Implemented Interfaces:
IInspectable,ITaggable,IApplicationInstanceRef,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.113.0 (build fc68b25)",
date="2025-10-14T12:28:16.486Z")
@Stability(Stable)
public class CfnApplicationInstance
extends CfnResource
implements IInspectable, IApplicationInstanceRef, ITaggable
End of support notice: On May 31, 2026, AWS will end support for AWS Panorama .
After May 31, 2026,
you will no longer be able to access the AWS Panorama console or AWS Panorama resources. For more information, see AWS Panorama end of support .
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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnApplicationInstance.static interfaceParameter overrides for an application instance.static interfaceA application verion's manifest file.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.panorama.IApplicationInstanceRef
IApplicationInstanceRef.Jsii$Default, IApplicationInstanceRef.Jsii$ProxyNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggable
ITaggable.Jsii$Default, ITaggable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnApplicationInstance(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnApplicationInstance(software.amazon.jsii.JsiiObjectRef objRef) CfnApplicationInstance(software.constructs.Construct scope, String id, CfnApplicationInstanceProps props) -
Method Summary
Modifier and TypeMethodDescriptionstatic IApplicationInstanceReffromApplicationInstanceArn(software.constructs.Construct scope, String id, String arn) Creates a new IApplicationInstanceRef from an ARN.static IApplicationInstanceReffromApplicationInstanceId(software.constructs.Construct scope, String id, String applicationInstanceId) Creates a new IApplicationInstanceRef from a applicationInstanceId.The ID of an application instance to replace with the new instance.A reference to a ApplicationInstance resource.The application instance's ID.The application instance's ARN.The application instance's created time.The application instance's default runtime context device name.The application instance's health status.The application instance's last updated time.The application instance's status.The application instance's status description.The device's ID.A description for the application instance.Setting overrides for the application manifest.The application's manifest document.getName()A name for the application instance.The ARN of a runtime role for the application instance.getTags()Tag Manager which manages the tags for this resource.Tags for the application instance.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidThe ID of an application instance to replace with the new instance.voidThe device's ID.voidsetDescription(String value) A description for the application instance.voidSetting overrides for the application manifest.voidSetting overrides for the application manifest.voidsetManifestPayload(IResolvable value) The application's manifest document.voidThe application's manifest document.voidA name for the application instance.voidsetRuntimeRoleArn(String value) The ARN of a runtime role for the application instance.voidsetTagsRaw(List<CfnTag> value) Tags for the application instance.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
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
-
fromApplicationInstanceArn
@Stability(Stable) @NotNull public static IApplicationInstanceRef fromApplicationInstanceArn(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String arn) Creates a new IApplicationInstanceRef from an ARN.- Parameters:
scope- This parameter is required.id- This parameter is required.arn- This parameter is required.
-
fromApplicationInstanceId
@Stability(Stable) @NotNull public static IApplicationInstanceRef fromApplicationInstanceId(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String applicationInstanceId) Creates a new IApplicationInstanceRef from a applicationInstanceId.- Parameters:
scope- This parameter is required.id- This parameter is required.applicationInstanceId- This parameter is required.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- 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:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getApplicationInstanceRef
A reference to a ApplicationInstance resource.- Specified by:
getApplicationInstanceRefin interfaceIApplicationInstanceRef
-
getAttrApplicationInstanceId
The application instance's ID. -
getAttrArn
The application instance's ARN. -
getAttrCreatedTime
The application instance's created time. -
getAttrDefaultRuntimeContextDeviceName
The application instance's default runtime context device name. -
getAttrHealthStatus
The application instance's health status. -
getAttrLastUpdatedTime
The application instance's last updated time. -
getAttrStatus
The application instance's status. -
getAttrStatusDescription
The application instance's status description. -
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getTags
Tag Manager which manages the tags for this resource. -
getDefaultRuntimeContextDevice
The device's ID. -
setDefaultRuntimeContextDevice
The device's ID. -
getManifestPayload
The application's manifest document. -
setManifestPayload
The application's manifest document. -
setManifestPayload
@Stability(Stable) public void setManifestPayload(@NotNull CfnApplicationInstance.ManifestPayloadProperty value) The application's manifest document. -
getApplicationInstanceIdToReplace
The ID of an application instance to replace with the new instance. -
setApplicationInstanceIdToReplace
The ID of an application instance to replace with the new instance. -
getDescription
A description for the application instance. -
setDescription
A description for the application instance. -
getManifestOverridesPayload
Setting overrides for the application manifest. -
setManifestOverridesPayload
Setting overrides for the application manifest. -
setManifestOverridesPayload
@Stability(Stable) public void setManifestOverridesPayload(@Nullable CfnApplicationInstance.ManifestOverridesPayloadProperty value) Setting overrides for the application manifest. -
getName
A name for the application instance. -
setName
A name for the application instance. -
getRuntimeRoleArn
The ARN of a runtime role for the application instance. -
setRuntimeRoleArn
The ARN of a runtime role for the application instance. -
getTagsRaw
Tags for the application instance. -
setTagsRaw
Tags for the application instance.
-