26 lines
736 B
TypeScript
26 lines
736 B
TypeScript
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;
|
|
}
|