Class: AWSCDK::QuickSight::CfnDataSource::ManifestFileLocationProperty

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

Overview

Amazon S3 manifest file location.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(bucket:, key:) ⇒ ManifestFileLocationProperty

Returns a new instance of ManifestFileLocationProperty.

Parameters:

  • bucket (String)

    Amazon S3 bucket.

  • key (String)

    Amazon S3 key that identifies an object.



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

#bucketString (readonly)

Amazon S3 bucket.



1485
1486
1487
# File 'quick_sight/cfn_data_source.rb', line 1485

def bucket
  @bucket
end

#keyString (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_propertiesObject



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_jsiiObject



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