# RunConfigurationProperty

Describes the starting parameters for an Managed Service for Apache Flink application.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 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_kinesisanalytics as kinesisanalytics } from 'aws-cdk-lib';
const runConfigurationProperty: kinesisanalytics.CfnApplicationV2.RunConfigurationProperty = {
  applicationRestoreConfiguration: {
    applicationRestoreType: 'applicationRestoreType',

    // the properties below are optional
    snapshotArn: 'snapshotArn',
    snapshotName: 'snapshotName',
  },
  flinkRunConfiguration: {
    allowNonRestoredState: false,
  },
};
```

Python:

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

run_configuration_property = kinesisanalytics.CfnApplicationV2.RunConfigurationProperty(
    application_restore_configuration=kinesisanalytics.CfnApplicationV2.ApplicationRestoreConfigurationProperty(
        application_restore_type="applicationRestoreType",

        # the properties below are optional
        snapshot_arn="snapshotArn",
        snapshot_name="snapshotName"
    ),
    flink_run_configuration=kinesisanalytics.CfnApplicationV2.FlinkRunConfigurationProperty(
        allow_non_restored_state=False
    )
)
```

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.kinesisanalytics.*;

RunConfigurationProperty runConfigurationProperty = RunConfigurationProperty.builder()
        .applicationRestoreConfiguration(ApplicationRestoreConfigurationProperty.builder()
                .applicationRestoreType("applicationRestoreType")

                // the properties below are optional
                .snapshotArn("snapshotArn")
                .snapshotName("snapshotName")
                .build())
        .flinkRunConfiguration(FlinkRunConfigurationProperty.builder()
                .allowNonRestoredState(false)
                .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.KinesisAnalytics;

var runConfigurationProperty = new RunConfigurationProperty {
    ApplicationRestoreConfiguration = new ApplicationRestoreConfigurationProperty {
        ApplicationRestoreType = "applicationRestoreType",

        // the properties below are optional
        SnapshotArn = "snapshotArn",
        SnapshotName = "snapshotName"
    },
    FlinkRunConfiguration = new FlinkRunConfigurationProperty {
        AllowNonRestoredState = false
    }
};
```

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"

runConfigurationProperty := &RunConfigurationProperty{
	ApplicationRestoreConfiguration: &ApplicationRestoreConfigurationProperty{
		ApplicationRestoreType: jsii.String("applicationRestoreType"),

		// the properties below are optional
		SnapshotArn: jsii.String("snapshotArn"),
		SnapshotName: jsii.String("snapshotName"),
	},
	FlinkRunConfiguration: &FlinkRunConfigurationProperty{
		AllowNonRestoredState: jsii.Boolean(false),
	},
}
```

## Properties

- `applicationRestoreConfiguration`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnApplicationV2.ApplicationRestoreConfigurationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_kinesisanalytics.CfnApplicationV2.ApplicationRestoreConfigurationProperty.html) — Describes the restore behavior of a restarting application.

- `flinkRunConfiguration`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnApplicationV2.FlinkRunConfigurationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_kinesisanalytics.CfnApplicationV2.FlinkRunConfigurationProperty.html) — Describes the starting parameters for a Managed Service for Apache Flink application.
