# NOT RUN {
# 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.
# }
# NOT RUN {
svc$put_lifecycle_configuration(
FileSystemId = "fs-01234567",
LifecyclePolicies = list(
list(
TransitionToIA = "AFTER_30_DAYS"
)
)
)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab