You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::EFS::Types::PutLifecycleConfigurationRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing PutLifecycleConfigurationRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  file_system_id: "FileSystemId", # required
  lifecycle_policies: [ # required
    {
      transition_to_ia: "AFTER_7_DAYS", # accepts AFTER_7_DAYS, AFTER_14_DAYS, AFTER_30_DAYS, AFTER_60_DAYS, AFTER_90_DAYS
    },
  ],
}

Instance Attribute Summary collapse

Instance Attribute Details

#file_system_idString

The ID of the file system for which you are creating the LifecycleConfiguration object (String).

Returns:

  • (String)

    The ID of the file system for which you are creating the LifecycleConfiguration object (String).

#lifecycle_policiesArray<Types::LifecyclePolicy>

An array of LifecyclePolicy objects that define the file system\'s LifecycleConfiguration object. A LifecycleConfiguration object tells lifecycle management when to transition files from the Standard storage class to the Infrequent Access storage class.

Returns:

  • (Array<Types::LifecyclePolicy>)

    An array of LifecyclePolicy objects that define the file system\'s LifecycleConfiguration object.