Documentation
¶
Overview ¶
CDK constructs for defining an interaction between an AWS Lambda function and an Amazon SageMaker inference endpoint.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LambdaToSagemakerEndpoint_IsConstruct ¶
func LambdaToSagemakerEndpoint_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Returns: true if `x` is an object created from a class which extends `Construct`. Deprecated: use `x instanceof Construct` instead
func NewLambdaToSagemakerEndpoint_Override ¶
func NewLambdaToSagemakerEndpoint_Override(l LambdaToSagemakerEndpoint, scope constructs.Construct, id *string, props *LambdaToSagemakerEndpointProps)
Types ¶
type LambdaToSagemakerEndpoint ¶
type LambdaToSagemakerEndpoint interface { constructs.Construct LambdaFunction() awslambda.Function Node() constructs.Node SagemakerEndpoint() awssagemaker.CfnEndpoint SagemakerEndpointConfig() awssagemaker.CfnEndpointConfig SagemakerModel() awssagemaker.CfnModel Vpc() awsec2.IVpc ToString() *string }
func NewLambdaToSagemakerEndpoint ¶
func NewLambdaToSagemakerEndpoint(scope constructs.Construct, id *string, props *LambdaToSagemakerEndpointProps) LambdaToSagemakerEndpoint
type LambdaToSagemakerEndpointProps ¶
type LambdaToSagemakerEndpointProps struct { // Whether to deploy a new VPC. DeployVpc *bool `json:"deployVpc"` // User provided props to create Sagemaker Endpoint Configuration. EndpointConfigProps *awssagemaker.CfnEndpointConfigProps `json:"endpointConfigProps"` // User provided props to create Sagemaker Endpoint. EndpointProps *awssagemaker.CfnEndpointProps `json:"endpointProps"` // Existing instance of Lambda Function object, Providing both this and lambdaFunctionProps will cause an error. ExistingLambdaObj awslambda.Function `json:"existingLambdaObj"` // Existing Sagemaker Enpoint object, providing both this and endpointProps will cause an error. ExistingSagemakerEndpointObj awssagemaker.CfnEndpoint `json:"existingSagemakerEndpointObj"` // An existing VPC for the construct to use (construct will NOT create a new VPC in this case). ExistingVpc awsec2.IVpc `json:"existingVpc"` // User provided props to override the default props for the Lambda function. LambdaFunctionProps *awslambda.FunctionProps `json:"lambdaFunctionProps"` // User provided props to create Sagemaker Model. ModelProps interface{} `json:"modelProps"` // Optional Name for the SageMaker endpoint environment variable set for the Lambda function. SagemakerEnvironmentVariableName *string `json:"sagemakerEnvironmentVariableName"` // Properties to override default properties if deployVpc is true. VpcProps *awsec2.VpcProps `json:"vpcProps"` }
Source Files
¶
Click to show internal directories.
Click to hide internal directories.