# CfnApplicationInstanceProps

Properties for defining a `CfnApplicationInstance`.

Used as props by: [CfnApplicationInstance](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_panorama.CfnApplicationInstance.html)

- Source: Generated at build time
- Type last changed: v2.87.0 · 6 Jul 2023

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_panorama as panorama } from 'aws-cdk-lib';
const cfnApplicationInstanceProps: panorama.CfnApplicationInstanceProps = {
  defaultRuntimeContextDevice: 'defaultRuntimeContextDevice',
  manifestPayload: {
    payloadData: 'payloadData',
  },

  // the properties below are optional
  applicationInstanceIdToReplace: 'applicationInstanceIdToReplace',
  description: 'description',
  manifestOverridesPayload: {
    payloadData: 'payloadData',
  },
  name: 'name',
  runtimeRoleArn: 'runtimeRoleArn',
  tags: [{
    key: 'key',
    value: 'value',
  }],
};
```

Python:

```python
from aws_cdk import CfnTag
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_panorama as panorama

cfn_application_instance_props = panorama.CfnApplicationInstanceProps(
    default_runtime_context_device="defaultRuntimeContextDevice",
    manifest_payload=panorama.CfnApplicationInstance.ManifestPayloadProperty(
        payload_data="payloadData"
    ),

    # the properties below are optional
    application_instance_id_to_replace="applicationInstanceIdToReplace",
    description="description",
    manifest_overrides_payload=panorama.CfnApplicationInstance.ManifestOverridesPayloadProperty(
        payload_data="payloadData"
    ),
    name="name",
    runtime_role_arn="runtimeRoleArn",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)
```

Java:

```java
// 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.*;

CfnApplicationInstanceProps cfnApplicationInstanceProps = CfnApplicationInstanceProps.builder()
        .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();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Panorama;

var cfnApplicationInstanceProps = new CfnApplicationInstanceProps {
    DefaultRuntimeContextDevice = "defaultRuntimeContextDevice",
    ManifestPayload = new ManifestPayloadProperty {
        PayloadData = "payloadData"
    },

    // the properties below are optional
    ApplicationInstanceIdToReplace = "applicationInstanceIdToReplace",
    Description = "description",
    ManifestOverridesPayload = new ManifestOverridesPayloadProperty {
        PayloadData = "payloadData"
    },
    Name = "name",
    RuntimeRoleArn = "runtimeRoleArn",
    Tags = new [] { new CfnTag {
        Key = "key",
        Value = "value"
    } }
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

cfnApplicationInstanceProps := &CfnApplicationInstanceProps{
	DefaultRuntimeContextDevice: jsii.String("defaultRuntimeContextDevice"),
	ManifestPayload: &ManifestPayloadProperty{
		PayloadData: jsii.String("payloadData"),
	},

	// the properties below are optional
	ApplicationInstanceIdToReplace: jsii.String("applicationInstanceIdToReplace"),
	Description: jsii.String("description"),
	ManifestOverridesPayload: &ManifestOverridesPayloadProperty{
		PayloadData: jsii.String("payloadData"),
	},
	Name: jsii.String("name"),
	RuntimeRoleArn: jsii.String("runtimeRoleArn"),
	Tags: []CfnTag{
		&CfnTag{
			Key: jsii.String("key"),
			Value: jsii.String("value"),
		},
	},
}
```

## Properties

- `applicationInstanceIdToReplace`: string — The ID of an application instance to replace with the new instance.

- `defaultRuntimeContextDevice`: string (required) — The device's ID.

- `description`: string — A description for the application instance.

- `manifestOverridesPayload`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnApplicationInstance.ManifestOverridesPayloadProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_panorama.CfnApplicationInstance.ManifestOverridesPayloadProperty.html) — Setting overrides for the application manifest.

- `manifestPayload`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnApplicationInstance.ManifestPayloadProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_panorama.CfnApplicationInstance.ManifestPayloadProperty.html) (required) — The application's manifest document.

- `name`: string — A name for the application instance.

- `runtimeRoleArn`: string — The ARN of a runtime role for the application instance.

- `tags`: [CfnTag](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — Tags for the application instance.
