getLifecyclePolicy
abstract suspend fun getLifecyclePolicy(input: GetLifecyclePolicyRequest): GetLifecyclePolicyResponse
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"
}Content copied to clipboard