Class: AWSCDK::QuickSight::CfnDashboard::StaticFileS3SourceOptionsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDashboard::StaticFileS3SourceOptionsProperty
- Defined in:
- quick_sight/cfn_dashboard.rb
Overview
The structure that contains the Amazon S3 location to download the static file from.
Instance Attribute Summary collapse
-
#bucket_name ⇒ String
readonly
The name of the Amazon S3 bucket.
-
#object_key ⇒ String
readonly
The identifier of the static file in the Amazon S3 bucket.
-
#region ⇒ String
readonly
The Region of the Amazon S3 account that contains the bucket.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(bucket_name:, object_key:, region:) ⇒ StaticFileS3SourceOptionsProperty
constructor
A new instance of StaticFileS3SourceOptionsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(bucket_name:, object_key:, region:) ⇒ StaticFileS3SourceOptionsProperty
Returns a new instance of StaticFileS3SourceOptionsProperty.
28198 28199 28200 28201 28202 28203 28204 28205 |
# File 'quick_sight/cfn_dashboard.rb', line 28198 def initialize(bucket_name:, object_key:, region:) @bucket_name = bucket_name Jsii::Type.check_type(@bucket_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "bucketName") @object_key = object_key Jsii::Type.check_type(@object_key, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "objectKey") @region = region Jsii::Type.check_type(@region, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "region") end |
Instance Attribute Details
#bucket_name ⇒ String (readonly)
The name of the Amazon S3 bucket.
28211 28212 28213 |
# File 'quick_sight/cfn_dashboard.rb', line 28211 def bucket_name @bucket_name end |
#object_key ⇒ String (readonly)
The identifier of the static file in the Amazon S3 bucket.
28216 28217 28218 |
# File 'quick_sight/cfn_dashboard.rb', line 28216 def object_key @object_key end |
#region ⇒ String (readonly)
The Region of the Amazon S3 account that contains the bucket.
28221 28222 28223 |
# File 'quick_sight/cfn_dashboard.rb', line 28221 def region @region end |
Class Method Details
.jsii_properties ⇒ Object
28223 28224 28225 28226 28227 28228 28229 |
# File 'quick_sight/cfn_dashboard.rb', line 28223 def self.jsii_properties { :bucket_name => "bucketName", :object_key => "objectKey", :region => "region", } end |
Instance Method Details
#to_jsii ⇒ Object
28231 28232 28233 28234 28235 28236 28237 28238 28239 |
# File 'quick_sight/cfn_dashboard.rb', line 28231 def to_jsii result = {} result.merge!({ "bucketName" => @bucket_name, "objectKey" => @object_key, "region" => @region, }) result.compact end |