Learn R Programming

paws.compute (version 0.7.0)

imagebuilder_update_lifecycle_policy: Update the specified lifecycle policy

Description

Update the specified lifecycle policy.

See https://www.paws-r-sdk.com/docs/imagebuilder_update_lifecycle_policy/ for full documentation.

Usage

imagebuilder_update_lifecycle_policy(
  lifecyclePolicyArn,
  description = NULL,
  status = NULL,
  executionRole,
  resourceType,
  policyDetails,
  resourceSelection,
  clientToken
)

Arguments

lifecyclePolicyArn

[required] The Amazon Resource Name (ARN) of the lifecycle policy resource.

description

Optional description for the lifecycle policy.

status

Indicates whether the lifecycle policy resource is enabled.

executionRole

[required] The name or Amazon Resource Name (ARN) of the IAM role that Image Builder uses to update the lifecycle policy.

resourceType

[required] The type of image resource that the lifecycle policy applies to.

policyDetails

[required] The configuration details for a lifecycle policy resource.

resourceSelection

[required] Selection criteria for resources that the lifecycle policy applies to.

clientToken

[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.