Class: AWSCDK::QuickSight::CfnRefreshScheduleProps

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
quick_sight/cfn_refresh_schedule_props.rb

Overview

Properties for defining a CfnRefreshSchedule.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(aws_account_id: nil, data_set_id: nil, schedule: nil) ⇒ CfnRefreshScheduleProps

Returns a new instance of CfnRefreshScheduleProps.

Parameters:



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 = 
  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_idString? (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
end

#data_set_idString? (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

#scheduleAWSCDK::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_propertiesObject



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_jsiiObject



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