Gets summary information about all or the specified data lifecycle policies.
To get complete information about a policy, use
get_lifecycle_policy
.
dlm_get_lifecycle_policies(PolicyIds, State, ResourceTypes, TargetTags,
TagsToAdd)
The identifiers of the data lifecycle policies.
The activation state.
The resource type.
The target tag for a policy.
Tags are strings in the format key=value
.
The tags to add to objects created by the policy.
Tags are strings in the format key=value
.
These user-defined tags are added in addition to the AWS-added lifecycle tags.
A list with the following syntax:
list( Policies = list( list( PolicyId = "string", Description = "string", State = "ENABLED"|"DISABLED"|"ERROR", Tags = list( "string" ), PolicyType = "EBS_SNAPSHOT_MANAGEMENT"|"IMAGE_MANAGEMENT"|"EVENT_BASED_POLICY" ) ) )
svc$get_lifecycle_policies( PolicyIds = list( "string" ), State = "ENABLED"|"DISABLED"|"ERROR", ResourceTypes = list( "VOLUME"|"INSTANCE" ), TargetTags = list( "string" ), TagsToAdd = list( "string" ) )