class SagemakerIntegration
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.APIGateway.SagemakerIntegration |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsapigateway#SagemakerIntegration |
![]() | software.amazon.awscdk.services.apigateway.SagemakerIntegration |
![]() | aws_cdk.aws_apigateway.SagemakerIntegration |
![]() | aws-cdk-lib » aws_apigateway » SagemakerIntegration |
Extends
Aws
Integrates an AWS Sagemaker Endpoint to an API Gateway method.
Example
declare const resource: apigateway.Resource;
declare const endpoint: sagemaker.IEndpoint;
resource.addMethod('POST', new apigateway.SagemakerIntegration(endpoint));
Initializer
new SagemakerIntegration(endpoint: IEndpoint, options?: SagemakerIntegrationOptions)
Parameters
- endpoint
IEndpoint
- options
Sagemaker
Integration Options
Methods
Name | Description |
---|---|
bind(method) | Can be overridden by subclasses to allow the integration to interact with the method being integrated, access the REST API object, method ARNs, etc. |
bind(method)
public bind(method: Method): IntegrationConfig
Parameters
- method
Method
Returns
Can be overridden by subclasses to allow the integration to interact with the method being integrated, access the REST API object, method ARNs, etc.