Create a lifecycle policy resource.
See https://www.paws-r-sdk.com/docs/imagebuilder_create_lifecycle_policy/ for full documentation.
imagebuilder_create_lifecycle_policy(
name,
description = NULL,
status = NULL,
executionRole,
resourceType,
policyDetails,
resourceSelection,
tags = NULL,
clientToken
)
[required] The name of the lifecycle policy to create.
Optional description for the lifecycle policy.
Indicates whether the lifecycle policy resource is enabled.
[required] The name or Amazon Resource Name (ARN) for the IAM role you create that grants Image Builder access to run lifecycle actions.
[required] The type of Image Builder resource that the lifecycle policy applies to.
[required] Configuration details for the lifecycle policy rules.
[required] Selection criteria for the resources that the lifecycle policy applies to.
Tags to apply to the lifecycle policy resource.
[required] Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see Ensuring idempotency in the Amazon EC2 API Reference.