Get Clusters For Image
| inspector2_get_clusters_for_image | R Documentation |
Returns a list of clusters and metadata associated with an image¶
Description¶
Returns a list of clusters and metadata associated with an image.
Usage¶
inspector2_get_clusters_for_image(filter, maxResults, nextToken)
Arguments¶
filter |
[required] The resource Id for the Amazon ECR image. |
maxResults |
The maximum number of results to be returned in a single page of results. |
nextToken |
The pagination token from a previous request used to retrieve the next page of results. |
Value¶
A list with the following syntax:
list(
cluster = list(
list(
clusterArn = "string",
clusterDetails = list(
list(
lastInUse = as.POSIXct(
"2015-01-01"
),
runningUnitCount = 123,
stoppedUnitCount = 123,
clusterMetadata = list(
awsEcsMetadataDetails = list(
detailsGroup = "string",
taskDefinitionArn = "string"
),
awsEksMetadataDetails = list(
namespace = "string",
workloadInfoList = list(
list(
name = "string",
type = "string"
)
)
)
)
)
)
)
),
nextToken = "string"
)
Request syntax¶
svc$get_clusters_for_image(
filter = list(
resourceId = "string"
),
maxResults = 123,
nextToken = "string"
)