Class: AWSCDK::QuickSight::CfnRefreshScheduleProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnRefreshScheduleProps
- Defined in:
- quick_sight/cfn_refresh_schedule_props.rb
Overview
Properties for defining a CfnRefreshSchedule.
Instance Attribute Summary collapse
-
#aws_account_id ⇒ String?
readonly
The AWS account ID of the account that you are creating a schedule in.
-
#data_set_id ⇒ String?
readonly
The ID of the dataset that you are creating a refresh schedule for.
-
#schedule ⇒ AWSCDK::IResolvable, ...
readonly
The refresh schedule of a dataset.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(aws_account_id: nil, data_set_id: nil, schedule: nil) ⇒ CfnRefreshScheduleProps
constructor
A new instance of CfnRefreshScheduleProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(aws_account_id: nil, data_set_id: nil, schedule: nil) ⇒ CfnRefreshScheduleProps
Returns a new instance of CfnRefreshScheduleProps.
12 13 14 15 16 17 18 19 |
# File 'quick_sight/cfn_refresh_schedule_props.rb', line 12 def initialize(aws_account_id: nil, data_set_id: nil, schedule: nil) @aws_account_id = aws_account_id Jsii::Type.check_type(@aws_account_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "awsAccountId") unless @aws_account_id.nil? @data_set_id = data_set_id Jsii::Type.check_type(@data_set_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "dataSetId") unless @data_set_id.nil? @schedule = schedule.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnRefreshSchedule::RefreshScheduleMapProperty.new(**schedule.transform_keys(&:to_sym)) : schedule Jsii::Type.check_type(@schedule, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblJlZnJlc2hTY2hlZHVsZS5SZWZyZXNoU2NoZWR1bGVNYXBQcm9wZXJ0eSJ9XX19")), "schedule") unless @schedule.nil? end |
Instance Attribute Details
#aws_account_id ⇒ String? (readonly)
The AWS account ID of the account that you are creating a schedule in.
25 26 27 |
# File 'quick_sight/cfn_refresh_schedule_props.rb', line 25 def aws_account_id @aws_account_id end |
#data_set_id ⇒ String? (readonly)
The ID of the dataset that you are creating a refresh schedule for.
30 31 32 |
# File 'quick_sight/cfn_refresh_schedule_props.rb', line 30 def data_set_id @data_set_id end |
#schedule ⇒ AWSCDK::IResolvable, ... (readonly)
The refresh schedule of a dataset.
35 36 37 |
# File 'quick_sight/cfn_refresh_schedule_props.rb', line 35 def schedule @schedule end |
Class Method Details
.jsii_properties ⇒ Object
37 38 39 40 41 42 43 |
# File 'quick_sight/cfn_refresh_schedule_props.rb', line 37 def self.jsii_properties { :aws_account_id => "awsAccountId", :data_set_id => "dataSetId", :schedule => "schedule", } end |
Instance Method Details
#to_jsii ⇒ Object
45 46 47 48 49 50 51 52 53 |
# File 'quick_sight/cfn_refresh_schedule_props.rb', line 45 def to_jsii result = {} result.merge!({ "awsAccountId" => @aws_account_id, "dataSetId" => @data_set_id, "schedule" => @schedule, }) result.compact end |