Class: AWSCDK::QuickSight::CfnAnalysis::StaticFileS3SourceOptionsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnAnalysis::StaticFileS3SourceOptionsProperty
- Defined in:
- quick_sight/cfn_analysis.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.
27160 27161 27162 27163 27164 27165 27166 27167 |
# File 'quick_sight/cfn_analysis.rb', line 27160 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.
27173 27174 27175 |
# File 'quick_sight/cfn_analysis.rb', line 27173 def bucket_name @bucket_name end |
#object_key ⇒ String (readonly)
The identifier of the static file in the Amazon S3 bucket.
27178 27179 27180 |
# File 'quick_sight/cfn_analysis.rb', line 27178 def object_key @object_key end |
#region ⇒ String (readonly)
The Region of the Amazon S3 account that contains the bucket.
27183 27184 27185 |
# File 'quick_sight/cfn_analysis.rb', line 27183 def region @region end |
Class Method Details
.jsii_properties ⇒ Object
27185 27186 27187 27188 27189 27190 27191 |
# File 'quick_sight/cfn_analysis.rb', line 27185 def self.jsii_properties { :bucket_name => "bucketName", :object_key => "objectKey", :region => "region", } end |
Instance Method Details
#to_jsii ⇒ Object
27193 27194 27195 27196 27197 27198 27199 27200 27201 |
# File 'quick_sight/cfn_analysis.rb', line 27193 def to_jsii result = {} result.merge!({ "bucketName" => @bucket_name, "objectKey" => @object_key, "region" => @region, }) result.compact end |