Class: AWSCDK::AppFlow::CfnFlow::UpsolverDestinationPropertiesProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::AppFlow::CfnFlow::UpsolverDestinationPropertiesProperty
- Defined in:
- app_flow/cfn_flow.rb
Overview
The properties that are applied when Upsolver is used as a destination.
Instance Attribute Summary collapse
-
#bucket_name ⇒ String
readonly
The Upsolver Amazon S3 bucket name in which Amazon AppFlow places the transferred data.
-
#bucket_prefix ⇒ String?
readonly
The object key for the destination Upsolver Amazon S3 bucket in which Amazon AppFlow places the files.
-
#s3_output_format_config ⇒ AWSCDK::IResolvable, AWSCDK::AppFlow::CfnFlow::UpsolverS3OutputFormatConfigProperty
readonly
The configuration that determines how data is formatted when Upsolver is used as the flow destination.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(bucket_name:, s3_output_format_config:, bucket_prefix: nil) ⇒ UpsolverDestinationPropertiesProperty
constructor
A new instance of UpsolverDestinationPropertiesProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(bucket_name:, s3_output_format_config:, bucket_prefix: nil) ⇒ UpsolverDestinationPropertiesProperty
Returns a new instance of UpsolverDestinationPropertiesProperty.
3301 3302 3303 3304 3305 3306 3307 3308 |
# File 'app_flow/cfn_flow.rb', line 3301 def initialize(bucket_name:, s3_output_format_config:, bucket_prefix: nil) @bucket_name = bucket_name Jsii::Type.check_type(@bucket_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "bucketName") @s3_output_format_config = s3_output_format_config.is_a?(Hash) ? ::AWSCDK::AppFlow::CfnFlow::UpsolverS3OutputFormatConfigProperty.new(**s3_output_format_config.transform_keys(&:to_sym)) : s3_output_format_config Jsii::Type.check_type(@s3_output_format_config, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19hcHBmbG93LkNmbkZsb3cuVXBzb2x2ZXJTM091dHB1dEZvcm1hdENvbmZpZ1Byb3BlcnR5In1dfX0=")), "s3OutputFormatConfig") @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 Upsolver Amazon S3 bucket name in which Amazon AppFlow places the transferred data.
3314 3315 3316 |
# File 'app_flow/cfn_flow.rb', line 3314 def bucket_name @bucket_name end |
#bucket_prefix ⇒ String? (readonly)
The object key for the destination Upsolver Amazon S3 bucket in which Amazon AppFlow places the files.
3324 3325 3326 |
# File 'app_flow/cfn_flow.rb', line 3324 def bucket_prefix @bucket_prefix end |
#s3_output_format_config ⇒ AWSCDK::IResolvable, AWSCDK::AppFlow::CfnFlow::UpsolverS3OutputFormatConfigProperty (readonly)
The configuration that determines how data is formatted when Upsolver is used as the flow destination.
3319 3320 3321 |
# File 'app_flow/cfn_flow.rb', line 3319 def s3_output_format_config @s3_output_format_config end |
Class Method Details
.jsii_properties ⇒ Object
3326 3327 3328 3329 3330 3331 3332 |
# File 'app_flow/cfn_flow.rb', line 3326 def self.jsii_properties { :bucket_name => "bucketName", :s3_output_format_config => "s3OutputFormatConfig", :bucket_prefix => "bucketPrefix", } end |
Instance Method Details
#to_jsii ⇒ Object
3334 3335 3336 3337 3338 3339 3340 3341 3342 |
# File 'app_flow/cfn_flow.rb', line 3334 def to_jsii result = {} result.merge!({ "bucketName" => @bucket_name, "s3OutputFormatConfig" => @s3_output_format_config, "bucketPrefix" => @bucket_prefix, }) result.compact end |