View source: R/imagebuilder_operations.R
imagebuilder_create_lifecycle_policy | R Documentation |
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
)
name |
[required] The name of the lifecycle policy to create. |
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) for the IAM role you create that grants Image Builder access to run lifecycle actions. |
resourceType |
[required] The type of Image Builder resource that the lifecycle policy applies to. |
policyDetails |
[required] Configuration details for the lifecycle policy rules. |
resourceSelection |
[required] Selection criteria for the resources that the lifecycle policy applies to. |
tags |
Tags to apply to the lifecycle policy resource. |
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. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.