Class: AWSCDK::KinesisAnalytics::CfnApplicationV2::ApplicationSnapshotConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::KinesisAnalytics::CfnApplicationV2::ApplicationSnapshotConfigurationProperty
- 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
-
#snapshots_enabled ⇒ Boolean, AWSCDK::IResolvable
readonly
Describes whether snapshots are enabled for a Managed Service for Apache Flink application.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(snapshots_enabled:) ⇒ ApplicationSnapshotConfigurationProperty
constructor
A new instance of ApplicationSnapshotConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(snapshots_enabled:) ⇒ ApplicationSnapshotConfigurationProperty
Returns a new instance of ApplicationSnapshotConfigurationProperty.
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_enabled ⇒ Boolean, 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_properties ⇒ Object
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_jsii ⇒ Object
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 |