RunConfigurationProperty Struct
Describes the starting parameters for an Managed Service for Apache Flink application.
| Source | |
|---|---|
| Type last changed |
Example
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
# 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
// 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();
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
}
};
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
applicationRestoreConfigurationoptionalIResolvable | CfnApplicationV2.application_restore_configurationoptionaltyping.Union[IResolvable, ApplicationRestoreConfigurationProperty]applicationRestoreConfigurationoptionalIResolvableApplicationRestoreConfigurationoptionalIResolvableApplicationRestoreConfigurationoptionalinterface{} #Describes the restore behavior of a restarting application.
flinkRunConfigurationoptionalIResolvable | CfnApplicationV2.flink_run_configurationoptionaltyping.Union[IResolvable, FlinkRunConfigurationProperty]flinkRunConfigurationoptionalIResolvableFlinkRunConfigurationoptionalIResolvableFlinkRunConfigurationoptionalinterface{} #Describes the starting parameters for a Managed Service for Apache Flink application.