AWS::EventsV2::EventSourceResource schema for AWS::EventsV2::EventSource. A managed event source that forwards AWS service events or partner events onto a custom event bus.
5 configurable properties. 3 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
Configuration | EventSourceConfiguration | Required |
EventBusArn | string | RequiredCreate-only |
Name | string | RequiredCreate-only |
Description | string | |
Tags | Array<Tag> |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
CreationTime | string | The time the event source was created, as an ISO 8601 timestamp. |
EventSourceArn | string | The Amazon Resource Name (ARN) of the event source. Its resource segment has the form event-sourcev2/<type>/<name>/<id>. The type segment is set by the service (aws.service for AWS service events, aws.partner for partner events) and is not part of the event source name. The id segment is a 25-character identifier generated by the service. |
LastModifiedTime | string | The time the event source was last modified, as an ISO 8601 timestamp. |
Revoked | boolean | Whether the event bus owner has revoked this event source. Revocation is permanent: a revoked event source cannot be updated, but it can be deleted. |
State | string | The lifecycle state of the event source: CREATING, ACTIVE, UPDATING, CREATE_FAILED, UPDATE_FAILED, DELETING, or DELETE_FAILED. Revocation by the event bus owner is reported by the Revoked property, not by the state. |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::EventsV2::EventSource
Resources:
MyResource:
Type: AWS::EventsV2::EventSource
Properties:
Name: "my-name"
EventBusArn: "arn:aws:service:region:account:resource"
Configuration: "value"
Tags:
- Key: Environment
Value: Production
Description: !Ref "AWS::StackName"Permissions CloudFormation needs in your IAM role to manage this resource.
events:CreateEventSourceevents:DescribeEventSourceevents:ListEventSourceskms:Decryptkms:DescribeKeykms:Encryptkms:GenerateDataKeyWithoutPlaintextkms:ReEncryptFromkms:ReEncryptToevents:ListTagsForResourceevents:TagResourceevents:DescribeEventSourcekms:Decryptevents:ListTagsForResourceevents:UpdateEventSourceevents:DescribeEventSourceevents:CreateEventSourcekms:Decryptkms:DescribeKeykms:Encryptkms:GenerateDataKeyWithoutPlaintextkms:ReEncryptFromkms:ReEncryptToevents:TagResourceevents:UntagResourceevents:DeleteEventSourceevents:DescribeEventSourceevents:ListEventSourcesOur bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterEventSourceArnThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
NameEventBusArnConfiguration/PartnerEventsConfiguration/PartnerEventSourceArn