Returns the current LifecycleConfiguration object for the specified Amazon
EFS file system. EFS lifecycle management uses the LifecycleConfiguration object
to identify which files to move to the EFS Infrequent Access (IA) storage class. For a file system
without a LifecycleConfiguration object, the call returns an empty array in the
response.
When EFS Intelligent-Tiering is enabled, TransitionToPrimaryStorageClass has
a value of AFTER_1_ACCESS.
This operation requires permissions for the
elasticfilesystem:DescribeLifecycleConfiguration operation.
example
Use a bare-bones client and the command you need to make an API call.
Returns the current
LifecycleConfiguration
object for the specified Amazon EFS file system. EFS lifecycle management uses theLifecycleConfiguration
object to identify which files to move to the EFS Infrequent Access (IA) storage class. For a file system without aLifecycleConfiguration
object, the call returns an empty array in the response.When EFS Intelligent-Tiering is enabled,
TransitionToPrimaryStorageClass
has a value ofAFTER_1_ACCESS
.This operation requires permissions for the
elasticfilesystem:DescribeLifecycleConfiguration
operation.Use a bare-bones client and the command you need to make an API call.
import { EFSClient, DescribeLifecycleConfigurationCommand } from "@aws-sdk/client-efs"; // ES Modules import // const { EFSClient, DescribeLifecycleConfigurationCommand } = require("@aws-sdk/client-efs"); // CommonJS import const client = new EFSClient(config); const command = new DescribeLifecycleConfigurationCommand(input); const response = await client.send(command);
DescribeLifecycleConfigurationCommandInput for command's
input
shape.DescribeLifecycleConfigurationCommandOutput for command's
response
shape.config for EFSClient's
config
shape.