RuleArgs constructor

const RuleArgs({
  1. Input<String?>? description,
  2. Input<List<RuleExcludeResourceTag>?>? excludeResourceTags,
  3. Input<RuleLockConfiguration?>? lockConfiguration,
  4. Input<String?>? region,
  5. Input<List<RuleResourceTag>?>? resourceTags,
  6. required Input<String> resourceType,
  7. required Input<RuleRetentionPeriod> retentionPeriod,
  8. Input<Map<String, String>?>? tags,
})

Creates a new RuleArgs. 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. 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. tags Optional.

Implementation

const RuleArgs({
  this.description,
  this.excludeResourceTags,
  this.lockConfiguration,
  this.region,
  this.resourceTags,
  required this.resourceType,
  required this.retentionPeriod,
  this.tags,
});