EventBridgeDestinationPropertiesProperty Struct
The properties that are applied when Amazon EventBridge 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 eventBridgeDestinationPropertiesProperty: appflow.CfnFlow.EventBridgeDestinationPropertiesProperty = {
object: 'object',
// the properties below are optional
errorHandlingConfig: {
bucketName: 'bucketName',
bucketPrefix: 'bucketPrefix',
failOnFirstError: false,
},
};
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
event_bridge_destination_properties_property = appflow.CfnFlow.EventBridgeDestinationPropertiesProperty(
object="object",
# the properties below are optional
error_handling_config=appflow.CfnFlow.ErrorHandlingConfigProperty(
bucket_name="bucketName",
bucket_prefix="bucketPrefix",
fail_on_first_error=False
)
)
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.*;
EventBridgeDestinationPropertiesProperty eventBridgeDestinationPropertiesProperty = EventBridgeDestinationPropertiesProperty.builder()
.object("object")
// the properties below are optional
.errorHandlingConfig(ErrorHandlingConfigProperty.builder()
.bucketName("bucketName")
.bucketPrefix("bucketPrefix")
.failOnFirstError(false)
.build())
.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 eventBridgeDestinationPropertiesProperty = new EventBridgeDestinationPropertiesProperty {
Object = "object",
// the properties below are optional
ErrorHandlingConfig = new ErrorHandlingConfigProperty {
BucketName = "bucketName",
BucketPrefix = "bucketPrefix",
FailOnFirstError = false
}
};
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"
eventBridgeDestinationPropertiesProperty := &EventBridgeDestinationPropertiesProperty{
Object: jsii.String("object"),
// the properties below are optional
ErrorHandlingConfig: &ErrorHandlingConfigProperty{
BucketName: jsii.String("bucketName"),
BucketPrefix: jsii.String("bucketPrefix"),
FailOnFirstError: jsii.Boolean(false),
},
}
Properties
errorHandlingConfigoptionalIResolvable | CfnFlow.error_handling_configoptionaltyping.Union[IResolvable, ErrorHandlingConfigProperty]errorHandlingConfigoptionalIResolvableErrorHandlingConfigoptionalIResolvableErrorHandlingConfigoptionalinterface{} #The object specified in the Amplitude flow source.
The object specified in the Amazon EventBridge flow destination.