Class: AWSCDK::B2BI::CfnTransformer::SampleDocumentsProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
b2_bi/cfn_transformer.rb

Overview

Describes a structure that contains the Amazon S3 bucket and an array of the corresponding keys used to identify the location for your sample documents.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(bucket_name:, keys:) ⇒ SampleDocumentsProperty

Returns a new instance of SampleDocumentsProperty.

Parameters:



977
978
979
980
981
982
# File 'b2_bi/cfn_transformer.rb', line 977

def initialize(bucket_name:, keys:)
  @bucket_name = bucket_name
  Jsii::Type.check_type(@bucket_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "bucketName")
  @keys = keys
  Jsii::Type.check_type(@keys, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfYjJiaS5DZm5UcmFuc2Zvcm1lci5TYW1wbGVEb2N1bWVudEtleXNQcm9wZXJ0eSJ9XX19LCJraW5kIjoiYXJyYXkifX1dfX0=")), "keys")
end

Instance Attribute Details

#bucket_nameString (readonly)

Contains the Amazon S3 bucket that is used to hold your sample documents.



988
989
990
# File 'b2_bi/cfn_transformer.rb', line 988

def bucket_name
  @bucket_name
end

#keysAWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::B2BI::CfnTransformer::SampleDocumentKeysProperty> (readonly)

Contains an array of the Amazon S3 keys used to identify the location for your sample documents.



993
994
995
# File 'b2_bi/cfn_transformer.rb', line 993

def keys
  @keys
end

Class Method Details

.jsii_propertiesObject



995
996
997
998
999
1000
# File 'b2_bi/cfn_transformer.rb', line 995

def self.jsii_properties
  {
    :bucket_name => "bucketName",
    :keys => "keys",
  }
end

Instance Method Details

#to_jsiiObject



1002
1003
1004
1005
1006
1007
1008
1009
# File 'b2_bi/cfn_transformer.rb', line 1002

def to_jsii
  result = {}
  result.merge!({
    "bucketName" => @bucket_name,
    "keys" => @keys,
  })
  result.compact
end