interface EventBridgeTargetParameters
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Pipes.Targets.Alpha.EventBridgeTargetParameters |
![]() | github.com/aws/aws-cdk-go/awscdkpipestargetsalpha/v2#EventBridgeTargetParameters |
![]() | software.amazon.awscdk.services.pipes.targets.alpha.EventBridgeTargetParameters |
![]() | aws_cdk.aws_pipes_targets_alpha.EventBridgeTargetParameters |
![]() | @aws-cdk/aws-pipes-targets-alpha ยป EventBridgeTargetParameters |
EventBridge target properties.
Example
declare const sourceQueue: sqs.Queue;
declare const targetEventBus: events.EventBus;
const eventBusTarget = new targets.EventBridgeTarget(targetEventBus, {
inputTransformation: pipes.InputTransformation.fromObject({ body: "๐" }),
});
const pipe = new pipes.Pipe(this, 'Pipe', {
source: new SqsSource(sourceQueue),
target: eventBusTarget,
});
Properties
Name | Type | Description |
---|---|---|
detail | string | A free-form string used to decide what fields to expect in the event detail. |
endpoint | string | The URL subdomain of the endpoint. |
input | IInput | The input transformation to apply to the message before sending it to the target. |
resources? | string[] | AWS resources, identified by Amazon Resource Name (ARN), which the event primarily concerns. |
source? | string | The source of the event. |
time? | string | The time stamp of the event, per RFC3339. |
detailType?
Type:
string
(optional, default: none)
A free-form string used to decide what fields to expect in the event detail.
endpointId?
Type:
string
(optional, default: none)
The URL subdomain of the endpoint.
// if the URL for the endpoint is https://abcde.veo.endpoints.event.amazonaws.com
'abcde.veo'
inputTransformation?
Type:
IInput
(optional, default: none)
The input transformation to apply to the message before sending it to the target.
resources?
Type:
string[]
(optional, default: none)
AWS resources, identified by Amazon Resource Name (ARN), which the event primarily concerns.
source?
Type:
string
(optional, default: none)
The source of the event.
time?
Type:
string
(optional, default: the time stamp of the PutEvents call)
The time stamp of the event, per RFC3339.