@Generated(value="jsii-pacmak/1.60.0 (build ebcefe6)", date="2022-06-22T23:27:52.210Z") 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.
|
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
IConstruct.Jsii$Default
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
Modifier | Constructor and Description |
---|---|
|
CfnApplicationInstance(Construct scope,
java.lang.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 |
---|---|
java.lang.String |
getApplicationInstanceIdToReplace()
The ID of an application instance to replace with the new instance.
|
java.lang.String |
getAttrApplicationInstanceId()
The application instance's ID.
|
java.lang.String |
getAttrArn()
The application instance's ARN.
|
java.lang.Number |
getAttrCreatedTime()
The application instance's created time.
|
java.lang.String |
getAttrDefaultRuntimeContextDeviceName()
The application instance's default runtime context device name.
|
java.lang.String |
getAttrHealthStatus()
The application instance's health status.
|
java.lang.Number |
getAttrLastUpdatedTime()
The application instance's last updated time.
|
java.lang.String |
getAttrStatus()
The application instance's status.
|
java.lang.String |
getAttrStatusDescription()
The application instance's status description.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
getCfnProperties() |
java.lang.String |
getDefaultRuntimeContextDevice()
The device's ID.
|
java.lang.String |
getDescription()
A description for the application instance.
|
java.lang.String |
getDeviceId()
A device's ID.
|
java.lang.Object |
getManifestOverridesPayload()
Setting overrides for the application manifest.
|
java.lang.Object |
getManifestPayload()
The application's manifest document.
|
java.lang.String |
getName()
A name for the application instance.
|
java.lang.String |
getRuntimeRoleArn()
The ARN of a runtime role for the application instance.
|
java.lang.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 java.util.Map<java.lang.String,java.lang.Object> |
renderProperties(java.util.Map<java.lang.String,java.lang.Object> props) |
void |
setApplicationInstanceIdToReplace(java.lang.String value)
The ID of an application instance to replace with the new instance.
|
void |
setDefaultRuntimeContextDevice(java.lang.String value)
The device's ID.
|
void |
setDescription(java.lang.String value)
A description for the application instance.
|
void |
setDeviceId(java.lang.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(java.lang.String value)
A name for the application instance.
|
void |
setRuntimeRoleArn(java.lang.String value)
The ARN of a runtime role for the application instance.
|
void |
setStatusFilter(java.lang.String value)
Only include instances with a specific status.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validateProperties
getRef
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
public static final java.lang.String CFN_RESOURCE_TYPE_NAME
protected CfnApplicationInstance(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnApplicationInstance(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public CfnApplicationInstance(Construct scope, java.lang.String id, 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.public void inspect(TreeInspector inspector)
inspect
in interface IInspectable
inspector
- - tree inspector to collect and process attributes. This parameter is required.protected java.util.Map<java.lang.String,java.lang.Object> renderProperties(java.util.Map<java.lang.String,java.lang.Object> props)
renderProperties
in class CfnResource
props
- This parameter is required.public java.lang.String getAttrApplicationInstanceId()
public java.lang.String getAttrArn()
public java.lang.Number getAttrCreatedTime()
public java.lang.String getAttrDefaultRuntimeContextDeviceName()
public java.lang.String getAttrHealthStatus()
public java.lang.Number getAttrLastUpdatedTime()
public java.lang.String getAttrStatus()
public java.lang.String getAttrStatusDescription()
protected java.util.Map<java.lang.String,java.lang.Object> getCfnProperties()
getCfnProperties
in class CfnResource
public TagManager getTags()
public java.lang.String getDefaultRuntimeContextDevice()
public void setDefaultRuntimeContextDevice(java.lang.String value)
public java.lang.Object getManifestPayload()
public void setManifestPayload(CfnApplicationInstance.ManifestPayloadProperty value)
public void setManifestPayload(IResolvable value)
public java.lang.String getApplicationInstanceIdToReplace()
public void setApplicationInstanceIdToReplace(java.lang.String value)
public java.lang.String getDescription()
public void setDescription(java.lang.String value)
public java.lang.String getDeviceId()
public void setDeviceId(java.lang.String value)
public java.lang.Object getManifestOverridesPayload()
public void setManifestOverridesPayload(IResolvable value)
public void setManifestOverridesPayload(CfnApplicationInstance.ManifestOverridesPayloadProperty value)
public java.lang.String getName()
public void setName(java.lang.String value)
public java.lang.String getRuntimeRoleArn()
public void setRuntimeRoleArn(java.lang.String value)
public java.lang.String getStatusFilter()
public void setStatusFilter(java.lang.String value)