Skip to content

Describe Lifecycle Configuration

efs_describe_lifecycle_configuration R Documentation

Returns the current LifecycleConfiguration object for the specified Amazon EFS file system

Description

Returns the current LifecycleConfiguration object for the specified Amazon EFS file system. Lifecycle management uses the LifecycleConfiguration object to identify when to move files between storage classes. For a file system without a LifecycleConfiguration object, the call returns an empty array in the response.

This operation requires permissions for the elasticfilesystem:DescribeLifecycleConfiguration operation.

Usage

efs_describe_lifecycle_configuration(FileSystemId)

Arguments

FileSystemId

[required] The ID of the file system whose LifecycleConfiguration object you want to retrieve (String).

Value

A list with the following syntax:

list(
  LifecyclePolicies = list(
    list(
      TransitionToIA = "AFTER_7_DAYS"|"AFTER_14_DAYS"|"AFTER_30_DAYS"|"AFTER_60_DAYS"|"AFTER_90_DAYS"|"AFTER_1_DAY"|"AFTER_180_DAYS"|"AFTER_270_DAYS"|"AFTER_365_DAYS",
      TransitionToPrimaryStorageClass = "AFTER_1_ACCESS",
      TransitionToArchive = "AFTER_1_DAY"|"AFTER_7_DAYS"|"AFTER_14_DAYS"|"AFTER_30_DAYS"|"AFTER_60_DAYS"|"AFTER_90_DAYS"|"AFTER_180_DAYS"|"AFTER_270_DAYS"|"AFTER_365_DAYS"
    )
  )
)

Request syntax

svc$describe_lifecycle_configuration(
  FileSystemId = "string"
)

Examples

## Not run: 
# This operation describes a file system's LifecycleConfiguration. EFS
# lifecycle management uses the LifecycleConfiguration object to identify
# which files to move to the EFS Infrequent Access (IA) storage class.
svc$describe_lifecycle_configuration(
  FileSystemId = "fs-01234567"
)

## End(Not run)