aws-cdk-lib
Version:
Version 2 of the AWS Cloud Development Kit library
25 lines (24 loc) • 583 B
TypeScript
import * as iam from '../../aws-iam';
import { IResource } from '../../core';
/**
* The interface for a SageMaker Endpoint resource.
*/
export interface IEndpoint extends IResource {
/**
* The ARN of the endpoint.
*
* @attribute
*/
readonly endpointArn: string;
/**
* The name of the endpoint.
*
* @attribute
*/
readonly endpointName: string;
/**
* Permits an IAM principal to invoke this endpoint
* @param grantee The principal to grant access to
*/
grantInvoke(grantee: iam.IGrantable): iam.Grant;
}