Class: AWSCDK::QuickSight::CfnDataSource::ManifestFileLocationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDataSource::ManifestFileLocationProperty
- Defined in:
- quick_sight/cfn_data_source.rb
Overview
Amazon S3 manifest file location.
Instance Attribute Summary collapse
-
#bucket ⇒ String
readonly
Amazon S3 bucket.
-
#key ⇒ String
readonly
Amazon S3 key that identifies an object.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(bucket:, key:) ⇒ ManifestFileLocationProperty
constructor
A new instance of ManifestFileLocationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(bucket:, key:) ⇒ ManifestFileLocationProperty
Returns a new instance of ManifestFileLocationProperty.
1474 1475 1476 1477 1478 1479 |
# File 'quick_sight/cfn_data_source.rb', line 1474 def initialize(bucket:, key:) @bucket = bucket Jsii::Type.check_type(@bucket, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "bucket") @key = key Jsii::Type.check_type(@key, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "key") end |
Instance Attribute Details
#bucket ⇒ String (readonly)
Amazon S3 bucket.
1485 1486 1487 |
# File 'quick_sight/cfn_data_source.rb', line 1485 def bucket @bucket end |
#key ⇒ String (readonly)
Amazon S3 key that identifies an object.
1490 1491 1492 |
# File 'quick_sight/cfn_data_source.rb', line 1490 def key @key end |
Class Method Details
.jsii_properties ⇒ Object
1492 1493 1494 1495 1496 1497 |
# File 'quick_sight/cfn_data_source.rb', line 1492 def self.jsii_properties { :bucket => "bucket", :key => "key", } end |
Instance Method Details
#to_jsii ⇒ Object
1499 1500 1501 1502 1503 1504 1505 1506 |
# File 'quick_sight/cfn_data_source.rb', line 1499 def to_jsii result = {} result.merge!({ "bucket" => @bucket, "key" => @key, }) result.compact end |