@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:41.169Z") @Stability(value=Stable) public class CfnApplicationInstance extends CfnResource implements IInspectable
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")
.deviceId("deviceId")
.manifestOverridesPayload(ManifestOverridesPayloadProperty.builder()
.payloadData("payloadData")
.build())
.name("name")
.runtimeRoleArn("runtimeRoleArn")
.statusFilter("statusFilter")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnApplicationInstance.Builder
A fluent builder for
CfnApplicationInstance. |
static interface |
CfnApplicationInstance.ManifestOverridesPayloadProperty
Parameter overrides for an application instance.
|
static interface |
CfnApplicationInstance.ManifestPayloadProperty
A application verion's manifest file.
|
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnApplicationInstance(software.constructs.Construct scope,
String id,
CfnApplicationInstanceProps props)
Create a new `AWS::Panorama::ApplicationInstance`.
|
protected |
CfnApplicationInstance(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnApplicationInstance(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getApplicationInstanceIdToReplace()
The ID of an application instance to replace with the new instance.
|
String |
getAttrApplicationInstanceId()
The application instance's ID.
|
String |
getAttrArn()
The application instance's ARN.
|
Number |
getAttrCreatedTime()
The application instance's created time.
|
String |
getAttrDefaultRuntimeContextDeviceName()
The application instance's default runtime context device name.
|
String |
getAttrHealthStatus()
The application instance's health status.
|
Number |
getAttrLastUpdatedTime()
The application instance's last updated time.
|
String |
getAttrStatus()
The application instance's status.
|
String |
getAttrStatusDescription()
The application instance's status description.
|
protected Map<String,Object> |
getCfnProperties() |
String |
getDefaultRuntimeContextDevice()
The device's ID.
|
String |
getDescription()
A description for the application instance.
|
String |
getDeviceId()
A device's ID.
|
Object |
getManifestOverridesPayload()
Setting overrides for the application manifest.
|
Object |
getManifestPayload()
The application's manifest document.
|
String |
getName()
A name for the application instance.
|
String |
getRuntimeRoleArn()
The ARN of a runtime role for the application instance.
|
String |
getStatusFilter()
Only include instances with a specific status.
|
TagManager |
getTags()
Tags for the application instance.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setApplicationInstanceIdToReplace(String value)
The ID of an application instance to replace with the new instance.
|
void |
setDefaultRuntimeContextDevice(String value)
The device's ID.
|
void |
setDescription(String value)
A description for the application instance.
|
void |
setDeviceId(String value)
A device's ID.
|
void |
setManifestOverridesPayload(CfnApplicationInstance.ManifestOverridesPayloadProperty value)
Setting overrides for the application manifest.
|
void |
setManifestOverridesPayload(IResolvable value)
Setting overrides for the application manifest.
|
void |
setManifestPayload(CfnApplicationInstance.ManifestPayloadProperty value)
The application's manifest document.
|
void |
setManifestPayload(IResolvable value)
The application's manifest document.
|
void |
setName(String value)
A name for the application instance.
|
void |
setRuntimeRoleArn(String value)
The ARN of a runtime role for the application instance.
|
void |
setStatusFilter(String value)
Only include instances with a specific status.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnApplicationInstance(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnApplicationInstance(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnApplicationInstance(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnApplicationInstanceProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public String getAttrApplicationInstanceId()
@Stability(value=Stable) @NotNull public String getAttrArn()
@Stability(value=Stable) @NotNull public Number getAttrCreatedTime()
@Stability(value=Stable) @NotNull public String getAttrDefaultRuntimeContextDeviceName()
@Stability(value=Stable) @NotNull public String getAttrHealthStatus()
@Stability(value=Stable) @NotNull public Number getAttrLastUpdatedTime()
@Stability(value=Stable) @NotNull public String getAttrStatus()
@Stability(value=Stable) @NotNull public String getAttrStatusDescription()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public TagManager getTags()
@Stability(value=Stable) @NotNull public String getDefaultRuntimeContextDevice()
@Stability(value=Stable)
public void setDefaultRuntimeContextDevice(@NotNull
String value)
@Stability(value=Stable) @NotNull public Object getManifestPayload()
@Stability(value=Stable)
public void setManifestPayload(@NotNull
CfnApplicationInstance.ManifestPayloadProperty value)
@Stability(value=Stable)
public void setManifestPayload(@NotNull
IResolvable value)
@Stability(value=Stable) @Nullable public String getApplicationInstanceIdToReplace()
@Stability(value=Stable)
public void setApplicationInstanceIdToReplace(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getDescription()
@Stability(value=Stable)
public void setDescription(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getDeviceId()
@Stability(value=Stable)
public void setDeviceId(@Nullable
String value)
@Stability(value=Stable) @Nullable public Object getManifestOverridesPayload()
@Stability(value=Stable)
public void setManifestOverridesPayload(@Nullable
CfnApplicationInstance.ManifestOverridesPayloadProperty value)
@Stability(value=Stable)
public void setManifestOverridesPayload(@Nullable
IResolvable value)
@Stability(value=Stable) @Nullable public String getName()
@Stability(value=Stable)
public void setName(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getRuntimeRoleArn()
@Stability(value=Stable)
public void setRuntimeRoleArn(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getStatusFilter()
@Stability(value=Stable)
public void setStatusFilter(@Nullable
String value)
Copyright © 2022. All rights reserved.