Class: AWSCDK::CustomerProfiles::CfnIntegration::S3SourcePropertiesProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::CustomerProfiles::CfnIntegration::S3SourcePropertiesProperty
- Defined in:
- customer_profiles/cfn_integration.rb
Overview
The properties that are applied when Amazon S3 is being used as the flow source.
Instance Attribute Summary collapse
-
#bucket_name ⇒ String
readonly
The Amazon S3 bucket name where the source files are stored.
-
#bucket_prefix ⇒ String?
readonly
The object key for the Amazon S3 bucket in which the source files are stored.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(bucket_name:, bucket_prefix: nil) ⇒ S3SourcePropertiesProperty
constructor
A new instance of S3SourcePropertiesProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(bucket_name:, bucket_prefix: nil) ⇒ S3SourcePropertiesProperty
Returns a new instance of S3SourcePropertiesProperty.
880 881 882 883 884 885 |
# File 'customer_profiles/cfn_integration.rb', line 880 def initialize(bucket_name:, bucket_prefix: nil) @bucket_name = bucket_name Jsii::Type.check_type(@bucket_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "bucketName") @bucket_prefix = bucket_prefix Jsii::Type.check_type(@bucket_prefix, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "bucketPrefix") unless @bucket_prefix.nil? end |
Instance Attribute Details
#bucket_name ⇒ String (readonly)
The Amazon S3 bucket name where the source files are stored.
891 892 893 |
# File 'customer_profiles/cfn_integration.rb', line 891 def bucket_name @bucket_name end |
#bucket_prefix ⇒ String? (readonly)
The object key for the Amazon S3 bucket in which the source files are stored.
896 897 898 |
# File 'customer_profiles/cfn_integration.rb', line 896 def bucket_prefix @bucket_prefix end |
Class Method Details
.jsii_properties ⇒ Object
898 899 900 901 902 903 |
# File 'customer_profiles/cfn_integration.rb', line 898 def self.jsii_properties { :bucket_name => "bucketName", :bucket_prefix => "bucketPrefix", } end |
Instance Method Details
#to_jsii ⇒ Object
905 906 907 908 909 910 911 912 |
# File 'customer_profiles/cfn_integration.rb', line 905 def to_jsii result = {} result.merge!({ "bucketName" => @bucket_name, "bucketPrefix" => @bucket_prefix, }) result.compact end |