Class: AWSCDK::KinesisAnalytics::CfnApplicationV2::ApplicationSnapshotConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
kinesis_analytics/cfn_application_v2.rb

Overview

Describes whether snapshots are enabled for a Managed Service for Apache Flink application.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(snapshots_enabled:) ⇒ ApplicationSnapshotConfigurationProperty

Returns a new instance of ApplicationSnapshotConfigurationProperty.

Parameters:

  • snapshots_enabled (Boolean, AWSCDK::IResolvable)

    Describes whether snapshots are enabled for a Managed Service for Apache Flink application.



911
912
913
914
# File 'kinesis_analytics/cfn_application_v2.rb', line 911

def initialize(snapshots_enabled:)
  @snapshots_enabled = snapshots_enabled
  Jsii::Type.check_type(@snapshots_enabled, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "snapshotsEnabled")
end

Instance Attribute Details

#snapshots_enabledBoolean, AWSCDK::IResolvable (readonly)

Describes whether snapshots are enabled for a Managed Service for Apache Flink application.



920
921
922
# File 'kinesis_analytics/cfn_application_v2.rb', line 920

def snapshots_enabled
  @snapshots_enabled
end

Class Method Details

.jsii_propertiesObject



922
923
924
925
926
# File 'kinesis_analytics/cfn_application_v2.rb', line 922

def self.jsii_properties
  {
    :snapshots_enabled => "snapshotsEnabled",
  }
end

Instance Method Details

#to_jsiiObject



928
929
930
931
932
933
934
# File 'kinesis_analytics/cfn_application_v2.rb', line 928

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