NAME

Paws::EFS::PutLifecycleConfiguration - Arguments for method PutLifecycleConfiguration on Paws::EFS

DESCRIPTION

This class represents the parameters used for calling the method PutLifecycleConfiguration on the Amazon Elastic File System service. Use the attributes of this class as arguments to method PutLifecycleConfiguration.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to PutLifecycleConfiguration.

SYNOPSIS

my $elasticfilesystem = Paws->service('EFS');
# Creates a new lifecycleconfiguration object for a file system
# This operation enables lifecycle management on a file system by creating a new
# LifecycleConfiguration object. A LifecycleConfiguration object defines when
# files in an Amazon EFS file system are automatically transitioned to the
# lower-cost EFS Infrequent Access (IA) storage class. A LifecycleConfiguration
# applies to all files in a file system.
my $LifecycleConfigurationDescription =
  $elasticfilesystem->PutLifecycleConfiguration(
  'FileSystemId'      => 'fs-01234567',
  'LifecyclePolicies' => [

    {
      'TransitionToIA' => 'AFTER_30_DAYS'
    }
  ]
  );

# Results:
my $LifecyclePolicies =
  $LifecycleConfigurationDescription->LifecyclePolicies;

# Returns a L<Paws::EFS::LifecycleConfigurationDescription> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem/PutLifecycleConfiguration

ATTRIBUTES

REQUIRED FileSystemId => Str

The ID of the file system for which you are creating the LifecycleConfiguration object (String).

REQUIRED LifecyclePolicies => ArrayRef[Paws::EFS::LifecyclePolicy]

An array of LifecyclePolicy objects that define the file system's LifecycleConfiguration object. A LifecycleConfiguration object tells lifecycle management when to transition files from the Standard storage class to the Infrequent Access storage class.

SEE ALSO

This class forms part of Paws, documenting arguments for method PutLifecycleConfiguration in Paws::EFS

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues