AWS::Events::ArchiveResource Type definition for AWS::Events::Archive
6 configurable properties. 1 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
SourceArn | string | RequiredCreate-only |
ArchiveName | string | Create-only |
Description | string | |
EventPattern | object | |
KmsKeyIdentifier | string | |
RetentionDays | integer |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
Arn | string | - |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::Events::Archive
Resources:
MyResource:
Type: AWS::Events::Archive
Properties:
SourceArn: "arn:aws:service:region:account:resource"
Description: !Ref "AWS::StackName"Permissions CloudFormation needs in your IAM role to manage this resource.
events:DescribeArchiveevents:CreateArchivekms:DescribeKeykms:GenerateDataKeykms:Decryptevents:DescribeArchiveevents:DeleteArchiveevents:ListArchivesevents:DescribeArchiveevents:UpdateArchivekms:DescribeKeykms:GenerateDataKeykms:Decryptkms:ReEncryptTokms:ReEncryptFromevents:DescribeArchivekms:DecryptOur bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterArchiveNameThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
ArchiveNameSourceArn