Class: AWSCDK::KinesisAnalytics::CfnApplicationV2::FlinkRunConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::KinesisAnalytics::CfnApplicationV2::FlinkRunConfigurationProperty
- Defined in:
- kinesis_analytics/cfn_application_v2.rb
Overview
Describes the starting parameters for a Managed Service for Apache Flink application.
Instance Attribute Summary collapse
-
#allow_non_restored_state ⇒ Boolean, ...
readonly
When restoring from a snapshot, specifies whether the runtime is allowed to skip a state that cannot be mapped to the new program.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(allow_non_restored_state: nil) ⇒ FlinkRunConfigurationProperty
constructor
A new instance of FlinkRunConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(allow_non_restored_state: nil) ⇒ FlinkRunConfigurationProperty
Returns a new instance of FlinkRunConfigurationProperty.
1377 1378 1379 1380 |
# File 'kinesis_analytics/cfn_application_v2.rb', line 1377 def initialize(allow_non_restored_state: nil) @allow_non_restored_state = allow_non_restored_state Jsii::Type.check_type(@allow_non_restored_state, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "allowNonRestoredState") unless @allow_non_restored_state.nil? end |
Instance Attribute Details
#allow_non_restored_state ⇒ Boolean, ... (readonly)
When restoring from a snapshot, specifies whether the runtime is allowed to skip a state that cannot be mapped to the new program.
This will happen if the program is updated between snapshots to remove stateful parameters, and state data in the snapshot no longer corresponds to valid application data. For more information, see Allowing Non-Restored State in the Apache Flink documentation .
This value defaults to
false. If you update your application without specifying this parameter,AllowNonRestoredStatewill be set tofalse, even if it was previously set totrue.
1390 1391 1392 |
# File 'kinesis_analytics/cfn_application_v2.rb', line 1390 def allow_non_restored_state @allow_non_restored_state end |
Class Method Details
.jsii_properties ⇒ Object
1392 1393 1394 1395 1396 |
# File 'kinesis_analytics/cfn_application_v2.rb', line 1392 def self.jsii_properties { :allow_non_restored_state => "allowNonRestoredState", } end |
Instance Method Details
#to_jsii ⇒ Object
1398 1399 1400 1401 1402 1403 1404 |
# File 'kinesis_analytics/cfn_application_v2.rb', line 1398 def to_jsii result = {} result.merge!({ "allowNonRestoredState" => @allow_non_restored_state, }) result.compact end |