AWS::EC2::InstanceEventWindowResource type definition for AWS::EC2::InstanceEventWindow. An event window defines a recurring set of time ranges, or a cron expression, during which AWS-initiated maintenance events may be scheduled for the associated Amazon EC2 instances or Dedicated Hosts.
4 configurable properties. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
CronExpression | string | |
Name | string | |
Tags | Array<Tag> | |
TimeRanges | Array<TimeRange> |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
Arn | string | The Amazon Resource Name (ARN) of the event window. |
InstanceEventWindowId | string | The ID of the event window. |
State | string | The current state of the event window. Observed values include creating, active, modifying, deleting and deleted. |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::EC2::InstanceEventWindow
Resources:
MyResource:
Type: AWS::EC2::InstanceEventWindow
Properties:
Tags:
- Key: Environment
Value: Production
Name: !Ref "AWS::StackName"Permissions CloudFormation needs in your IAM role to manage this resource.
ec2:CreateInstanceEventWindowec2:CreateTagsec2:DescribeInstanceEventWindowsec2:DescribeInstanceEventWindowsec2:ModifyInstanceEventWindowec2:DescribeInstanceEventWindowsec2:CreateTagsec2:DeleteTagsec2:DeleteInstanceEventWindowec2:DescribeInstanceEventWindowsec2:DescribeInstanceEventWindowsEverything you need to know about EC2 on one page. HD quality, print-friendly.
Download Free InfographicArn