RuleState constructor
- Input<
String?> ? arn, - Input<
String?> ? description, - Input<
List< ? excludeResourceTags,RuleExcludeResourceTag> ?> - Input<
RuleLockConfiguration?> ? lockConfiguration, - Input<
String?> ? lockEndTime, - Input<
String?> ? lockState, - Input<
String?> ? region, - Input<
List< ? resourceTags,RuleResourceTag> ?> - Input<
String?> ? resourceType, - Input<
RuleRetentionPeriod?> ? retentionPeriod, - Input<
String?> ? status, - Input<
Map< ? tags,String, String> ?> - Input<
Map< ? tagsAll,String, String> ?>
Creates a new RuleState.
arn Optional.
description Retention rule description.
excludeResourceTags Exclusion tags to use to identify resources that are to be excluded, or ignored, by a Region-level retention rule. See excludeResourceTags below.
lockConfiguration Information about the retention rule lock configuration. See lockConfiguration below.
lockEndTime (Timestamp) Date and time at which the unlock delay is set to expire. Only returned for retention rules that have been unlocked and that are still within the unlock delay period.
lockState (Optional) Lock state of the retention rules to list. Only retention rules with the specified lock state are returned. Valid values are locked, pendingUnlock, unlocked.
region Region where this resource will be managed. Defaults to the Region set in the provider configuration.
resourceTags Resource tags to use to identify resources that are to be retained by a tag-level retention rule. See resourceTags below.
resourceType Resource type to be retained by the retention rule. Valid values are EBS_SNAPSHOT and EC2_IMAGE.
retentionPeriod Information about the retention period for which the retention rule is to retain resources. See retentionPeriod below.
status (String) State of the retention rule. Only retention rules that are in the available state retain resources. Valid values include pending and available.
tags Optional.
tagsAll Optional.
Implementation
const RuleState({
this.arn,
this.description,
this.excludeResourceTags,
this.lockConfiguration,
this.lockEndTime,
this.lockState,
this.region,
this.resourceTags,
this.resourceType,
this.retentionPeriod,
this.status,
this.tags,
this.tagsAll,
});