Skip to content

GetClustersForImage

Source: src/AWS/Inspector2/GetClustersForImage.ts

Runtime binding for inspector2:GetClustersForImage.

Returns a list of clusters and metadata associated with an image.

Provide the implementation with Effect.provide(AWS.Inspector2.GetClustersForImageHttp).

// init
const getClustersForImage = yield* AWS.Inspector2.GetClustersForImage();
// runtime
const { cluster } = yield* getClustersForImage({
filter: { resourceId: imageResourceId },
});