aws rbin create-rule
Creates a Recycle Bin retention rule. AWS CLI reference
7 options Its page in the AWS CLI reference
Options
--descriptionThe retention rule description.--exclude-resource-tags[Region-level retention rules only] Specifies the exclusion tags to use to identify resources that are to be excluded, or ignored, by a Region-level retention rule.--lock-configurationInformation about the retention rule lock configuration.--resource-tags[Tag-level retention rules only] Specifies the resource tags to use to identify resources that are to be retained by a tag-level retention rule.--resource-typeThe resource type to be retained by the retention rule.--retention-periodInformation about the retention period for which the retention rule is to retain resources.--tagsInformation about the tags to assign to the retention rule.