AWS::Events::RuleResource Type definition for AWS::Events::Rule
9 configurable properties. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
Description | string | |
EventBusName | string | |
EventPattern | stringobject | |
Name | string | Create-only |
RoleArn | string | |
ScheduleExpression | string | |
State | string | |
Tags | Array<Tag> | |
Targets | Array<Target> |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
Arn | string | The ARN of the rule, such as arn:aws:events:us-east-2:123456789012:rule/example. |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::Events::Rule
Resources:
MyResource:
Type: AWS::Events::Rule
Properties:
Tags:
- Key: Environment
Value: Production
Description: !Ref "AWS::StackName"
Name: !Ref "AWS::StackName"Permissions CloudFormation needs in your IAM role to manage this resource.
iam:PassRoleevents:DescribeRuleevents:ListTargetsByRuleevents:ListTagsForResourceiam:PassRoleevents:DescribeRuleevents:PutRuleevents:PutTargetsevents:TagResourceiam:PassRoleevents:DescribeRuleevents:PutRuleevents:RemoveTargetsevents:PutTargetsevents:UntagResourceevents:TagResourceevents:ListRulesiam:PassRoleevents:DescribeRuleevents:DeleteRuleevents:RemoveTargetsevents:ListTargetsByRuleOur bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterArnThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
Name