AwsEventbridgeEventRuleEventBusTargetArgs

interface AwsEventbridgeEventRuleEventBusTargetArgs extends EventbridgeEventRuleTargetCommon { deadLetterConfig?: NonNullable<Input<EventTargetDeadLetterConfig | undefined>>; eventBus: Input<string>; iamRole?: Input<string>; input?: Input<string>; inputPath?: Input<string>; inputTransformer?: NonNullable<Input<EventTargetInputTransformer | undefined>>; lambda?: undefined; logGroup?: undefined; retryPolicy?: NonNullable<Input<EventTargetRetryPolicy | undefined>>; sfn?: undefined; sns?: undefined; sqs?: undefined; }

Target configuration for routing events to an EventBridge event bus.

Example

CODE
const rule = new AwsEventbridgeEventRule({
  name: 'notify',
  defaultEventBus,
  eventPattern: JSON.stringify({ source: ['myapp'] }),
  targets: { targetBus: {
    eventBus: targetBus.arn,
    iamRole: forwardingRole.arn,
  } },
});

Hierarchy

  • EventbridgeEventRuleTargetCommon
  • AwsEventbridgeEventRuleEventBusTargetArgs

Properties

deadLetterConfig: NonNullable<Input<EventTargetDeadLetterConfig | undefined>>

Inherited from deadLetterConfig

Dead-letter queue configuration for undeliverable events.

eventBus: Input<string>

ARN or name of the target event bus. Accepts a full event bus ARN or an event bus name; names are resolved to ARNs automatically.

iamRole: Input<string>

IAM role. Required when routing to a bus in a different account or region. Accepts a full role ARN, a role name, or a pulumi.Output<string> that resolves to an ARN.

input: Input<string>

Inherited from input

Verbatim JSON text passed to the target. Conflicts with inputPath and inputTransformer.

inputPath: Input<string>

Inherited from inputPath

JSONPath expression to extract part of the matched event. Conflicts with input and inputTransformer.

inputTransformer: NonNullable<Input<EventTargetInputTransformer | undefined>>

Inherited from inputTransformer

Custom input transformation applied before delivering the event. Conflicts with input and inputPath.

lambda: undefined

logGroup: undefined

retryPolicy: NonNullable<Input<EventTargetRetryPolicy | undefined>>

Inherited from retryPolicy

Retry policy for failed target invocations.

sfn: undefined

sns: undefined

sqs: undefined