UNPKG

aws-cdk-lib

Version:

Version 2 of the AWS Cloud Development Kit library

29 lines (28 loc) 1.14 kB
import { Construct } from 'constructs'; import { InspectorScanActionBase, InspectorScanActionBaseProps } from './scan-action-base'; import * as codepipeline from '../../../aws-codepipeline'; import { IRepositoryRef } from '../../../interfaces/generated/aws-ecr-interfaces.generated'; /** * Construction properties of the `InspectorEcrImageScanAction`. */ export interface InspectorEcrImageScanActionProps extends InspectorScanActionBaseProps { /** * The Amazon ECR repository where the image is pushed. */ readonly repository: IRepositoryRef; /** * The tag used for the image. * * @default 'latest' */ readonly imageTag?: string; } /** * CodePipeline invoke action that uses AWS InspectorScan for ECR images. */ export declare class InspectorEcrImageScanAction extends InspectorScanActionBase { private readonly ecrProps; constructor(props: InspectorEcrImageScanActionProps); protected renderActionConfiguration(): Record<string, any>; protected bound(scope: Construct, stage: codepipeline.IStage, options: codepipeline.ActionBindOptions): codepipeline.ActionConfig; }