CustomConnectorDestinationPropertiesProperty Struct
The properties that are applied when the custom connector is being used as a destination.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_appflow as appflow } from 'aws-cdk-lib';
const customConnectorDestinationPropertiesProperty: appflow.CfnFlow.CustomConnectorDestinationPropertiesProperty = {
entityName: 'entityName',
// the properties below are optional
customProperties: {
customPropertiesKey: 'customProperties',
},
errorHandlingConfig: {
bucketName: 'bucketName',
bucketPrefix: 'bucketPrefix',
failOnFirstError: false,
},
idFieldNames: ['idFieldNames'],
writeOperationType: 'writeOperationType',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_appflow as appflow
custom_connector_destination_properties_property = appflow.CfnFlow.CustomConnectorDestinationPropertiesProperty(
entity_name="entityName",
# the properties below are optional
custom_properties={
"custom_properties_key": "customProperties"
},
error_handling_config=appflow.CfnFlow.ErrorHandlingConfigProperty(
bucket_name="bucketName",
bucket_prefix="bucketPrefix",
fail_on_first_error=False
),
id_field_names=["idFieldNames"],
write_operation_type="writeOperationType"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.appflow.*;
CustomConnectorDestinationPropertiesProperty customConnectorDestinationPropertiesProperty = CustomConnectorDestinationPropertiesProperty.builder()
.entityName("entityName")
// the properties below are optional
.customProperties(Map.of(
"customPropertiesKey", "customProperties"))
.errorHandlingConfig(ErrorHandlingConfigProperty.builder()
.bucketName("bucketName")
.bucketPrefix("bucketPrefix")
.failOnFirstError(false)
.build())
.idFieldNames(List.of("idFieldNames"))
.writeOperationType("writeOperationType")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.AppFlow;
var customConnectorDestinationPropertiesProperty = new CustomConnectorDestinationPropertiesProperty {
EntityName = "entityName",
// the properties below are optional
CustomProperties = new Dictionary<string, string> {
{ "customPropertiesKey", "customProperties" }
},
ErrorHandlingConfig = new ErrorHandlingConfigProperty {
BucketName = "bucketName",
BucketPrefix = "bucketPrefix",
FailOnFirstError = false
},
IdFieldNames = new [] { "idFieldNames" },
WriteOperationType = "writeOperationType"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
customConnectorDestinationPropertiesProperty := &CustomConnectorDestinationPropertiesProperty{
EntityName: jsii.String("entityName"),
// the properties below are optional
CustomProperties: map[string]*string{
"customPropertiesKey": jsii.String("customProperties"),
},
ErrorHandlingConfig: &ErrorHandlingConfigProperty{
BucketName: jsii.String("bucketName"),
BucketPrefix: jsii.String("bucketPrefix"),
FailOnFirstError: jsii.Boolean(false),
},
IdFieldNames: []*string{
jsii.String("idFieldNames"),
},
WriteOperationType: jsii.String("writeOperationType"),
}
Properties
customPropertiesoptionalIResolvable | { [key: string]: string }custom_propertiesoptionaltyping.Union[IResolvable, typing.Mapping[str, str]]customPropertiesoptionalIResolvableCustomPropertiesoptionalIResolvableCustomPropertiesoptionalinterface{} #The custom properties that are specific to the connector when it's used as a destination in the flow.
The entity specified in the custom connector as a destination in the flow.
errorHandlingConfigoptionalIResolvable | CfnFlow.error_handling_configoptionaltyping.Union[IResolvable, ErrorHandlingConfigProperty]errorHandlingConfigoptionalIResolvableErrorHandlingConfigoptionalIResolvableErrorHandlingConfigoptionalinterface{} #The settings that determine how Amazon AppFlow handles an error when placing data in the custom connector as destination.
idFieldNamesoptionalstring[]id_field_namesoptionaltyping.List[str]idFieldNamesoptionalList<String>IdFieldNamesoptionalstring[]IdFieldNamesoptional*[]*string #The name of the field that Amazon AppFlow uses as an ID when performing a write operation such as update, delete, or upsert.
writeOperationTypeoptionalstringwrite_operation_typeoptionalstrwriteOperationTypeoptionalStringWriteOperationTypeoptionalstringWriteOperationTypeoptional*string #Specifies the type of write operation to be performed in the custom connector when it's used as destination.