---
type: resource-type
title: RbinRule
description: aws resource type AWS::Rbin::Rule
name: RbinRule
lexicon: aws
resource_type: AWS::Rbin::Rule
---
`AWS::Rbin::Rule`, a resource type of the aws lexicon.

## Properties

- `ResourceType` (`"EBS_SNAPSHOT" | "EBS_VOLUME" | "EC2_IMAGE"`, required): The resource type retained by the retention rule.
- `RetentionPeriod` (`RbinRule_RetentionPeriod`, required): Information about the retention period for which the retention rule is to retain resources.
- `Arn` (`string`, optional): Rule Arn is unique for each rule.
- `Description` (`string`, optional): The description of the retention rule.
- `ExcludeResourceTags` (`RbinRule_ResourceTag[]`, optional): Information about the exclude resource tags used to identify resources that are excluded by the retention rule.
- `Identifier` (`string`, optional): The unique ID of the retention rule.
- `LockConfiguration` (`RbinRule_UnlockDelay`, optional): Information about the retention rule lock configuration.
- `LockState` (`string`, optional): The lock state for the retention rule.
- `ResourceTags` (`RbinRule_ResourceTag[]`, optional): Information about the resource tags used to identify resources that are retained by the retention rule.
- `Status` (`string`, optional): The state of the retention rule. Only retention rules that are in the available state retain resources.
- `Tags` (`RbinRule_Tag[]`, optional): Information about the tags assigned to the retention rule.

## Attributes

- `Arn`
- `Identifier`
- `LockState`
