Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Documentation
data LifecyclePolicy Source #
Describes a policy used by EFS lifecycle management and EFS intelligent tiering that specifies when to transition files into and out of the file system's Infrequent Access (IA) storage class. For more information, see EFS Intelligent‐Tiering and EFS Lifecycle Management.
When using the put-lifecycle-configuration
CLI command or the
PutLifecycleConfiguration
API action, Amazon EFS requires that each
LifecyclePolicy
object have only a single transition. This means that
in a request body, LifecyclePolicies
needs to be structured as an
array of LifecyclePolicy
objects, one object for each transition,
TransitionToIA
, TransitionToPrimaryStorageClass
. For more
information, see the request examples in PutLifecycleConfiguration.
See: newLifecyclePolicy
smart constructor.
LifecyclePolicy' | |
|
Instances
newLifecyclePolicy :: LifecyclePolicy Source #
Create a value of LifecyclePolicy
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:transitionToIA:LifecyclePolicy'
, lifecyclePolicy_transitionToIA
- Describes the period of time that a file is not accessed, after which it
transitions to IA storage. Metadata operations such as listing the
contents of a directory don't count as file access events.
$sel:transitionToPrimaryStorageClass:LifecyclePolicy'
, lifecyclePolicy_transitionToPrimaryStorageClass
- Describes when to transition a file from IA storage to primary storage.
Metadata operations such as listing the contents of a directory don't
count as file access events.
lifecyclePolicy_transitionToIA :: Lens' LifecyclePolicy (Maybe TransitionToIARules) Source #
Describes the period of time that a file is not accessed, after which it transitions to IA storage. Metadata operations such as listing the contents of a directory don't count as file access events.
lifecyclePolicy_transitionToPrimaryStorageClass :: Lens' LifecyclePolicy (Maybe TransitionToPrimaryStorageClassRules) Source #
Describes when to transition a file from IA storage to primary storage. Metadata operations such as listing the contents of a directory don't count as file access events.