AWS::EventsV2::SubscriberResource type definition for AWS::EventsV2::Subscriber, an Amazon EventBridge subscription that delivers events from an event bus to a target. Canonical identity is the combination of bus, name, and target. Replacement uses delete_then_create.
16 configurable properties. 3 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
EventBusArn | string | RequiredCreate-only |
InvokeConfiguration | InvokeConfiguration | Required |
Name | string | RequiredCreate-only |
BatchConfiguration | BatchConfiguration | |
Description | string | |
FilterConfiguration | FilterConfiguration | |
LogConfiguration | LogConfiguration | |
OnFailureConfiguration | OnFailureConfiguration | |
PointInTimeConfiguration | PointInTimeConfiguration | Create-only |
ResumePosition | string | Write-only |
RetryPolicy | RetryPolicy | |
StartingPosition | string | Create-only |
State | string | |
Tags | Array<Tag> | |
Transformer | Transformer | |
Type | string | Create-only |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
BusName | string | The name of the event bus this subscriber belongs to. This property is read-only. |
CreationTime | string | Creation timestamp (ISO-8601), read-only. |
LastModifiedTime | string | Last-modification timestamp (ISO-8601), read-only. |
SubscriberArn | string | The Amazon Resource Name (ARN) of the subscriber. |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::EventsV2::Subscriber
Resources:
MyResource:
Type: AWS::EventsV2::Subscriber
Properties:
Name: "my-name"
EventBusArn: "arn:aws:service:region:account:resource"
InvokeConfiguration: "value"
Tags:
- Key: Environment
Value: Production
Description: !Ref "AWS::StackName"Permissions CloudFormation needs in your IAM role to manage this resource.
events:CreateSubscriberevents:DescribeSubscriberevents:ListSubscribersevents:ListTagsForResourceevents:TagResourceiam:PassRoleevents:DescribeSubscriberevents:ListTagsForResourceevents:UpdateSubscriberevents:DescribeSubscriberevents:TagResourceevents:UntagResourceiam:PassRoleevents:DeleteSubscriberevents:DescribeSubscriberevents:ListSubscribersOur bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterSubscriberArnThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
NameEventBusArnInvokeConfiguration/TargetArnTypeStartingPositionPointInTimeConfiguration