RuleArgs class
The set of arguments for Rule. The set of arguments for Rule.
Constructors
-
RuleArgs({Input<
String?> ? description, Input<List< ? excludeResourceTags, Input<RuleExcludeResourceTag> ?>RuleLockConfiguration?> ? lockConfiguration, Input<String?> ? region, Input<List< ? resourceTags, required Input<RuleResourceTag> ?>String> resourceType, required Input<RuleRetentionPeriod> retentionPeriod, Input<Map< ? tags})String, String> ?> -
Creates a new RuleArgs.
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.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.tagsOptional.const -
RuleArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
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 -
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
-
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