AWS::AccessAnalyzer::ArchiveRuleCreates an archive rule for the specified analyzer. Archive rules automatically archive new findings that meet the criteria you define when you create the rule.
3 configurable properties. 3 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
AnalyzerName | string | RequiredCreate-only |
Filter | object | Required |
RuleName | string | RequiredCreate-only |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
Arn | string | The ARN of the archive rule. |
CreatedAt | string | The time at which the archive rule was created. |
UpdatedAt | string | The time at which the archive rule was last updated. |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::AccessAnalyzer::ArchiveRule
Resources:
MyResource:
Type: AWS::AccessAnalyzer::ArchiveRule
Properties:
AnalyzerName: "my-analyzername"
RuleName: "my-rulename"
Filter: {}Permissions CloudFormation needs in your IAM role to manage this resource.
access-analyzer:CreateArchiveRuleaccess-analyzer:GetArchiveRuleaccess-analyzer:GetArchiveRuleaccess-analyzer:UpdateArchiveRuleaccess-analyzer:GetArchiveRuleaccess-analyzer:DeleteArchiveRuleaccess-analyzer:GetArchiveRuleaccess-analyzer:ListArchiveRulesOur 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.
AnalyzerNameRuleName