UNPKG

aws-cdk-lib

Version:

Version 2 of the AWS Cloud Development Kit library

26 lines (25 loc) 736 B
import type { Grant, IGrantable } from '../../aws-iam'; import type { IResource } from '../../core'; import type { IPipelineRef } from '../../interfaces/generated/aws-sagemaker-interfaces.generated'; /** * The interface for a SageMaker Pipeline resource. */ export interface IPipeline extends IResource, IPipelineRef { /** * The ARN of the pipeline. * * @attribute */ readonly pipelineArn: string; /** * The name of the pipeline. * * @attribute */ readonly pipelineName: string; /** * Permits an IAM principal to start this pipeline execution * @param grantee The principal to grant access to */ grantStartPipelineExecution(grantee: IGrantable): Grant; }