Archive Rule
Manages an IAM Access Analyzer Archive Rule.
Sample code
exports.createResources = () => [
{
type: "ArchiveRule",
group: "AccessAnalyzer",
properties: ({}) => ({
filter: {
isPublic: {
eq: ["false"],
},
},
ruleName: "ArchiveRule-public",
}),
dependencies: ({}) => ({
analyzer: "ConsoleAnalyzer",
}),
},
];
Properties
Full Examples
Dependencies
List
gc l -t AccessAnalyzer::ArchiveRule
Listing resources on 1 provider: aws
✓ aws us-east-1
✓ Initialising
✓ Listing 2/2
┌──────────────────────────────────────────────────────────────────────────┐
│ 1 AccessAnalyzer::ArchiveRule from aws │
├──────────────────────────────────────────────────────────────────────────┤
│ name: ConsoleAnalyzer::ArchiveRule-public │
│ managedByUs: NO │
│ live: │
│ createdAt: 2022-11-05T14:22:11.000Z │
│ filter: │
│ isPublic: │
│ eq: │
│ - "false" │
│ ruleName: ArchiveRule-public │
│ updatedAt: 2022-11-05T14:22:11.000Z │
│ analyzerName: ConsoleAnalyzer │
│ │
└──────────────────────────────────────────────────────────────────────────┘
List Summary:
Provider: aws
┌─────────────────────────────────────────────────────────────────────────┐
│ aws │
├─────────────────────────────┬───────────────────────────────────────────┤
│ AccessAnalyzer::ArchiveRule │ ConsoleAnalyzer::ArchiveRule-public │
└─────────────────────────────┴───────────────────────────────────────────┘
1 resource, 1 type, 1 provider
Command "gc l -t AccessAnalyzer::ArchiveRule" executed in 2s, 110 MB