RuleState class
Input properties used for looking up and filtering Rule resources.
Constructors
-
RuleState({Input<
String?> ? arn, Input<String?> ? description, Input<List< ? excludeResourceTags, Input<RuleExcludeResourceTag> ?>RuleLockConfiguration?> ? lockConfiguration, Input<String?> ? lockEndTime, Input<String?> ? lockState, Input<String?> ? region, Input<List< ? resourceTags, Input<RuleResourceTag> ?>String?> ? resourceType, Input<RuleRetentionPeriod?> ? retentionPeriod, Input<String?> ? status, Input<Map< ? tags, Input<String, String> ?>Map< ? tagsAll})String, String> ?> -
Creates a new RuleState.
arnOptional.descriptionRetention rule description.excludeResourceTagsExclusion tags to use to identify resources that are to be excluded, or ignored, by a Region-level retention rule. SeeexcludeResourceTagsbelow.lockConfigurationInformation about the retention rule lock configuration. SeelockConfigurationbelow.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 arelocked,pendingUnlock,unlocked.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.resourceTagsResource tags to use to identify resources that are to be retained by a tag-level retention rule. SeeresourceTagsbelow.resourceTypeResource type to be retained by the retention rule. Valid values areEBS_SNAPSHOTandEC2_IMAGE.retentionPeriodInformation about the retention period for which the retention rule is to retain resources. SeeretentionPeriodbelow.status(String) State of the retention rule. Only retention rules that are in theavailablestate retain resources. Valid values includependingandavailable.tagsOptional.tagsAllOptional.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
excludeResourceTagsbelow.final - hashCode → int
-
The hash code for this object.
no setterinherited
-
lockConfiguration
→ Input<
RuleLockConfiguration?> ? -
Information about the retention rule lock configuration. See
lockConfigurationbelow.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
resourceTagsbelow.final -
resourceType
→ Input<
String?> ? -
Resource type to be retained by the retention rule. Valid values are
EBS_SNAPSHOTandEC2_IMAGE.final -
retentionPeriod
→ Input<
RuleRetentionPeriod?> ? -
Information about the retention period for which the retention rule is to retain resources. See
retentionPeriodbelow.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
availablestate retain resources. Valid values includependingandavailable.final -
final
-
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