AWS::AccessAnalyzer::ArchiveRule

AccessAnalyzer ArchiveRule

Creates an archive rule for the specified analyzer. Archive rules automatically archive new findings that meet the criteria you define when you create the rule.

Properties

3 configurable properties. 3 required. Click a row to see details.

Filter:
PropertyTypeFlags
AnalyzerName
string
RequiredCreate-only
Filter
object
Required
RuleName
string
RequiredCreate-only

Return Values

Values returned after the resource is created. Access these with Fn::GetAtt.

AttributeTypeDescription
ArnstringThe ARN of the archive rule.
CreatedAtstringThe time at which the archive rule was created.
UpdatedAtstringThe time at which the archive rule was last updated.

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
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: {}

Required IAM Permissions

Permissions CloudFormation needs in your IAM role to manage this resource.

create

access-analyzer:CreateArchiveRuleaccess-analyzer:GetArchiveRule

read

access-analyzer:GetArchiveRule

update

access-analyzer:UpdateArchiveRuleaccess-analyzer:GetArchiveRule

delete

access-analyzer:DeleteArchiveRuleaccess-analyzer:GetArchiveRule

list

access-analyzer:ListArchiveRules

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

ServiceAccessAnalyzer
Properties6
Required3
TaggingNot supported
Primary IDArn

Supported Operations

CreateReadUpdateDeleteList

Immutable After Creation

These properties cannot be changed after the resource is created. Updating them triggers a replacement.

AnalyzerNameRuleName

Related Resources

External Links