> **Experimental**
>
> `@aws-cdk/aws-pipes-targets-alpha` is an [**experimental**](https://docs.aws.amazon.com/cdk/api/stability.html) (alpha) package: its API may change in any release, without a major version bump.
# EventBridgeTargetParameters

EventBridge target properties.

Used as props by: [EventBridgeTarget](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-pipes-targets-alpha.EventBridgeTarget.html)

- Stability: [Experimental](https://docs.aws.amazon.com/cdk/api/stability.html)
- Source: [`lib/event-bridge.ts`](https://github.com/aws/aws-cdk/blob/v2.278.0/packages/@aws-cdk/aws-pipes-targets-alpha/lib/event-bridge.ts#L9)

## Example

TypeScript:

```ts
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,
});
```

Python:

```python
# source_queue: sqs.Queue
# target_event_bus: events.EventBus

event_bus_target = targets.EventBridgeTarget(target_event_bus,
    input_transformation=pipes.InputTransformation.from_object({"body": "👀"})
)

pipe = pipes.Pipe(self, "Pipe",
    source=SqsSource(source_queue),
    target=event_bus_target
)
```

Java:

```java
Queue sourceQueue;
EventBus targetEventBus;

EventBridgeTarget eventBusTarget = EventBridgeTarget.Builder.create(targetEventBus)
        .inputTransformation(InputTransformation.fromObject(Map.of("body", "👀")))
        .build();

Pipe pipe = Pipe.Builder.create(this, "Pipe")
        .source(new SqsSource(sourceQueue))
        .target(eventBusTarget)
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.AWS.Pipes.Targets.Alpha
Queue sourceQueue;
EventBus targetEventBus;

var eventBusTarget = new EventBridgeTarget(targetEventBus, new EventBridgeTargetParameters {
    InputTransformation = InputTransformation.FromObject(new Dictionary<string, object> { { "body", "👀" } })
});

var pipe = new Pipe(this, "Pipe", new PipeProps {
    Source = new SqsSource(sourceQueue),
    Target = eventBusTarget
});
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdkpipestargetsalpha/v2
var sourceQueue Queue
var targetEventBus EventBus

eventBusTarget := targets.NewEventBridgeTarget(targetEventBus, &EventBridgeTargetParameters{
	InputTransformation: pipes.InputTransformation_FromObject(map[string]interface{}{
		"body": jsii.String("👀"),
	}),
})

pipe := pipes.NewPipe(this, jsii.String("Pipe"), &PipeProps{
	Source: awscdkpipessourcesalpha.NewSqsSource(sourceQueue),
	Target: eventBusTarget,
})
```

## Properties

- `detailType`: string = none — A free-form string used to decide what fields to expect in the event detail.

- `endpointId`: string = none — The URL subdomain of the endpoint.

  ```ts
  // if the URL for the endpoint is https://abcde.veo.endpoints.event.amazonaws.com
  'abcde.veo'
  ```

- `inputTransformation`: [IInputTransformation](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-pipes-alpha.IInputTransformation.html) = none — The input transformation to apply to the message before sending it to the target.

- `resources`: string[] = none — AWS resources, identified by Amazon Resource Name (ARN), which the event primarily concerns.

- `source`: string = none — The source of the event.

- `time`: string — The time stamp of the event, per RFC3339.

  **Default:** the time stamp of the PutEvents call
