getLifecyclePolicy

Retrieves details for the specified image lifecycle policy.

Samples

// The following example retrieves the full definition of the specified lifecycle policy.
val resp = imagebuilderClient.getLifecyclePolicy {
    lifecyclePolicyArn = "arn:aws:imagebuilder:us-west-2:111122223333:lifecycle-policy/my-example-lifecycle-policy"
}