@Stability(value=Stable)
public static interface CfnFileSystem.LifecyclePolicyProperty
extends software.amazon.jsii.JsiiSerializable
For more information, see EFS IntelligentāTiering and EFS Lifecycle Management .
- Each
LifecyclePolicyobject can have only a single transition. This means that in a request body,LifecyclePoliciesmust be structured as an array ofLifecyclePolicyobjects, one object for each transition,TransitionToIA,TransitionToPrimaryStorageClass.- See the AWS::EFS::FileSystem examples for the correct
LifecyclePolicystructure. Do not use the syntax shown on this page.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.efs.*;
LifecyclePolicyProperty lifecyclePolicyProperty = LifecyclePolicyProperty.builder()
.transitionToIa("transitionToIa")
.transitionToPrimaryStorageClass("transitionToPrimaryStorageClass")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnFileSystem.LifecyclePolicyProperty.Builder
A builder for
CfnFileSystem.LifecyclePolicyProperty |
static class |
CfnFileSystem.LifecyclePolicyProperty.Jsii$Proxy
An implementation for
CfnFileSystem.LifecyclePolicyProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnFileSystem.LifecyclePolicyProperty.Builder |
builder() |
default String |
getTransitionToIa()
Describes the period of time that a file is not accessed, after which it transitions to IA storage.
|
default String |
getTransitionToPrimaryStorageClass()
Describes when to transition a file from IA storage to primary storage.
|
@Stability(value=Stable) @Nullable default String getTransitionToIa()
Metadata operations such as listing the contents of a directory don't count as file access events.
@Stability(value=Stable) @Nullable default String getTransitionToPrimaryStorageClass()
Metadata operations such as listing the contents of a directory don't count as file access events.
@Stability(value=Stable) static CfnFileSystem.LifecyclePolicyProperty.Builder builder()
Copyright © 2022. All rights reserved.