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:
        The retention rule description.
      • lockConfiguration

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

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> lockEndTime()
        Returns:
        (Timestamp) The 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) The lock state of the retention rules to list. Only retention rules with the specified lock state are returned. Valid values are `locked`, `pending_unlock`, `unlocked`.
      • resourceTags

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

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> resourceType()
        Returns:
        The 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 `retention_period` below. The following arguments are optional:
      • status

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

        @Deprecated
        public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> tagsAll()
        Deprecated.
        Please use `tags` instead.