Class: AWSCDK::QuickSight::CfnDashboard::StaticFileSourceProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDashboard::StaticFileSourceProperty
- Defined in:
- quick_sight/cfn_dashboard.rb
Overview
The source of the static file.
Instance Attribute Summary collapse
-
#s3_options ⇒ AWSCDK::IResolvable, ...
readonly
The structure that contains the Amazon S3 location to download the static file from.
-
#url_options ⇒ AWSCDK::IResolvable, ...
readonly
The structure that contains the URL to download the static file from.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(s3_options: nil, url_options: nil) ⇒ StaticFileSourceProperty
constructor
A new instance of StaticFileSourceProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(s3_options: nil, url_options: nil) ⇒ StaticFileSourceProperty
Returns a new instance of StaticFileSourceProperty.
28250 28251 28252 28253 28254 28255 |
# File 'quick_sight/cfn_dashboard.rb', line 28250 def initialize(s3_options: nil, url_options: nil) @s3_options = .is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::StaticFileS3SourceOptionsProperty.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(@s3_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5TdGF0aWNGaWxlUzNTb3VyY2VPcHRpb25zUHJvcGVydHkifV19fQ==")), "s3Options") unless @s3_options.nil? @url_options = .is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::StaticFileURLSourceOptionsProperty.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(@url_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5TdGF0aWNGaWxlVXJsU291cmNlT3B0aW9uc1Byb3BlcnR5In1dfX0=")), "urlOptions") unless @url_options.nil? end |
Instance Attribute Details
#s3_options ⇒ AWSCDK::IResolvable, ... (readonly)
The structure that contains the Amazon S3 location to download the static file from.
28261 28262 28263 |
# File 'quick_sight/cfn_dashboard.rb', line 28261 def @s3_options end |
#url_options ⇒ AWSCDK::IResolvable, ... (readonly)
The structure that contains the URL to download the static file from.
28266 28267 28268 |
# File 'quick_sight/cfn_dashboard.rb', line 28266 def @url_options end |
Class Method Details
.jsii_properties ⇒ Object
28268 28269 28270 28271 28272 28273 |
# File 'quick_sight/cfn_dashboard.rb', line 28268 def self.jsii_properties { :s3_options => "s3Options", :url_options => "urlOptions", } end |
Instance Method Details
#to_jsii ⇒ Object
28275 28276 28277 28278 28279 28280 28281 28282 |
# File 'quick_sight/cfn_dashboard.rb', line 28275 def to_jsii result = {} result.merge!({ "s3Options" => @s3_options, "urlOptions" => @url_options, }) result.compact end |