Class: AWSCDK::AppFlow::CfnFlow::UpsolverDestinationPropertiesProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
app_flow/cfn_flow.rb

Overview

The properties that are applied when Upsolver is used as a destination.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(bucket_name:, s3_output_format_config:, bucket_prefix: nil) ⇒ UpsolverDestinationPropertiesProperty

Returns a new instance of UpsolverDestinationPropertiesProperty.

Parameters:

  • bucket_name (String)

    The Upsolver Amazon S3 bucket name in which Amazon AppFlow places the transferred data.

  • s3_output_format_config (AWSCDK::IResolvable, AWSCDK::AppFlow::CfnFlow::UpsolverS3OutputFormatConfigProperty)

    The configuration that determines how data is formatted when Upsolver is used as the flow destination.

  • bucket_prefix (String, nil) (defaults to: nil)

    The object key for the destination Upsolver Amazon S3 bucket in which Amazon AppFlow places the files.



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_nameString (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_prefixString? (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_configAWSCDK::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_propertiesObject



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_jsiiObject



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