This product is not supported for your selected Datadog site. ().
Cette page n'est pas encore disponible en français, sa traduction est en cours.
Si vous avez des questions ou des retours sur notre projet de traduction actuel, n'hésitez pas à nous contacter.

aws_dlm_policy

account_id

Type: STRING

date_created

Type: TIMESTAMP
Provider name: DateCreated
Description: The local date and time when the lifecycle policy was created.

date_modified

Type: TIMESTAMP
Provider name: DateModified
Description: The local date and time when the lifecycle policy was last modified.

default_policy

Type: BOOLEAN
Provider name: DefaultPolicy
Description: Indicates whether the policy is a default lifecycle policy or a custom lifecycle policy.

  • true - the policy is a default policy.
  • false - the policy is a custom policy.

description

Type: STRING
Provider name: Description
Description: The description of the lifecycle policy.

execution_role_arn

Type: STRING
Provider name: ExecutionRoleArn
Description: The Amazon Resource Name (ARN) of the IAM role used to run the operations specified by the lifecycle policy.

policy_arn

Type: STRING
Provider name: PolicyArn
Description: The Amazon Resource Name (ARN) of the policy.

policy_details

Type: STRUCT
Provider name: PolicyDetails
Description: The configuration of the lifecycle policy

  • actions
    Type: UNORDERED_LIST_STRUCT
    Provider name: Actions
    Description: [Event-based policies only] The actions to be performed when the event-based policy is activated. You can specify only one action per policy.
    • cross_region_copy
      Type: UNORDERED_LIST_STRUCT
      Provider name: CrossRegionCopy
      Description: The rule for copying shared snapshots across Regions.
      • encryption_configuration
        Type: STRUCT
        Provider name: EncryptionConfiguration
        Description: The encryption settings for the copied snapshot.
        • cmk_arn
          Type: STRING
          Provider name: CmkArn
          Description: The Amazon Resource Name (ARN) of the KMS key to use for EBS encryption. If this parameter is not specified, the default KMS key for the account is used.
        • encrypted
          Type: BOOLEAN
          Provider name: Encrypted
          Description: To encrypt a copy of an unencrypted snapshot when encryption by default is not enabled, enable encryption using this parameter. Copies of encrypted snapshots are encrypted, even if this parameter is false or when encryption by default is not enabled.
      • retain_rule
        Type: STRUCT
        Provider name: RetainRule
        • interval
          Type: INT32
          Provider name: Interval
          Description: The amount of time to retain a cross-Region snapshot or AMI copy. The maximum is 100 years. This is equivalent to 1200 months, 5200 weeks, or 36500 days.
        • interval_unit
          Type: STRING
          Provider name: IntervalUnit
          Description: The unit of time for time-based retention. For example, to retain a cross-Region copy for 3 months, specify Interval=3 and IntervalUnit=MONTHS.
      • target
        Type: STRING
        Provider name: Target
        Description: The target Region.
    • name
      Type: STRING
      Provider name: Name
      Description: A descriptive name for the action.
  • copy_tags
    Type: BOOLEAN
    Provider name: CopyTags
    Description: [Default policies only] Indicates whether the policy should copy tags from the source resource to the snapshot or AMI. If you do not specify a value, the default is false.
    Default: false
  • create_interval
    Type: INT32
    Provider name: CreateInterval
    Description: [Default policies only] Specifies how often the policy should run and create snapshots or AMIs. The creation frequency can range from 1 to 7 days. If you do not specify a value, the default is 1.
    Default: 1
  • cross_region_copy_targets
    Type: UNORDERED_LIST_STRUCT
    Provider name: CrossRegionCopyTargets
    Description: [Default policies only] Specifies destination Regions for snapshot or AMI copies. You can specify up to 3 destination Regions. If you do not want to create cross-Region copies, omit this parameter.
    • target_region
      Type: STRING
      Provider name: TargetRegion
      Description: The target Region, for example us-east-1.
  • event_source
    Type: STRUCT
    Provider name: EventSource
    Description: [Event-based policies only] The event that activates the event-based policy.
    • parameters
      Type: STRUCT
      Provider name: Parameters
      Description: Information about the event.
      • description_regex
        Type: STRING
        Provider name: DescriptionRegex
        Description: The snapshot description that can trigger the policy. The description pattern is specified using a regular expression. The policy runs only if a snapshot with a description that matches the specified pattern is shared with your account. For example, specifying ^.Created for policy: policy-1234567890abcdef0.$ configures the policy to run only if snapshots created by policy policy-1234567890abcdef0 are shared with your account.
      • event_type
        Type: STRING
        Provider name: EventType
        Description: The type of event. Currently, only snapshot sharing events are supported.
      • snapshot_owner
        Type: UNORDERED_LIST_STRING
        Provider name: SnapshotOwner
        Description: The IDs of the Amazon Web Services accounts that can trigger policy by sharing snapshots with your account. The policy only runs if one of the specified Amazon Web Services accounts shares a snapshot with your account.
    • type
      Type: STRING
      Provider name: Type
      Description: The source of the event. Currently only managed CloudWatch Events rules are supported.
  • exclusions
    Type: STRUCT
    Provider name: Exclusions
    Description: [Default policies only] Specifies exclusion parameters for volumes or instances for which you do not want to create snapshots or AMIs. The policy will not create snapshots or AMIs for target resources that match any of the specified exclusion parameters.
    • exclude_boot_volumes
      Type: BOOLEAN
      Provider name: ExcludeBootVolumes
      Description: [Default policies for EBS snapshots only] Indicates whether to exclude volumes that are attached to instances as the boot volume. If you exclude boot volumes, only volumes attached as data (non-boot) volumes will be backed up by the policy. To exclude boot volumes, specify true.
    • exclude_tags
      Type: UNORDERED_LIST_STRUCT
      Provider name: ExcludeTags
      Description: [Default policies for EBS-backed AMIs only] Specifies whether to exclude volumes that have specific tags.
      • key
        Type: STRING
        Provider name: Key
        Description: The tag key.
      • value
        Type: STRING
        Provider name: Value
        Description: The tag value.
    • exclude_volume_types
      Type: UNORDERED_LIST_STRING
      Provider name: ExcludeVolumeTypes
      Description: [Default policies for EBS snapshots only] Specifies the volume types to exclude. Volumes of the specified types will not be targeted by the policy.
  • extend_deletion
    Type: BOOLEAN
    Provider name: ExtendDeletion
    Description: [Default policies only] Defines the snapshot or AMI retention behavior for the policy if the source volume or instance is deleted, or if the policy enters the error, disabled, or deleted state. By default (ExtendDeletion=false):
    • If a source resource is deleted, Amazon Data Lifecycle Manager will continue to delete previously created snapshots or AMIs, up to but not including the last one, based on the specified retention period. If you want Amazon Data Lifecycle Manager to delete all snapshots or AMIs, including the last one, specify true.
    • If a policy enters the error, disabled, or deleted state, Amazon Data Lifecycle Manager stops deleting snapshots and AMIs. If you want Amazon Data Lifecycle Manager to continue deleting snapshots or AMIs, including the last one, if the policy enters one of these states, specify true.
    If you enable extended deletion (ExtendDeletion=true), you override both default behaviors simultaneously. If you do not specify a value, the default is false.
    Default: false
  • parameters
    Type: STRUCT
    Provider name: Parameters
    Description: [Custom snapshot and AMI policies only] A set of optional parameters for snapshot and AMI lifecycle policies. If you are modifying a policy that was created or previously modified using the Amazon Data Lifecycle Manager console, then you must include this parameter and specify either the default values or the new values that you require. You can’t omit this parameter or set its values to null.
    • exclude_boot_volume
      Type: BOOLEAN
      Provider name: ExcludeBootVolume
      Description: [Custom snapshot policies that target instances only] Indicates whether to exclude the root volume from multi-volume snapshot sets. The default is false. If you specify true, then the root volumes attached to targeted instances will be excluded from the multi-volume snapshot sets created by the policy.
    • exclude_data_volume_tags
      Type: UNORDERED_LIST_STRUCT
      Provider name: ExcludeDataVolumeTags
      Description: [Custom snapshot policies that target instances only] The tags used to identify data (non-root) volumes to exclude from multi-volume snapshot sets. If you create a snapshot lifecycle policy that targets instances and you specify tags for this parameter, then data volumes with the specified tags that are attached to targeted instances will be excluded from the multi-volume snapshot sets created by the policy.
      • key
        Type: STRING
        Provider name: Key
        Description: The tag key.
      • value
        Type: STRING
        Provider name: Value
        Description: The tag value.
    • no_reboot
      Type: BOOLEAN
      Provider name: NoReboot
      Description: [Custom AMI policies only] Indicates whether targeted instances are rebooted when the lifecycle policy runs. true indicates that targeted instances are not rebooted when the policy runs. false indicates that target instances are rebooted when the policy runs. The default is true (instances are not rebooted).
  • policy_language
    Type: STRING
    Provider name: PolicyLanguage
    Description: The type of policy to create. Specify one of the following:
    • SIMPLIFIED To create a default policy.
    • STANDARD To create a custom policy.
  • policy_type
    Type: STRING
    Provider name: PolicyType
    Description: The type of policy. Specify EBS_SNAPSHOT_MANAGEMENT to create a lifecycle policy that manages the lifecycle of Amazon EBS snapshots. Specify IMAGE_MANAGEMENT to create a lifecycle policy that manages the lifecycle of EBS-backed AMIs. Specify EVENT_BASED_POLICY to create an event-based policy that performs specific actions when a defined event occurs in your Amazon Web Services account. The default is EBS_SNAPSHOT_MANAGEMENT.
  • resource_locations
    Type: UNORDERED_LIST_STRING
    Provider name: ResourceLocations
    Description: [Custom snapshot and AMI policies only] The location of the resources to backup.
    • If the source resources are located in a Region, specify CLOUD. In this case, the policy targets all resources of the specified type with matching target tags across all Availability Zones in the Region.
    • [Custom snapshot policies only] If the source resources are located in a Local Zone, specify LOCAL_ZONE. In this case, the policy targets all resources of the specified type with matching target tags across all Local Zones in the Region.
    • If the source resources are located on an Outpost in your account, specify OUTPOST. In this case, the policy targets all resources of the specified type with matching target tags across all of the Outposts in your account.
  • resource_type
    Type: STRING
    Provider name: ResourceType
    Description: [Default policies only] Specify the type of default policy to create.
    • To create a default policy for EBS snapshots, that creates snapshots of all volumes in the Region that do not have recent backups, specify VOLUME.
    • To create a default policy for EBS-backed AMIs, that creates EBS-backed AMIs from all instances in the Region that do not have recent backups, specify INSTANCE.
  • resource_types
    Type: UNORDERED_LIST_STRING
    Provider name: ResourceTypes
    Description: [Custom snapshot policies only] The target resource type for snapshot and AMI lifecycle policies. Use VOLUME to create snapshots of individual volumes or use INSTANCE to create multi-volume snapshots from the volumes for an instance.
  • retain_interval
    Type: INT32
    Provider name: RetainInterval
    Description: [Default policies only] Specifies how long the policy should retain snapshots or AMIs before deleting them. The retention period can range from 2 to 14 days, but it must be greater than the creation frequency to ensure that the policy retains at least 1 snapshot or AMI at any given time. If you do not specify a value, the default is 7.
    Default: 7
  • schedules
    Type: UNORDERED_LIST_STRUCT
    Provider name: Schedules
    Description: [Custom snapshot and AMI policies only] The schedules of policy-defined actions for snapshot and AMI lifecycle policies. A policy can have up to four schedules—one mandatory schedule and up to three optional schedules.
    • archive_rule
      Type: STRUCT
      Provider name: ArchiveRule
      Description: [Custom snapshot policies that target volumes only] The snapshot archiving rule for the schedule. When you specify an archiving rule, snapshots are automatically moved from the standard tier to the archive tier once the schedule’s retention threshold is met. Snapshots are then retained in the archive tier for the archive retention period that you specify. For more information about using snapshot archiving, see Considerations for snapshot lifecycle policies.
      • retain_rule
        Type: STRUCT
        Provider name: RetainRule
        Description: Information about the retention period for the snapshot archiving rule.
        • retention_archive_tier
          Type: STRUCT
          Provider name: RetentionArchiveTier
          Description: Information about retention period in the Amazon EBS Snapshots Archive. For more information, see Archive Amazon EBS snapshots.
          • count
            Type: INT32
            Provider name: Count
            Description: The maximum number of snapshots to retain in the archive storage tier for each volume. The count must ensure that each snapshot remains in the archive tier for at least 90 days. For example, if the schedule creates snapshots every 30 days, you must specify a count of 3 or more to ensure that each snapshot is archived for at least 90 days.
          • interval
            Type: INT32
            Provider name: Interval
            Description: Specifies the period of time to retain snapshots in the archive tier. After this period expires, the snapshot is permanently deleted.
          • interval_unit
            Type: STRING
            Provider name: IntervalUnit
            Description: The unit of time in which to measure the Interval. For example, to retain a snapshots in the archive tier for 6 months, specify Interval=6 and IntervalUnit=MONTHS.
    • copy_tags
      Type: BOOLEAN
      Provider name: CopyTags
      Description: Copy all user-defined tags on a source volume to snapshots of the volume created by this policy.
    • create_rule
      Type: STRUCT
      Provider name: CreateRule
      Description: The creation rule.
      • cron_expression
        Type: STRING
        Provider name: CronExpression
        Description: The schedule, as a Cron expression. The schedule interval must be between 1 hour and 1 year. For more information, see the Cron expressions reference in the Amazon EventBridge User Guide.
      • interval
        Type: INT32
        Provider name: Interval
        Description: The interval between snapshots. The supported values are 1, 2, 3, 4, 6, 8, 12, and 24.
      • interval_unit
        Type: STRING
        Provider name: IntervalUnit
        Description: The interval unit.
      • location
        Type: STRING
        Provider name: Location
        Description: [Custom snapshot policies only] Specifies the destination for snapshots created by the policy. The allowed destinations depend on the location of the targeted resources.
        • If the policy targets resources in a Region, then you must create snapshots in the same Region as the source resource.
        • If the policy targets resources in a Local Zone, you can create snapshots in the same Local Zone or in its parent Region.
        • If the policy targets resources on an Outpost, then you can create snapshots on the same Outpost or in its parent Region.
        Specify one of the following values:
        • To create snapshots in the same Region as the source resource, specify CLOUD.
        • To create snapshots in the same Local Zone as the source resource, specify LOCAL_ZONE.
        • To create snapshots on the same Outpost as the source resource, specify OUTPOST_LOCAL.
        Default: CLOUD
      • scripts
        Type: UNORDERED_LIST_STRUCT
        Provider name: Scripts
        Description: [Custom snapshot policies that target instances only] Specifies pre and/or post scripts for a snapshot lifecycle policy that targets instances. This is useful for creating application-consistent snapshots, or for performing specific administrative tasks before or after Amazon Data Lifecycle Manager initiates snapshot creation. For more information, see Automating application-consistent snapshots with pre and post scripts.
        • execute_operation_on_script_failure
          Type: BOOLEAN
          Provider name: ExecuteOperationOnScriptFailure
          Description: Indicates whether Amazon Data Lifecycle Manager should default to crash-consistent snapshots if the pre script fails.
          • To default to crash consistent snapshot if the pre script fails, specify true.
          • To skip the instance for snapshot creation if the pre script fails, specify false.
          This parameter is supported only if you run a pre script. If you run a post script only, omit this parameter.
          Default: true
        • execution_handler
          Type: STRING
          Provider name: ExecutionHandler
          Description: The SSM document that includes the pre and/or post scripts to run.
          • If you are automating VSS backups, specify AWS_VSS_BACKUP. In this case, Amazon Data Lifecycle Manager automatically uses the AWSEC2-CreateVssSnapshot SSM document.
          • If you are automating application-consistent snapshots for SAP HANA workloads, specify AWSSystemsManagerSAP-CreateDLMSnapshotForSAPHANA.
          • If you are using a custom SSM document that you own, specify either the name or ARN of the SSM document. If you are using a custom SSM document that is shared with you, specify the ARN of the SSM document.
        • execution_handler_service
          Type: STRING
          Provider name: ExecutionHandlerService
          Description: Indicates the service used to execute the pre and/or post scripts.
          • If you are using custom SSM documents or automating application-consistent snapshots of SAP HANA workloads, specify AWS_SYSTEMS_MANAGER.
          • If you are automating VSS Backups, omit this parameter.
          Default: AWS_SYSTEMS_MANAGER
        • execution_timeout
          Type: INT32
          Provider name: ExecutionTimeout
          Description: Specifies a timeout period, in seconds, after which Amazon Data Lifecycle Manager fails the script run attempt if it has not completed. If a script does not complete within its timeout period, Amazon Data Lifecycle Manager fails the attempt. The timeout period applies to the pre and post scripts individually. If you are automating VSS Backups, omit this parameter.
          Default: 10
        • maximum_retry_count
          Type: INT32
          Provider name: MaximumRetryCount
          Description: Specifies the number of times Amazon Data Lifecycle Manager should retry scripts that fail.
          • If the pre script fails, Amazon Data Lifecycle Manager retries the entire snapshot creation process, including running the pre and post scripts.
          • If the post script fails, Amazon Data Lifecycle Manager retries the post script only; in this case, the pre script will have completed and the snapshot might have been created.
          If you do not want Amazon Data Lifecycle Manager to retry failed scripts, specify 0.
          Default: 0
        • stages
          Type: UNORDERED_LIST_STRING
          Provider name: Stages
          Description: Indicate which scripts Amazon Data Lifecycle Manager should run on target instances. Pre scripts run before Amazon Data Lifecycle Manager initiates snapshot creation. Post scripts run after Amazon Data Lifecycle Manager initiates snapshot creation.
          • To run a pre script only, specify PRE. In this case, Amazon Data Lifecycle Manager calls the SSM document with the pre-script parameter before initiating snapshot creation.
          • To run a post script only, specify POST. In this case, Amazon Data Lifecycle Manager calls the SSM document with the post-script parameter after initiating snapshot creation.
          • To run both pre and post scripts, specify both PRE and POST. In this case, Amazon Data Lifecycle Manager calls the SSM document with the pre-script parameter before initiating snapshot creation, and then it calls the SSM document again with the post-script parameter after initiating snapshot creation.
          If you are automating VSS Backups, omit this parameter.
          Default: PRE and POST
      • times
        Type: UNORDERED_LIST_STRING
        Provider name: Times
        Description: The time, in UTC, to start the operation. The supported format is hh:mm. The operation occurs within a one-hour window following the specified time. If you do not specify a time, Amazon Data Lifecycle Manager selects a time within the next 24 hours.
    • cross_region_copy_rules
      Type: UNORDERED_LIST_STRUCT
      Provider name: CrossRegionCopyRules
      Description: Specifies a rule for copying snapshots or AMIs across Regions. You can’t specify cross-Region copy rules for policies that create snapshots on an Outpost or in a Local Zone. If the policy creates snapshots in a Region, then snapshots can be copied to up to three Regions or Outposts.
      • cmk_arn
        Type: STRING
        Provider name: CmkArn
        Description: The Amazon Resource Name (ARN) of the KMS key to use for EBS encryption. If this parameter is not specified, the default KMS key for the account is used.
      • copy_tags
        Type: BOOLEAN
        Provider name: CopyTags
        Description: Indicates whether to copy all user-defined tags from the source snapshot or AMI to the cross-Region copy.
      • deprecate_rule
        Type: STRUCT
        Provider name: DeprecateRule
        Description: [Custom AMI policies only] The AMI deprecation rule for cross-Region AMI copies created by the rule.
        • interval
          Type: INT32
          Provider name: Interval
          Description: The period after which to deprecate the cross-Region AMI copies. The period must be less than or equal to the cross-Region AMI copy retention period, and it can’t be greater than 10 years. This is equivalent to 120 months, 520 weeks, or 3650 days.
        • interval_unit
          Type: STRING
          Provider name: IntervalUnit
          Description: The unit of time in which to measure the Interval. For example, to deprecate a cross-Region AMI copy after 3 months, specify Interval=3 and IntervalUnit=MONTHS.
      • encrypted
        Type: BOOLEAN
        Provider name: Encrypted
        Description: To encrypt a copy of an unencrypted snapshot if encryption by default is not enabled, enable encryption using this parameter. Copies of encrypted snapshots are encrypted, even if this parameter is false or if encryption by default is not enabled.
      • retain_rule
        Type: STRUCT
        Provider name: RetainRule
        Description: The retention rule that indicates how long the cross-Region snapshot or AMI copies are to be retained in the destination Region.
        • interval
          Type: INT32
          Provider name: Interval
          Description: The amount of time to retain a cross-Region snapshot or AMI copy. The maximum is 100 years. This is equivalent to 1200 months, 5200 weeks, or 36500 days.
        • interval_unit
          Type: STRING
          Provider name: IntervalUnit
          Description: The unit of time for time-based retention. For example, to retain a cross-Region copy for 3 months, specify Interval=3 and IntervalUnit=MONTHS.
      • target
        Type: STRING
        Provider name: Target
        Description: Use this parameter for snapshot policies only. For AMI policies, use TargetRegion instead. [Custom snapshot policies only] The target Region or the Amazon Resource Name (ARN) of the target Outpost for the snapshot copies.
      • target_region
        Type: STRING
        Provider name: TargetRegion
        Description: Use this parameter for AMI policies only. For snapshot policies, use Target instead. For snapshot policies created before the Target parameter was introduced, this parameter indicates the target Region for snapshot copies. [Custom AMI policies only] The target Region or the Amazon Resource Name (ARN) of the target Outpost for the snapshot copies.
    • deprecate_rule
      Type: STRUCT
      Provider name: DeprecateRule
      Description: [Custom AMI policies only] The AMI deprecation rule for the schedule.
      • count
        Type: INT32
        Provider name: Count
        Description: If the schedule has a count-based retention rule, this parameter specifies the number of oldest AMIs to deprecate. The count must be less than or equal to the schedule’s retention count, and it can’t be greater than 1000.
      • interval
        Type: INT32
        Provider name: Interval
        Description: If the schedule has an age-based retention rule, this parameter specifies the period after which to deprecate AMIs created by the schedule. The period must be less than or equal to the schedule’s retention period, and it can’t be greater than 10 years. This is equivalent to 120 months, 520 weeks, or 3650 days.
      • interval_unit
        Type: STRING
        Provider name: IntervalUnit
        Description: The unit of time in which to measure the Interval.
    • fast_restore_rule
      Type: STRUCT
      Provider name: FastRestoreRule
      Description: [Custom snapshot policies only] The rule for enabling fast snapshot restore.
      • availability_zones
        Type: UNORDERED_LIST_STRING
        Provider name: AvailabilityZones
        Description: The Availability Zones in which to enable fast snapshot restore.
      • count
        Type: INT32
        Provider name: Count
        Description: The number of snapshots to be enabled with fast snapshot restore.
      • interval
        Type: INT32
        Provider name: Interval
        Description: The amount of time to enable fast snapshot restore. The maximum is 100 years. This is equivalent to 1200 months, 5200 weeks, or 36500 days.
      • interval_unit
        Type: STRING
        Provider name: IntervalUnit
        Description: The unit of time for enabling fast snapshot restore.
    • name
      Type: STRING
      Provider name: Name
      Description: The name of the schedule.
    • retain_rule
      Type: STRUCT
      Provider name: RetainRule
      Description: The retention rule for snapshots or AMIs created by the policy.
      • count
        Type: INT32
        Provider name: Count
        Description: The number of snapshots to retain for each volume, up to a maximum of 1000. For example if you want to retain a maximum of three snapshots, specify 3. When the fourth snapshot is created, the oldest retained snapshot is deleted, or it is moved to the archive tier if you have specified an ArchiveRule.
      • interval
        Type: INT32
        Provider name: Interval
        Description: The amount of time to retain each snapshot. The maximum is 100 years. This is equivalent to 1200 months, 5200 weeks, or 36500 days.
      • interval_unit
        Type: STRING
        Provider name: IntervalUnit
        Description: The unit of time for time-based retention. For example, to retain snapshots for 3 months, specify Interval=3 and IntervalUnit=MONTHS. Once the snapshot has been retained for 3 months, it is deleted, or it is moved to the archive tier if you have specified an ArchiveRule.
    • share_rules
      Type: UNORDERED_LIST_STRUCT
      Provider name: ShareRules
      Description: [Custom snapshot policies only] The rule for sharing snapshots with other Amazon Web Services accounts.
      • target_accounts
        Type: UNORDERED_LIST_STRING
        Provider name: TargetAccounts
        Description: The IDs of the Amazon Web Services accounts with which to share the snapshots.
      • unshare_interval
        Type: INT32
        Provider name: UnshareInterval
        Description: The period after which snapshots that are shared with other Amazon Web Services accounts are automatically unshared.
      • unshare_interval_unit
        Type: STRING
        Provider name: UnshareIntervalUnit
        Description: The unit of time for the automatic unsharing interval.
    • tags_to_add
      Type: UNORDERED_LIST_STRUCT
      Provider name: TagsToAdd
      Description: The tags to apply to policy-created resources. These user-defined tags are in addition to the Amazon Web Services-added lifecycle tags.
      • key
        Type: STRING
        Provider name: Key
        Description: The tag key.
      • value
        Type: STRING
        Provider name: Value
        Description: The tag value.
    • variable_tags
      Type: UNORDERED_LIST_STRUCT
      Provider name: VariableTags
      Description: [AMI policies and snapshot policies that target instances only] A collection of key/value pairs with values determined dynamically when the policy is executed. Keys may be any valid Amazon EC2 tag key. Values must be in one of the two following formats: $(instance-id) or $(timestamp). Variable tags are only valid for EBS Snapshot Management – Instance policies.
      • key
        Type: STRING
        Provider name: Key
        Description: The tag key.
      • value
        Type: STRING
        Provider name: Value
        Description: The tag value.
  • target_tags
    Type: UNORDERED_LIST_STRUCT
    Provider name: TargetTags
    Description: [Custom snapshot and AMI policies only] The single tag that identifies targeted resources for this policy.
    • key
      Type: STRING
      Provider name: Key
      Description: The tag key.
    • value
      Type: STRING
      Provider name: Value
      Description: The tag value.

policy_id

Type: STRING
Provider name: PolicyId
Description: The identifier of the lifecycle policy.

state

Type: STRING
Provider name: State
Description: The activation state of the lifecycle policy.

status_message

Type: STRING
Provider name: StatusMessage
Description: The description of the status.

tags

Type: UNORDERED_LIST_STRING