Class: AWSCDK::KinesisAnalyticsv2::CfnApplication::FlinkRunConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
kinesis_analyticsv2/cfn_application.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.



1376
1377
1378
1379
# File 'kinesis_analyticsv2/cfn_application.rb', line 1376

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 .



1389
1390
1391
# File 'kinesis_analyticsv2/cfn_application.rb', line 1389

def allow_non_restored_state
  @allow_non_restored_state
end

Class Method Details

.jsii_propertiesObject



1391
1392
1393
1394
1395
# File 'kinesis_analyticsv2/cfn_application.rb', line 1391

def self.jsii_properties
  {
    :allow_non_restored_state => "allowNonRestoredState",
  }
end

Instance Method Details

#to_jsiiObject



1397
1398
1399
1400
1401
1402
1403
# File 'kinesis_analyticsv2/cfn_application.rb', line 1397

def to_jsii
  result = {}
  result.merge!({
    "allowNonRestoredState" => @allow_non_restored_state,
  })
  result.compact
end