Class RuleState


  • public final class RuleState
    extends com.pulumi.resources.ResourceArgs
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  RuleState.Builder  
      • Nested classes/interfaces inherited from class com.pulumi.resources.InputArgs

        com.pulumi.resources.InputArgs.InputArgsInternal
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static RuleState Empty  
    • Field Detail

    • Method Detail

      • arn

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> arn()
      • description

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> description()
        Returns:
        Retention rule description.
      • excludeResourceTags

        public java.util.Optional<com.pulumi.core.Output<java.util.List<RuleExcludeResourceTagArgs>>> excludeResourceTags()
        Returns:
        Exclusion tags to use to identify resources that are to be excluded, or ignored, by a Region-level retention rule. See `excludeResourceTags` below.
      • lockConfiguration

        public java.util.Optional<com.pulumi.core.Output<RuleLockConfigurationArgs>> lockConfiguration()
        Returns:
        Information about the retention rule lock configuration. See `lockConfiguration` below.
      • lockEndTime

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> lockEndTime()
        Returns:
        (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

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> lockState()
        Returns:
        (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

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> region()
        Returns:
        Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
      • resourceTags

        public java.util.Optional<com.pulumi.core.Output<java.util.List<RuleResourceTagArgs>>> resourceTags()
        Returns:
        Resource tags to use to identify resources that are to be retained by a tag-level retention rule. See `resourceTags` below.
      • resourceType

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> resourceType()
        Returns:
        Resource type to be retained by the retention rule. Valid values are `EBS_SNAPSHOT` and `EC2_IMAGE`.
      • retentionPeriod

        public java.util.Optional<com.pulumi.core.Output<RuleRetentionPeriodArgs>> retentionPeriod()
        Returns:
        Information about the retention period for which the retention rule is to retain resources. See `retentionPeriod` below. The following arguments are optional:
      • status

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> status()
        Returns:
        (String) State of the retention rule. Only retention rules that are in the `available` state retain resources. Valid values include `pending` and `available`.
      • tags

        public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> tags()
      • tagsAll

        public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> tagsAll()