Skip to content

List Lifecycle Policies

imagebuilder_list_lifecycle_policies R Documentation

Get a list of lifecycle policies in your Amazon Web Services account

Description

Get a list of lifecycle policies in your Amazon Web Services account.

Usage

imagebuilder_list_lifecycle_policies(filters, maxResults, nextToken)

Arguments

filters

Streamline results based on one of the following values: Name, Status.

maxResults

The maximum items to return in a request.

nextToken

A token to specify where to start paginating. This is the nextToken from a previously truncated response.

Value

A list with the following syntax:

list(
  lifecyclePolicySummaryList = list(
    list(
      arn = "string",
      name = "string",
      description = "string",
      status = "DISABLED"|"ENABLED",
      executionRole = "string",
      resourceType = "AMI_IMAGE"|"CONTAINER_IMAGE",
      dateCreated = as.POSIXct(
        "2015-01-01"
      ),
      dateUpdated = as.POSIXct(
        "2015-01-01"
      ),
      dateLastRun = as.POSIXct(
        "2015-01-01"
      ),
      tags = list(
        "string"
      )
    )
  ),
  nextToken = "string"
)

Request syntax

svc$list_lifecycle_policies(
  filters = list(
    list(
      name = "string",
      values = list(
        "string"
      )
    )
  ),
  maxResults = 123,
  nextToken = "string"
)