@cdktf/provider-aws
Version:
Prebuilt aws Provider for Terraform CDK (cdktf)
716 lines • 1.26 MB
JavaScript
"use strict";
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23, _24, _25, _26, _27, _28, _29, _30, _31, _32, _33, _34, _35, _36, _37, _38, _39;
Object.defineProperty(exports, "__esModule", { value: true });
exports.appflowFlowDestinationFlowConfigDestinationConnectorPropertiesSalesforceErrorHandlingConfigToHclTerraform = exports.appflowFlowDestinationFlowConfigDestinationConnectorPropertiesSalesforceErrorHandlingConfigToTerraform = exports.AppflowFlowDestinationFlowConfigDestinationConnectorPropertiesS3OutputReference = exports.appflowFlowDestinationFlowConfigDestinationConnectorPropertiesS3ToHclTerraform = exports.appflowFlowDestinationFlowConfigDestinationConnectorPropertiesS3ToTerraform = exports.AppflowFlowDestinationFlowConfigDestinationConnectorPropertiesS3S3OutputFormatConfigOutputReference = exports.appflowFlowDestinationFlowConfigDestinationConnectorPropertiesS3S3OutputFormatConfigToHclTerraform = exports.appflowFlowDestinationFlowConfigDestinationConnectorPropertiesS3S3OutputFormatConfigToTerraform = exports.AppflowFlowDestinationFlowConfigDestinationConnectorPropertiesS3S3OutputFormatConfigPrefixConfigOutputReference = exports.appflowFlowDestinationFlowConfigDestinationConnectorPropertiesS3S3OutputFormatConfigPrefixConfigToHclTerraform = exports.appflowFlowDestinationFlowConfigDestinationConnectorPropertiesS3S3OutputFormatConfigPrefixConfigToTerraform = exports.AppflowFlowDestinationFlowConfigDestinationConnectorPropertiesS3S3OutputFormatConfigAggregationConfigOutputReference = exports.appflowFlowDestinationFlowConfigDestinationConnectorPropertiesS3S3OutputFormatConfigAggregationConfigToHclTerraform = exports.appflowFlowDestinationFlowConfigDestinationConnectorPropertiesS3S3OutputFormatConfigAggregationConfigToTerraform = exports.AppflowFlowDestinationFlowConfigDestinationConnectorPropertiesRedshiftOutputReference = exports.appflowFlowDestinationFlowConfigDestinationConnectorPropertiesRedshiftToHclTerraform = exports.appflowFlowDestinationFlowConfigDestinationConnectorPropertiesRedshiftToTerraform = exports.AppflowFlowDestinationFlowConfigDestinationConnectorPropertiesRedshiftErrorHandlingConfigOutputReference = exports.appflowFlowDestinationFlowConfigDestinationConnectorPropertiesRedshiftErrorHandlingConfigToHclTerraform = exports.appflowFlowDestinationFlowConfigDestinationConnectorPropertiesRedshiftErrorHandlingConfigToTerraform = exports.AppflowFlowDestinationFlowConfigDestinationConnectorPropertiesMarketoOutputReference = exports.appflowFlowDestinationFlowConfigDestinationConnectorPropertiesMarketoToHclTerraform = exports.appflowFlowDestinationFlowConfigDestinationConnectorPropertiesMarketoToTerraform = exports.AppflowFlowDestinationFlowConfigDestinationConnectorPropertiesMarketoErrorHandlingConfigOutputReference = exports.appflowFlowDestinationFlowConfigDestinationConnectorPropertiesMarketoErrorHandlingConfigToHclTerraform = exports.appflowFlowDestinationFlowConfigDestinationConnectorPropertiesMarketoErrorHandlingConfigToTerraform = exports.AppflowFlowDestinationFlowConfigDestinationConnectorPropertiesLookoutMetricsOutputReference = exports.appflowFlowDestinationFlowConfigDestinationConnectorPropertiesLookoutMetricsToHclTerraform = exports.appflowFlowDestinationFlowConfigDestinationConnectorPropertiesLookoutMetricsToTerraform = exports.AppflowFlowDestinationFlowConfigDestinationConnectorPropertiesHoneycodeOutputReference = exports.appflowFlowDestinationFlowConfigDestinationConnectorPropertiesHoneycodeToHclTerraform = exports.appflowFlowDestinationFlowConfigDestinationConnectorPropertiesHoneycodeToTerraform = exports.AppflowFlowDestinationFlowConfigDestinationConnectorPropertiesHoneycodeErrorHandlingConfigOutputReference = exports.appflowFlowDestinationFlowConfigDestinationConnectorPropertiesHoneycodeErrorHandlingConfigToHclTerraform = exports.appflowFlowDestinationFlowConfigDestinationConnectorPropertiesHoneycodeErrorHandlingConfigToTerraform = exports.AppflowFlowDestinationFlowConfigDestinationConnectorPropertiesEventBridgeOutputReference = exports.appflowFlowDestinationFlowConfigDestinationConnectorPropertiesEventBridgeToHclTerraform = exports.appflowFlowDestinationFlowConfigDestinationConnectorPropertiesEventBridgeToTerraform = exports.AppflowFlowDestinationFlowConfigDestinationConnectorPropertiesEventBridgeErrorHandlingConfigOutputReference = exports.appflowFlowDestinationFlowConfigDestinationConnectorPropertiesEventBridgeErrorHandlingConfigToHclTerraform = exports.appflowFlowDestinationFlowConfigDestinationConnectorPropertiesEventBridgeErrorHandlingConfigToTerraform = exports.AppflowFlowDestinationFlowConfigDestinationConnectorPropertiesCustomerProfilesOutputReference = exports.appflowFlowDestinationFlowConfigDestinationConnectorPropertiesCustomerProfilesToHclTerraform = exports.appflowFlowDestinationFlowConfigDestinationConnectorPropertiesCustomerProfilesToTerraform = exports.AppflowFlowDestinationFlowConfigDestinationConnectorPropertiesCustomConnectorOutputReference = exports.appflowFlowDestinationFlowConfigDestinationConnectorPropertiesCustomConnectorToHclTerraform = exports.appflowFlowDestinationFlowConfigDestinationConnectorPropertiesCustomConnectorToTerraform = exports.AppflowFlowDestinationFlowConfigDestinationConnectorPropertiesCustomConnectorErrorHandlingConfigOutputReference = exports.appflowFlowDestinationFlowConfigDestinationConnectorPropertiesCustomConnectorErrorHandlingConfigToHclTerraform = exports.appflowFlowDestinationFlowConfigDestinationConnectorPropertiesCustomConnectorErrorHandlingConfigToTerraform = void 0;
exports.AppflowFlowMetadataCatalogConfigOutputReference = exports.appflowFlowMetadataCatalogConfigToHclTerraform = exports.appflowFlowMetadataCatalogConfigToTerraform = exports.AppflowFlowMetadataCatalogConfigGlueDataCatalogOutputReference = exports.appflowFlowMetadataCatalogConfigGlueDataCatalogToHclTerraform = exports.appflowFlowMetadataCatalogConfigGlueDataCatalogToTerraform = exports.AppflowFlowDestinationFlowConfigList = exports.AppflowFlowDestinationFlowConfigOutputReference = exports.appflowFlowDestinationFlowConfigToHclTerraform = exports.appflowFlowDestinationFlowConfigToTerraform = exports.AppflowFlowDestinationFlowConfigDestinationConnectorPropertiesOutputReference = exports.appflowFlowDestinationFlowConfigDestinationConnectorPropertiesToHclTerraform = exports.appflowFlowDestinationFlowConfigDestinationConnectorPropertiesToTerraform = exports.AppflowFlowDestinationFlowConfigDestinationConnectorPropertiesZendeskOutputReference = exports.appflowFlowDestinationFlowConfigDestinationConnectorPropertiesZendeskToHclTerraform = exports.appflowFlowDestinationFlowConfigDestinationConnectorPropertiesZendeskToTerraform = exports.AppflowFlowDestinationFlowConfigDestinationConnectorPropertiesZendeskErrorHandlingConfigOutputReference = exports.appflowFlowDestinationFlowConfigDestinationConnectorPropertiesZendeskErrorHandlingConfigToHclTerraform = exports.appflowFlowDestinationFlowConfigDestinationConnectorPropertiesZendeskErrorHandlingConfigToTerraform = exports.AppflowFlowDestinationFlowConfigDestinationConnectorPropertiesUpsolverOutputReference = exports.appflowFlowDestinationFlowConfigDestinationConnectorPropertiesUpsolverToHclTerraform = exports.appflowFlowDestinationFlowConfigDestinationConnectorPropertiesUpsolverToTerraform = exports.AppflowFlowDestinationFlowConfigDestinationConnectorPropertiesUpsolverS3OutputFormatConfigOutputReference = exports.appflowFlowDestinationFlowConfigDestinationConnectorPropertiesUpsolverS3OutputFormatConfigToHclTerraform = exports.appflowFlowDestinationFlowConfigDestinationConnectorPropertiesUpsolverS3OutputFormatConfigToTerraform = exports.AppflowFlowDestinationFlowConfigDestinationConnectorPropertiesUpsolverS3OutputFormatConfigPrefixConfigOutputReference = exports.appflowFlowDestinationFlowConfigDestinationConnectorPropertiesUpsolverS3OutputFormatConfigPrefixConfigToHclTerraform = exports.appflowFlowDestinationFlowConfigDestinationConnectorPropertiesUpsolverS3OutputFormatConfigPrefixConfigToTerraform = exports.AppflowFlowDestinationFlowConfigDestinationConnectorPropertiesUpsolverS3OutputFormatConfigAggregationConfigOutputReference = exports.appflowFlowDestinationFlowConfigDestinationConnectorPropertiesUpsolverS3OutputFormatConfigAggregationConfigToHclTerraform = exports.appflowFlowDestinationFlowConfigDestinationConnectorPropertiesUpsolverS3OutputFormatConfigAggregationConfigToTerraform = exports.AppflowFlowDestinationFlowConfigDestinationConnectorPropertiesSnowflakeOutputReference = exports.appflowFlowDestinationFlowConfigDestinationConnectorPropertiesSnowflakeToHclTerraform = exports.appflowFlowDestinationFlowConfigDestinationConnectorPropertiesSnowflakeToTerraform = exports.AppflowFlowDestinationFlowConfigDestinationConnectorPropertiesSnowflakeErrorHandlingConfigOutputReference = exports.appflowFlowDestinationFlowConfigDestinationConnectorPropertiesSnowflakeErrorHandlingConfigToHclTerraform = exports.appflowFlowDestinationFlowConfigDestinationConnectorPropertiesSnowflakeErrorHandlingConfigToTerraform = exports.AppflowFlowDestinationFlowConfigDestinationConnectorPropertiesSapoDataOutputReference = exports.appflowFlowDestinationFlowConfigDestinationConnectorPropertiesSapoDataToHclTerraform = exports.appflowFlowDestinationFlowConfigDestinationConnectorPropertiesSapoDataToTerraform = exports.AppflowFlowDestinationFlowConfigDestinationConnectorPropertiesSapoDataSuccessResponseHandlingConfigOutputReference = exports.appflowFlowDestinationFlowConfigDestinationConnectorPropertiesSapoDataSuccessResponseHandlingConfigToHclTerraform = exports.appflowFlowDestinationFlowConfigDestinationConnectorPropertiesSapoDataSuccessResponseHandlingConfigToTerraform = exports.AppflowFlowDestinationFlowConfigDestinationConnectorPropertiesSapoDataErrorHandlingConfigOutputReference = exports.appflowFlowDestinationFlowConfigDestinationConnectorPropertiesSapoDataErrorHandlingConfigToHclTerraform = exports.appflowFlowDestinationFlowConfigDestinationConnectorPropertiesSapoDataErrorHandlingConfigToTerraform = exports.AppflowFlowDestinationFlowConfigDestinationConnectorPropertiesSalesforceOutputReference = exports.appflowFlowDestinationFlowConfigDestinationConnectorPropertiesSalesforceToHclTerraform = exports.appflowFlowDestinationFlowConfigDestinationConnectorPropertiesSalesforceToTerraform = exports.AppflowFlowDestinationFlowConfigDestinationConnectorPropertiesSalesforceErrorHandlingConfigOutputReference = void 0;
exports.appflowFlowSourceFlowConfigSourceConnectorPropertiesSlackToHclTerraform = exports.appflowFlowSourceFlowConfigSourceConnectorPropertiesSlackToTerraform = exports.AppflowFlowSourceFlowConfigSourceConnectorPropertiesSingularOutputReference = exports.appflowFlowSourceFlowConfigSourceConnectorPropertiesSingularToHclTerraform = exports.appflowFlowSourceFlowConfigSourceConnectorPropertiesSingularToTerraform = exports.AppflowFlowSourceFlowConfigSourceConnectorPropertiesServiceNowOutputReference = exports.appflowFlowSourceFlowConfigSourceConnectorPropertiesServiceNowToHclTerraform = exports.appflowFlowSourceFlowConfigSourceConnectorPropertiesServiceNowToTerraform = exports.AppflowFlowSourceFlowConfigSourceConnectorPropertiesSapoDataOutputReference = exports.appflowFlowSourceFlowConfigSourceConnectorPropertiesSapoDataToHclTerraform = exports.appflowFlowSourceFlowConfigSourceConnectorPropertiesSapoDataToTerraform = exports.AppflowFlowSourceFlowConfigSourceConnectorPropertiesSapoDataParallelismConfigOutputReference = exports.appflowFlowSourceFlowConfigSourceConnectorPropertiesSapoDataParallelismConfigToHclTerraform = exports.appflowFlowSourceFlowConfigSourceConnectorPropertiesSapoDataParallelismConfigToTerraform = exports.AppflowFlowSourceFlowConfigSourceConnectorPropertiesSapoDataPaginationConfigOutputReference = exports.appflowFlowSourceFlowConfigSourceConnectorPropertiesSapoDataPaginationConfigToHclTerraform = exports.appflowFlowSourceFlowConfigSourceConnectorPropertiesSapoDataPaginationConfigToTerraform = exports.AppflowFlowSourceFlowConfigSourceConnectorPropertiesSalesforceOutputReference = exports.appflowFlowSourceFlowConfigSourceConnectorPropertiesSalesforceToHclTerraform = exports.appflowFlowSourceFlowConfigSourceConnectorPropertiesSalesforceToTerraform = exports.AppflowFlowSourceFlowConfigSourceConnectorPropertiesS3OutputReference = exports.appflowFlowSourceFlowConfigSourceConnectorPropertiesS3ToHclTerraform = exports.appflowFlowSourceFlowConfigSourceConnectorPropertiesS3ToTerraform = exports.AppflowFlowSourceFlowConfigSourceConnectorPropertiesS3S3InputFormatConfigOutputReference = exports.appflowFlowSourceFlowConfigSourceConnectorPropertiesS3S3InputFormatConfigToHclTerraform = exports.appflowFlowSourceFlowConfigSourceConnectorPropertiesS3S3InputFormatConfigToTerraform = exports.AppflowFlowSourceFlowConfigSourceConnectorPropertiesMarketoOutputReference = exports.appflowFlowSourceFlowConfigSourceConnectorPropertiesMarketoToHclTerraform = exports.appflowFlowSourceFlowConfigSourceConnectorPropertiesMarketoToTerraform = exports.AppflowFlowSourceFlowConfigSourceConnectorPropertiesInforNexusOutputReference = exports.appflowFlowSourceFlowConfigSourceConnectorPropertiesInforNexusToHclTerraform = exports.appflowFlowSourceFlowConfigSourceConnectorPropertiesInforNexusToTerraform = exports.AppflowFlowSourceFlowConfigSourceConnectorPropertiesGoogleAnalyticsOutputReference = exports.appflowFlowSourceFlowConfigSourceConnectorPropertiesGoogleAnalyticsToHclTerraform = exports.appflowFlowSourceFlowConfigSourceConnectorPropertiesGoogleAnalyticsToTerraform = exports.AppflowFlowSourceFlowConfigSourceConnectorPropertiesDynatraceOutputReference = exports.appflowFlowSourceFlowConfigSourceConnectorPropertiesDynatraceToHclTerraform = exports.appflowFlowSourceFlowConfigSourceConnectorPropertiesDynatraceToTerraform = exports.AppflowFlowSourceFlowConfigSourceConnectorPropertiesDatadogOutputReference = exports.appflowFlowSourceFlowConfigSourceConnectorPropertiesDatadogToHclTerraform = exports.appflowFlowSourceFlowConfigSourceConnectorPropertiesDatadogToTerraform = exports.AppflowFlowSourceFlowConfigSourceConnectorPropertiesCustomConnectorOutputReference = exports.appflowFlowSourceFlowConfigSourceConnectorPropertiesCustomConnectorToHclTerraform = exports.appflowFlowSourceFlowConfigSourceConnectorPropertiesCustomConnectorToTerraform = exports.AppflowFlowSourceFlowConfigSourceConnectorPropertiesAmplitudeOutputReference = exports.appflowFlowSourceFlowConfigSourceConnectorPropertiesAmplitudeToHclTerraform = exports.appflowFlowSourceFlowConfigSourceConnectorPropertiesAmplitudeToTerraform = exports.AppflowFlowSourceFlowConfigIncrementalPullConfigOutputReference = exports.appflowFlowSourceFlowConfigIncrementalPullConfigToHclTerraform = exports.appflowFlowSourceFlowConfigIncrementalPullConfigToTerraform = void 0;
exports.AppflowFlow = exports.AppflowFlowTriggerConfigOutputReference = exports.appflowFlowTriggerConfigToHclTerraform = exports.appflowFlowTriggerConfigToTerraform = exports.AppflowFlowTriggerConfigTriggerPropertiesOutputReference = exports.appflowFlowTriggerConfigTriggerPropertiesToHclTerraform = exports.appflowFlowTriggerConfigTriggerPropertiesToTerraform = exports.AppflowFlowTriggerConfigTriggerPropertiesScheduledOutputReference = exports.appflowFlowTriggerConfigTriggerPropertiesScheduledToHclTerraform = exports.appflowFlowTriggerConfigTriggerPropertiesScheduledToTerraform = exports.AppflowFlowTaskList = exports.AppflowFlowTaskOutputReference = exports.appflowFlowTaskToHclTerraform = exports.appflowFlowTaskToTerraform = exports.AppflowFlowTaskConnectorOperatorList = exports.AppflowFlowTaskConnectorOperatorOutputReference = exports.appflowFlowTaskConnectorOperatorToHclTerraform = exports.appflowFlowTaskConnectorOperatorToTerraform = exports.AppflowFlowSourceFlowConfigOutputReference = exports.appflowFlowSourceFlowConfigToHclTerraform = exports.appflowFlowSourceFlowConfigToTerraform = exports.AppflowFlowSourceFlowConfigSourceConnectorPropertiesOutputReference = exports.appflowFlowSourceFlowConfigSourceConnectorPropertiesToHclTerraform = exports.appflowFlowSourceFlowConfigSourceConnectorPropertiesToTerraform = exports.AppflowFlowSourceFlowConfigSourceConnectorPropertiesZendeskOutputReference = exports.appflowFlowSourceFlowConfigSourceConnectorPropertiesZendeskToHclTerraform = exports.appflowFlowSourceFlowConfigSourceConnectorPropertiesZendeskToTerraform = exports.AppflowFlowSourceFlowConfigSourceConnectorPropertiesVeevaOutputReference = exports.appflowFlowSourceFlowConfigSourceConnectorPropertiesVeevaToHclTerraform = exports.appflowFlowSourceFlowConfigSourceConnectorPropertiesVeevaToTerraform = exports.AppflowFlowSourceFlowConfigSourceConnectorPropertiesTrendmicroOutputReference = exports.appflowFlowSourceFlowConfigSourceConnectorPropertiesTrendmicroToHclTerraform = exports.appflowFlowSourceFlowConfigSourceConnectorPropertiesTrendmicroToTerraform = exports.AppflowFlowSourceFlowConfigSourceConnectorPropertiesSlackOutputReference = void 0;
const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti");
const cdktf = require("cdktf");
function appflowFlowDestinationFlowConfigDestinationConnectorPropertiesCustomConnectorErrorHandlingConfigToTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
return {
bucket_name: cdktf.stringToTerraform(struct.bucketName),
bucket_prefix: cdktf.stringToTerraform(struct.bucketPrefix),
fail_on_first_destination_error: cdktf.booleanToTerraform(struct.failOnFirstDestinationError),
};
}
exports.appflowFlowDestinationFlowConfigDestinationConnectorPropertiesCustomConnectorErrorHandlingConfigToTerraform = appflowFlowDestinationFlowConfigDestinationConnectorPropertiesCustomConnectorErrorHandlingConfigToTerraform;
function appflowFlowDestinationFlowConfigDestinationConnectorPropertiesCustomConnectorErrorHandlingConfigToHclTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
const attrs = {
bucket_name: {
value: cdktf.stringToHclTerraform(struct.bucketName),
isBlock: false,
type: "simple",
storageClassType: "string",
},
bucket_prefix: {
value: cdktf.stringToHclTerraform(struct.bucketPrefix),
isBlock: false,
type: "simple",
storageClassType: "string",
},
fail_on_first_destination_error: {
value: cdktf.booleanToHclTerraform(struct.failOnFirstDestinationError),
isBlock: false,
type: "simple",
storageClassType: "boolean",
},
};
// remove undefined attributes
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
}
exports.appflowFlowDestinationFlowConfigDestinationConnectorPropertiesCustomConnectorErrorHandlingConfigToHclTerraform = appflowFlowDestinationFlowConfigDestinationConnectorPropertiesCustomConnectorErrorHandlingConfigToHclTerraform;
class AppflowFlowDestinationFlowConfigDestinationConnectorPropertiesCustomConnectorErrorHandlingConfigOutputReference extends cdktf.ComplexObject {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
*/
constructor(terraformResource, terraformAttribute) {
super(terraformResource, terraformAttribute, false, 0);
this.isEmptyObject = false;
}
get internalValue() {
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
if (this._bucketName !== undefined) {
hasAnyValues = true;
internalValueResult.bucketName = this._bucketName;
}
if (this._bucketPrefix !== undefined) {
hasAnyValues = true;
internalValueResult.bucketPrefix = this._bucketPrefix;
}
if (this._failOnFirstDestinationError !== undefined) {
hasAnyValues = true;
internalValueResult.failOnFirstDestinationError = this._failOnFirstDestinationError;
}
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
this._bucketName = undefined;
this._bucketPrefix = undefined;
this._failOnFirstDestinationError = undefined;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
this._bucketName = value.bucketName;
this._bucketPrefix = value.bucketPrefix;
this._failOnFirstDestinationError = value.failOnFirstDestinationError;
}
}
get bucketName() {
return this.getStringAttribute('bucket_name');
}
set bucketName(value) {
this._bucketName = value;
}
resetBucketName() {
this._bucketName = undefined;
}
// Temporarily expose input value. Use with caution.
get bucketNameInput() {
return this._bucketName;
}
get bucketPrefix() {
return this.getStringAttribute('bucket_prefix');
}
set bucketPrefix(value) {
this._bucketPrefix = value;
}
resetBucketPrefix() {
this._bucketPrefix = undefined;
}
// Temporarily expose input value. Use with caution.
get bucketPrefixInput() {
return this._bucketPrefix;
}
get failOnFirstDestinationError() {
return this.getBooleanAttribute('fail_on_first_destination_error');
}
set failOnFirstDestinationError(value) {
this._failOnFirstDestinationError = value;
}
resetFailOnFirstDestinationError() {
this._failOnFirstDestinationError = undefined;
}
// Temporarily expose input value. Use with caution.
get failOnFirstDestinationErrorInput() {
return this._failOnFirstDestinationError;
}
}
exports.AppflowFlowDestinationFlowConfigDestinationConnectorPropertiesCustomConnectorErrorHandlingConfigOutputReference = AppflowFlowDestinationFlowConfigDestinationConnectorPropertiesCustomConnectorErrorHandlingConfigOutputReference;
_a = JSII_RTTI_SYMBOL_1;
AppflowFlowDestinationFlowConfigDestinationConnectorPropertiesCustomConnectorErrorHandlingConfigOutputReference[_a] = { fqn: "@cdktf/provider-aws.appflowFlow.AppflowFlowDestinationFlowConfigDestinationConnectorPropertiesCustomConnectorErrorHandlingConfigOutputReference", version: "19.50.0" };
function appflowFlowDestinationFlowConfigDestinationConnectorPropertiesCustomConnectorToTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
return {
custom_properties: cdktf.hashMapper(cdktf.stringToTerraform)(struct.customProperties),
entity_name: cdktf.stringToTerraform(struct.entityName),
id_field_names: cdktf.listMapper(cdktf.stringToTerraform, false)(struct.idFieldNames),
write_operation_type: cdktf.stringToTerraform(struct.writeOperationType),
error_handling_config: appflowFlowDestinationFlowConfigDestinationConnectorPropertiesCustomConnectorErrorHandlingConfigToTerraform(struct.errorHandlingConfig),
};
}
exports.appflowFlowDestinationFlowConfigDestinationConnectorPropertiesCustomConnectorToTerraform = appflowFlowDestinationFlowConfigDestinationConnectorPropertiesCustomConnectorToTerraform;
function appflowFlowDestinationFlowConfigDestinationConnectorPropertiesCustomConnectorToHclTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
const attrs = {
custom_properties: {
value: cdktf.hashMapperHcl(cdktf.stringToHclTerraform)(struct.customProperties),
isBlock: false,
type: "map",
storageClassType: "stringMap",
},
entity_name: {
value: cdktf.stringToHclTerraform(struct.entityName),
isBlock: false,
type: "simple",
storageClassType: "string",
},
id_field_names: {
value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(struct.idFieldNames),
isBlock: false,
type: "list",
storageClassType: "stringList",
},
write_operation_type: {
value: cdktf.stringToHclTerraform(struct.writeOperationType),
isBlock: false,
type: "simple",
storageClassType: "string",
},
error_handling_config: {
value: appflowFlowDestinationFlowConfigDestinationConnectorPropertiesCustomConnectorErrorHandlingConfigToHclTerraform(struct.errorHandlingConfig),
isBlock: true,
type: "list",
storageClassType: "AppflowFlowDestinationFlowConfigDestinationConnectorPropertiesCustomConnectorErrorHandlingConfigList",
},
};
// remove undefined attributes
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
}
exports.appflowFlowDestinationFlowConfigDestinationConnectorPropertiesCustomConnectorToHclTerraform = appflowFlowDestinationFlowConfigDestinationConnectorPropertiesCustomConnectorToHclTerraform;
class AppflowFlowDestinationFlowConfigDestinationConnectorPropertiesCustomConnectorOutputReference extends cdktf.ComplexObject {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
*/
constructor(terraformResource, terraformAttribute) {
super(terraformResource, terraformAttribute, false, 0);
this.isEmptyObject = false;
// error_handling_config - computed: false, optional: true, required: false
this._errorHandlingConfig = new AppflowFlowDestinationFlowConfigDestinationConnectorPropertiesCustomConnectorErrorHandlingConfigOutputReference(this, "error_handling_config");
}
get internalValue() {
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
if (this._customProperties !== undefined) {
hasAnyValues = true;
internalValueResult.customProperties = this._customProperties;
}
if (this._entityName !== undefined) {
hasAnyValues = true;
internalValueResult.entityName = this._entityName;
}
if (this._idFieldNames !== undefined) {
hasAnyValues = true;
internalValueResult.idFieldNames = this._idFieldNames;
}
if (this._writeOperationType !== undefined) {
hasAnyValues = true;
internalValueResult.writeOperationType = this._writeOperationType;
}
if (this._errorHandlingConfig?.internalValue !== undefined) {
hasAnyValues = true;
internalValueResult.errorHandlingConfig = this._errorHandlingConfig?.internalValue;
}
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
this._customProperties = undefined;
this._entityName = undefined;
this._idFieldNames = undefined;
this._writeOperationType = undefined;
this._errorHandlingConfig.internalValue = undefined;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
this._customProperties = value.customProperties;
this._entityName = value.entityName;
this._idFieldNames = value.idFieldNames;
this._writeOperationType = value.writeOperationType;
this._errorHandlingConfig.internalValue = value.errorHandlingConfig;
}
}
get customProperties() {
return this.getStringMapAttribute('custom_properties');
}
set customProperties(value) {
this._customProperties = value;
}
resetCustomProperties() {
this._customProperties = undefined;
}
// Temporarily expose input value. Use with caution.
get customPropertiesInput() {
return this._customProperties;
}
get entityName() {
return this.getStringAttribute('entity_name');
}
set entityName(value) {
this._entityName = value;
}
// Temporarily expose input value. Use with caution.
get entityNameInput() {
return this._entityName;
}
get idFieldNames() {
return this.getListAttribute('id_field_names');
}
set idFieldNames(value) {
this._idFieldNames = value;
}
resetIdFieldNames() {
this._idFieldNames = undefined;
}
// Temporarily expose input value. Use with caution.
get idFieldNamesInput() {
return this._idFieldNames;
}
get writeOperationType() {
return this.getStringAttribute('write_operation_type');
}
set writeOperationType(value) {
this._writeOperationType = value;
}
resetWriteOperationType() {
this._writeOperationType = undefined;
}
// Temporarily expose input value. Use with caution.
get writeOperationTypeInput() {
return this._writeOperationType;
}
get errorHandlingConfig() {
return this._errorHandlingConfig;
}
putErrorHandlingConfig(value) {
this._errorHandlingConfig.internalValue = value;
}
resetErrorHandlingConfig() {
this._errorHandlingConfig.internalValue = undefined;
}
// Temporarily expose input value. Use with caution.
get errorHandlingConfigInput() {
return this._errorHandlingConfig.internalValue;
}
}
exports.AppflowFlowDestinationFlowConfigDestinationConnectorPropertiesCustomConnectorOutputReference = AppflowFlowDestinationFlowConfigDestinationConnectorPropertiesCustomConnectorOutputReference;
_b = JSII_RTTI_SYMBOL_1;
AppflowFlowDestinationFlowConfigDestinationConnectorPropertiesCustomConnectorOutputReference[_b] = { fqn: "@cdktf/provider-aws.appflowFlow.AppflowFlowDestinationFlowConfigDestinationConnectorPropertiesCustomConnectorOutputReference", version: "19.50.0" };
function appflowFlowDestinationFlowConfigDestinationConnectorPropertiesCustomerProfilesToTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
return {
domain_name: cdktf.stringToTerraform(struct.domainName),
object_type_name: cdktf.stringToTerraform(struct.objectTypeName),
};
}
exports.appflowFlowDestinationFlowConfigDestinationConnectorPropertiesCustomerProfilesToTerraform = appflowFlowDestinationFlowConfigDestinationConnectorPropertiesCustomerProfilesToTerraform;
function appflowFlowDestinationFlowConfigDestinationConnectorPropertiesCustomerProfilesToHclTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
const attrs = {
domain_name: {
value: cdktf.stringToHclTerraform(struct.domainName),
isBlock: false,
type: "simple",
storageClassType: "string",
},
object_type_name: {
value: cdktf.stringToHclTerraform(struct.objectTypeName),
isBlock: false,
type: "simple",
storageClassType: "string",
},
};
// remove undefined attributes
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
}
exports.appflowFlowDestinationFlowConfigDestinationConnectorPropertiesCustomerProfilesToHclTerraform = appflowFlowDestinationFlowConfigDestinationConnectorPropertiesCustomerProfilesToHclTerraform;
class AppflowFlowDestinationFlowConfigDestinationConnectorPropertiesCustomerProfilesOutputReference extends cdktf.ComplexObject {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
*/
constructor(terraformResource, terraformAttribute) {
super(terraformResource, terraformAttribute, false, 0);
this.isEmptyObject = false;
}
get internalValue() {
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
if (this._domainName !== undefined) {
hasAnyValues = true;
internalValueResult.domainName = this._domainName;
}
if (this._objectTypeName !== undefined) {
hasAnyValues = true;
internalValueResult.objectTypeName = this._objectTypeName;
}
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
this._domainName = undefined;
this._objectTypeName = undefined;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
this._domainName = value.domainName;
this._objectTypeName = value.objectTypeName;
}
}
get domainName() {
return this.getStringAttribute('domain_name');
}
set domainName(value) {
this._domainName = value;
}
// Temporarily expose input value. Use with caution.
get domainNameInput() {
return this._domainName;
}
get objectTypeName() {
return this.getStringAttribute('object_type_name');
}
set objectTypeName(value) {
this._objectTypeName = value;
}
resetObjectTypeName() {
this._objectTypeName = undefined;
}
// Temporarily expose input value. Use with caution.
get objectTypeNameInput() {
return this._objectTypeName;
}
}
exports.AppflowFlowDestinationFlowConfigDestinationConnectorPropertiesCustomerProfilesOutputReference = AppflowFlowDestinationFlowConfigDestinationConnectorPropertiesCustomerProfilesOutputReference;
_c = JSII_RTTI_SYMBOL_1;
AppflowFlowDestinationFlowConfigDestinationConnectorPropertiesCustomerProfilesOutputReference[_c] = { fqn: "@cdktf/provider-aws.appflowFlow.AppflowFlowDestinationFlowConfigDestinationConnectorPropertiesCustomerProfilesOutputReference", version: "19.50.0" };
function appflowFlowDestinationFlowConfigDestinationConnectorPropertiesEventBridgeErrorHandlingConfigToTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
return {
bucket_name: cdktf.stringToTerraform(struct.bucketName),
bucket_prefix: cdktf.stringToTerraform(struct.bucketPrefix),
fail_on_first_destination_error: cdktf.booleanToTerraform(struct.failOnFirstDestinationError),
};
}
exports.appflowFlowDestinationFlowConfigDestinationConnectorPropertiesEventBridgeErrorHandlingConfigToTerraform = appflowFlowDestinationFlowConfigDestinationConnectorPropertiesEventBridgeErrorHandlingConfigToTerraform;
function appflowFlowDestinationFlowConfigDestinationConnectorPropertiesEventBridgeErrorHandlingConfigToHclTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
const attrs = {
bucket_name: {
value: cdktf.stringToHclTerraform(struct.bucketName),
isBlock: false,
type: "simple",
storageClassType: "string",
},
bucket_prefix: {
value: cdktf.stringToHclTerraform(struct.bucketPrefix),
isBlock: false,
type: "simple",
storageClassType: "string",
},
fail_on_first_destination_error: {
value: cdktf.booleanToHclTerraform(struct.failOnFirstDestinationError),
isBlock: false,
type: "simple",
storageClassType: "boolean",
},
};
// remove undefined attributes
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
}
exports.appflowFlowDestinationFlowConfigDestinationConnectorPropertiesEventBridgeErrorHandlingConfigToHclTerraform = appflowFlowDestinationFlowConfigDestinationConnectorPropertiesEventBridgeErrorHandlingConfigToHclTerraform;
class AppflowFlowDestinationFlowConfigDestinationConnectorPropertiesEventBridgeErrorHandlingConfigOutputReference extends cdktf.ComplexObject {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
*/
constructor(terraformResource, terraformAttribute) {
super(terraformResource, terraformAttribute, false, 0);
this.isEmptyObject = false;
}
get internalValue() {
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
if (this._bucketName !== undefined) {
hasAnyValues = true;
internalValueResult.bucketName = this._bucketName;
}
if (this._bucketPrefix !== undefined) {
hasAnyValues = true;
internalValueResult.bucketPrefix = this._bucketPrefix;
}
if (this._failOnFirstDestinationError !== undefined) {
hasAnyValues = true;
internalValueResult.failOnFirstDestinationError = this._failOnFirstDestinationError;
}
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
this._bucketName = undefined;
this._bucketPrefix = undefined;
this._failOnFirstDestinationError = undefined;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
this._bucketName = value.bucketName;
this._bucketPrefix = value.bucketPrefix;
this._failOnFirstDestinationError = value.failOnFirstDestinationError;
}
}
get bucketName() {
return this.getStringAttribute('bucket_name');
}
set bucketName(value) {
this._bucketName = value;
}
resetBucketName() {
this._bucketName = undefined;
}
// Temporarily expose input value. Use with caution.
get bucketNameInput() {
return this._bucketName;
}
get bucketPrefix() {
return this.getStringAttribute('bucket_prefix');
}
set bucketPrefix(value) {
this._bucketPrefix = value;
}
resetBucketPrefix() {
this._bucketPrefix = undefined;
}
// Temporarily expose input value. Use with caution.
get bucketPrefixInput() {
return this._bucketPrefix;
}
get failOnFirstDestinationError() {
return this.getBooleanAttribute('fail_on_first_destination_error');
}
set failOnFirstDestinationError(value) {
this._failOnFirstDestinationError = value;
}
resetFailOnFirstDestinationError() {
this._failOnFirstDestinationError = undefined;
}
// Temporarily expose input value. Use with caution.
get failOnFirstDestinationErrorInput() {
return this._failOnFirstDestinationError;
}
}
exports.AppflowFlowDestinationFlowConfigDestinationConnectorPropertiesEventBridgeErrorHandlingConfigOutputReference = AppflowFlowDestinationFlowConfigDestinationConnectorPropertiesEventBridgeErrorHandlingConfigOutputReference;
_d = JSII_RTTI_SYMBOL_1;
AppflowFlowDestinationFlowConfigDestinationConnectorPropertiesEventBridgeErrorHandlingConfigOutputReference[_d] = { fqn: "@cdktf/provider-aws.appflowFlow.AppflowFlowDestinationFlowConfigDestinationConnectorPropertiesEventBridgeErrorHandlingConfigOutputReference", version: "19.50.0" };
function appflowFlowDestinationFlowConfigDestinationConnectorPropertiesEventBridgeToTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
return {
object: cdktf.stringToTerraform(struct.object),
error_handling_config: appflowFlowDestinationFlowConfigDestinationConnectorPropertiesEventBridgeErrorHandlingConfigToTerraform(struct.errorHandlingConfig),
};
}
exports.appflowFlowDestinationFlowConfigDestinationConnectorPropertiesEventBridgeToTerraform = appflowFlowDestinationFlowConfigDestinationConnectorPropertiesEventBridgeToTerraform;
function appflowFlowDestinationFlowConfigDestinationConnectorPropertiesEventBridgeToHclTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
const attrs = {
object: {
value: cdktf.stringToHclTerraform(struct.object),
isBlock: false,
type: "simple",
storageClassType: "string",
},
error_handling_config: {
value: appflowFlowDestinationFlowConfigDestinationConnectorPropertiesEventBridgeErrorHandlingConfigToHclTerraform(struct.errorHandlingConfig),
isBlock: true,
type: "list",
storageClassType: "AppflowFlowDestinationFlowConfigDestinationConnectorPropertiesEventBridgeErrorHandlingConfigList",
},
};
// remove undefined attributes
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
}
exports.appflowFlowDestinationFlowConfigDestinationConnectorPropertiesEventBridgeToHclTerraform = appflowFlowDestinationFlowConfigDestinationConnectorPropertiesEventBridgeToHclTerraform;
class AppflowFlowDestinationFlowConfigDestinationConnectorPropertiesEventBridgeOutputReference extends cdktf.ComplexObject {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
*/
constructor(terraformResource, terraformAttribute) {
super(terraformResource, terraformAttribute, false, 0);
this.isEmptyObject = false;
// error_handling_config - computed: false, optional: true, required: false
this._errorHandlingConfig = new AppflowFlowDestinationFlowConfigDestinationConnectorPropertiesEventBridgeErrorHandlingConfigOutputReference(this, "error_handling_config");
}
get internalValue() {
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
if (this._object !== undefined) {
hasAnyValues = true;
internalValueResult.object = this._object;
}
if (this._errorHandlingConfig?.internalValue !== undefined) {
hasAnyValues = true;
internalValueResult.errorHandlingConfig = this._errorHandlingConfig?.internalValue;
}
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
this._object = undefined;
this._errorHandlingConfig.internalValue = undefined;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
this._object = value.object;
this._errorHandlingConfig.internalValue = value.errorHandlingConfig;
}
}
get object() {
return this.getStringAttribute('object');
}
set object(value) {
this._object = value;
}
// Temporarily expose input value. Use with caution.
get objectInput() {
return this._object;
}
get errorHandlingConfig() {
return this._errorHandlingConfig;
}
putErrorHandlingConfig(value) {
this._errorHandlingConfig.internalValue = value;
}
resetErrorHandlingConfig() {
this._errorHandlingConfig.internalValue = undefined;
}
// Temporarily expose input value. Use with caution.
get errorHandlingConfigInput() {
return this._errorHandlingConfig.internalValue;
}
}
exports.AppflowFlowDestinationFlowConfigDestinationConnectorPropertiesEventBridgeOutputReference = AppflowFlowDestinationFlowConfigDestinationConnectorPropertiesEventBridgeOutputReference;
_e = JSII_RTTI_SYMBOL_1;
AppflowFlowDestinationFlowConfigDestinationConnectorPropertiesEventBridgeOutputReference[_e] = { fqn: "@cdktf/provider-aws.appflowFlow.AppflowFlowDestinationFlowConfigDestinationConnectorPropertiesEventBridgeOutputReference", version: "19.50.0" };
function appflowFlowDestinationFlowConfigDestinationConnectorPropertiesHoneycodeErrorHandlingConfigToTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
return {
bucket_name: cdktf.stringToTerraform(struct.bucketName),
bucket_prefix: cdktf.stringToTerraform(struct.bucketPrefix),
fail_on_first_destination_error: cdktf.booleanToTerraform(struct.failOnFirstDestinationError),
};
}
exports.appflowFlowDestinationFlowConfigDestinationConnectorPropertiesHoneycodeErrorHandlingConfigToTerraform = appflowFlowDestinationFlowConfigDestinationConnectorPropertiesHoneycodeErrorHandlingConfigToTerraform;
function appflowFlowDestinationFlowConfigDestinationConnectorPropertiesHoneycodeErrorHandlingConfigToHclTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
const attrs = {
bucket_name: {
value: cdktf.stringToHclTerraform(struct.bucketName),
isBlock: false,
type: "simple",
storageClassType: "string",
},
bucket_prefix: {
value: cdktf.stringToHclTerraform(struct.bucketPrefix),
isBlock: false,
type: "simple",
storageClassType: "string",
},
fail_on_first_destination_error: {
value: cdktf.booleanToHclTerraform(struct.failOnFirstDestinationError),
isBlock: false,
type: "simple",
storageClassType: "boolean",
},
};
// remove undefined attributes
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
}
exports.appflowFlowDestinationFlowConfigDestinationConnectorPropertiesHoneycodeErrorHandlingConfigToHclTerraform = appflowFlowDestinationFlowConfigDestinationConnectorPropertiesHoneycodeErrorHandlingConfigToHclTerraform;
class AppflowFlowDestinationFlowConfigDestinationConnectorPropertiesHoneycodeErrorHandlingConfigOutputReference extends cdktf.ComplexObject {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
*/
constructor(terraformResource, terraformAttribute) {
super(terraformResource, terraformAttribute, false, 0);
this.isEmptyObject = false;
}
get internalValue() {
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
if (this._bucketName !== undefined) {
hasAnyValues = true;
internalValueResult.bucketName = this._bucketName;
}
if (this._bucketPrefix !== undefined) {
hasAnyValues = true;
internalValueResult.bucketPrefix = this._bucketPrefix;
}
if (this._failOnFirstDestinationError !== undefined) {
hasAnyValues = true;
internalValueResult.failOnFirstDestinationError = this._failOnFirstDestinationError;
}
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value