With Amazon Data Lifecycle Manager, you can manage the lifecycle of your AWS resources. You create lifecycle policies, which are used to automate operations on the specified resources.
Amazon DLM supports Amazon EBS volumes and snapshots. For information about using Amazon DLM with Amazon EBS, see Automating the Amazon EBS Snapshot Lifecycle in the Amazon EC2 User Guide.
dlm(config = list())
A client for the service. You can call the service's operations using
syntax like svc$operation(...)
, where svc
is the name you've assigned
to the client. The available operations are listed in the
Operations section.
Optional configuration of credentials, endpoint, and/or region.
svc <- dlm(
config = list(
credentials = list(
creds = list(
access_key_id = "string",
secret_access_key = "string",
session_token = "string"
),
profile = "string"
),
endpoint = "string",
region = "string"
)
)
create_lifecycle_policy | Creates a policy to manage the lifecycle of the specified AWS resources |
delete_lifecycle_policy | Deletes the specified lifecycle policy and halts the automated operations that the policy specified |
get_lifecycle_policies | Gets summary information about all or the specified data lifecycle policies |
get_lifecycle_policy | Gets detailed information about the specified lifecycle policy |
list_tags_for_resource | Lists the tags for the specified resource |
tag_resource | Adds the specified tags to the specified resource |
untag_resource | Removes the specified tags from the specified resource |
update_lifecycle_policy | Updates the specified lifecycle policy |
if (FALSE) {
svc <- dlm()
svc$create_lifecycle_policy(
Foo = 123
)
}
Run the code above in your browser using DataLab