Get Lifecycle Policies

dlm.get_lifecycle_policies
ActionAmazon Web Servicesconnection required

Calls the AWS dlm API (SigV4).

Gets summary information about all or the specified data lifecycle policies. To get complete information about a policy, use GetLifecyclePolicy.

Connection

Required
Yes — the node will not save without one
Auth type
API key
Providers
Amazon Data Lifecycle Manager
Secret shape
{"access_key_id", "secret_access_key"}
Config it needs
region
Resolved by
config.connection_id, else node.connection_id

Configuration

7 fields, none required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
region
AWS region (overrides the connection).
stringNo———
policy_ids
The identifiers of the data lifecycle policies.
arrayNo—array of string—
state
The activation state.
stringNo———
resource_types
The resource type.
arrayNo—array of string—
target_tags
The target tag for a policy. Tags are strings in the format key=value.
arrayNo—array of string—
tags_to_add
The tags to add to objects created by the policy. Tags are strings in the format…
arrayNo—array of string—
default_policy_type
[Default policies only] Specifies the type of default policy to get. Specify one of the…
stringNo———

Output

One shape.

result

FieldTypeExample
Policies
array—
{
  "Policies": []
}

Related Amazon Data Lifecycle Manager nodes

See Get Lifecycle Policies run in a workflow.

In a technical demo we add the Amazon Data Lifecycle Manager connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.