Class: AWSCDK::QuickSight::CfnAnalysis::StaticFileS3SourceOptionsProperty

Inherits:
Jsii::Struct
  • Object
show all
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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(bucket_name:, object_key:, region:) ⇒ StaticFileS3SourceOptionsProperty

Returns a new instance of StaticFileS3SourceOptionsProperty.

Parameters:

  • bucket_name (String)

    The name of the Amazon S3 bucket.

  • object_key (String)

    The identifier of the static file in the Amazon S3 bucket.

  • region (String)

    The Region of the Amazon S3 account that contains the bucket.



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_nameString (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_keyString (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

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



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_jsiiObject



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