Class: AWSCDK::KinesisAnalytics::CfnApplicationV2::FlinkRunConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(allow_non_restored_state: nil) ⇒ FlinkRunConfigurationProperty

Returns a new instance of FlinkRunConfigurationProperty.

Parameters:

  • allow_non_restored_state (Boolean, AWSCDK::IResolvable, nil) (defaults to: nil)

    When restoring from a snapshot, specifies whether the runtime is allowed to skip a state that cannot be mapped to the new program.



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_stateBoolean, ... (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, AllowNonRestoredState will be set to false , even if it was previously set to true .



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_propertiesObject



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_jsiiObject



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