Class: AWSCDK::AppFlow::CfnFlow::SuccessResponseHandlingConfigProperty

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

Overview

Determines how Amazon AppFlow handles the success response that it gets from the connector after placing data.

For example, this setting would determine where to write the response from the destination connector upon a successful insert operation.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(bucket_name: nil, bucket_prefix: nil) ⇒ SuccessResponseHandlingConfigProperty

Returns a new instance of SuccessResponseHandlingConfigProperty.

Parameters:

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

    The name of the Amazon S3 bucket.

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

    The Amazon S3 bucket prefix.



3053
3054
3055
3056
3057
3058
# File 'app_flow/cfn_flow.rb', line 3053

def initialize(bucket_name: nil, bucket_prefix: nil)
  @bucket_name = bucket_name
  Jsii::Type.check_type(@bucket_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "bucketName") unless @bucket_name.nil?
  @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 name of the Amazon S3 bucket.



3064
3065
3066
# File 'app_flow/cfn_flow.rb', line 3064

def bucket_name
  @bucket_name
end

#bucket_prefixString? (readonly)

The Amazon S3 bucket prefix.



3069
3070
3071
# File 'app_flow/cfn_flow.rb', line 3069

def bucket_prefix
  @bucket_prefix
end

Class Method Details

.jsii_propertiesObject



3071
3072
3073
3074
3075
3076
# File 'app_flow/cfn_flow.rb', line 3071

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

Instance Method Details

#to_jsiiObject



3078
3079
3080
3081
3082
3083
3084
3085
# File 'app_flow/cfn_flow.rb', line 3078

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