Get Lifecycle Policy
imagebuilder_get_lifecycle_policy | R Documentation |
Get details for the specified image lifecycle policy¶
Description¶
Get details for the specified image lifecycle policy.
Usage¶
Arguments¶
lifecyclePolicyArn
[required] Specifies the Amazon Resource Name (ARN) of the image lifecycle policy resource to get.
Value¶
A list with the following syntax:
list(
lifecyclePolicy = list(
arn = "string",
name = "string",
description = "string",
status = "DISABLED"|"ENABLED",
executionRole = "string",
resourceType = "AMI_IMAGE"|"CONTAINER_IMAGE",
policyDetails = list(
list(
action = list(
type = "DELETE"|"DEPRECATE"|"DISABLE",
includeResources = list(
amis = TRUE|FALSE,
snapshots = TRUE|FALSE,
containers = TRUE|FALSE
)
),
filter = list(
type = "AGE"|"COUNT",
value = 123,
unit = "DAYS"|"WEEKS"|"MONTHS"|"YEARS",
retainAtLeast = 123
),
exclusionRules = list(
tagMap = list(
"string"
),
amis = list(
isPublic = TRUE|FALSE,
regions = list(
"string"
),
sharedAccounts = list(
"string"
),
lastLaunched = list(
value = 123,
unit = "DAYS"|"WEEKS"|"MONTHS"|"YEARS"
),
tagMap = list(
"string"
)
)
)
)
),
resourceSelection = list(
recipes = list(
list(
name = "string",
semanticVersion = "string"
)
),
tagMap = list(
"string"
)
),
dateCreated = as.POSIXct(
"2015-01-01"
),
dateUpdated = as.POSIXct(
"2015-01-01"
),
dateLastRun = as.POSIXct(
"2015-01-01"
),
tags = list(
"string"
)
)
)