Documentation ¶
Overview ¶
CDK Constructs for AWS API Gateway and Amazon SageMaker Endpoint integration.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApiGatewayToSageMakerEndpoint_IsConstruct ¶
func ApiGatewayToSageMakerEndpoint_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 NewApiGatewayToSageMakerEndpoint_Override ¶
func NewApiGatewayToSageMakerEndpoint_Override(a ApiGatewayToSageMakerEndpoint, scope constructs.Construct, id *string, props *ApiGatewayToSageMakerEndpointProps)
Types ¶
type ApiGatewayToSageMakerEndpoint ¶
type ApiGatewayToSageMakerEndpoint interface { constructs.Construct ApiGateway() awsapigateway.RestApi ApiGatewayCloudWatchRole() awsiam.Role ApiGatewayLogGroup() awslogs.LogGroup ApiGatewayRole() awsiam.Role Node() constructs.Node ToString() *string }
func NewApiGatewayToSageMakerEndpoint ¶
func NewApiGatewayToSageMakerEndpoint(scope constructs.Construct, id *string, props *ApiGatewayToSageMakerEndpointProps) ApiGatewayToSageMakerEndpoint
type ApiGatewayToSageMakerEndpointProps ¶
type ApiGatewayToSageMakerEndpointProps struct { // Name of the deployed SageMaker inference endpoint. EndpointName *string `json:"endpointName"` // Mapping template to convert GET requests received on the REST API to POST requests expected by the SageMaker endpoint. RequestMappingTemplate *string `json:"requestMappingTemplate"` // Resource path for the GET method. // // The variable defined here can be referenced in `requestMappingTemplate`. ResourcePath *string `json:"resourcePath"` // Optional IAM role that is used by API Gateway to invoke the SageMaker endpoint. ApiGatewayExecutionRole awsiam.Role `json:"apiGatewayExecutionRole"` // Optional user-provided props to override the default props for the API Gateway. ApiGatewayProps *awsapigateway.RestApiProps `json:"apiGatewayProps"` // User provided props to override the default props for the CloudWatchLogs LogGroup. LogGroupProps *awslogs.LogGroupProps `json:"logGroupProps"` // Optional resource name where the GET method will be available. ResourceName *string `json:"resourceName"` // Optional mapping template to convert responses received from the SageMaker endpoint. ResponseMappingTemplate *string `json:"responseMappingTemplate"` }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.