Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DescribeLifecycleConfigurationCommand

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.

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);
see

DescribeLifecycleConfigurationCommandInput for command's input shape.

see

DescribeLifecycleConfigurationCommandOutput for command's response shape.

see

config for EFSClient's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: DescribeLifecycleConfigurationCommandInput

Readonly middlewareStack

Methods

Static getEndpointParameterInstructions