RuleState class

Input properties used for looking up and filtering Rule resources.

Constructors

RuleState({Input<String?>? arn, Input<String?>? description, Input<List<RuleExcludeResourceTag>?>? excludeResourceTags, Input<RuleLockConfiguration?>? lockConfiguration, Input<String?>? lockEndTime, Input<String?>? lockState, Input<String?>? region, Input<List<RuleResourceTag>?>? resourceTags, Input<String?>? resourceType, Input<RuleRetentionPeriod?>? retentionPeriod, Input<String?>? status, Input<Map<String, String>?>? tags, Input<Map<String, String>?>? tagsAll})
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.
const
RuleState.fromMap(Map<String, dynamic> map)
factory

Properties

arn → Input<String?>?
final
description → Input<String?>?
Retention rule description.
final
excludeResourceTags → Input<List<RuleExcludeResourceTag>?>?
Exclusion tags to use to identify resources that are to be excluded, or ignored, by a Region-level retention rule. See excludeResourceTags below.
final
hashCode → int
The hash code for this object.
no setterinherited
lockConfiguration → Input<RuleLockConfiguration?>?
Information about the retention rule lock configuration. See lockConfiguration below.
final
lockEndTime → Input<String?>?
(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.
final
lockState → Input<String?>?
(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.
final
region → Input<String?>?
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
resourceTags → Input<List<RuleResourceTag>?>?
Resource tags to use to identify resources that are to be retained by a tag-level retention rule. See resourceTags below.
final
resourceType → Input<String?>?
Resource type to be retained by the retention rule. Valid values are EBS_SNAPSHOT and EC2_IMAGE.
final
retentionPeriod → Input<RuleRetentionPeriod?>?
Information about the retention period for which the retention rule is to retain resources. See retentionPeriod below.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
status → Input<String?>?
(String) State of the retention rule. Only retention rules that are in the available state retain resources. Valid values include pending and available.
final
tags → Input<Map<String, String>?>?
final
tagsAll → Input<Map<String, String>?>?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited