Interface SagemakerIntegrationOptions
- All Superinterfaces:
IntegrationOptions,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
SagemakerIntegrationOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-29T11:15:31.576Z")
@Stability(Stable)
public interface SagemakerIntegrationOptions
extends software.amazon.jsii.JsiiSerializable, IntegrationOptions
Options for SageMakerIntegration.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.*;
import software.amazon.awscdk.services.apigateway.*;
import software.amazon.awscdk.services.iam.*;
Role role;
VpcLink vpcLink;
SagemakerIntegrationOptions sagemakerIntegrationOptions = SagemakerIntegrationOptions.builder()
.cacheKeyParameters(List.of("cacheKeyParameters"))
.cacheNamespace("cacheNamespace")
.connectionType(ConnectionType.INTERNET)
.contentHandling(ContentHandling.CONVERT_TO_BINARY)
.credentialsPassthrough(false)
.credentialsRole(role)
.integrationResponses(List.of(IntegrationResponse.builder()
.statusCode("statusCode")
// the properties below are optional
.contentHandling(ContentHandling.CONVERT_TO_BINARY)
.responseParameters(Map.of(
"responseParametersKey", "responseParameters"))
.responseTemplates(Map.of(
"responseTemplatesKey", "responseTemplates"))
.selectionPattern("selectionPattern")
.build()))
.passthroughBehavior(PassthroughBehavior.WHEN_NO_MATCH)
.requestParameters(Map.of(
"requestParametersKey", "requestParameters"))
.requestTemplates(Map.of(
"requestTemplatesKey", "requestTemplates"))
.timeout(Duration.minutes(30))
.vpcLink(vpcLink)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forSagemakerIntegrationOptionsstatic final classAn implementation forSagemakerIntegrationOptions -
Method Summary
Static MethodsMethods inherited from interface software.amazon.awscdk.services.apigateway.IntegrationOptions
getCacheKeyParameters, getCacheNamespace, getConnectionType, getContentHandling, getCredentialsPassthrough, getCredentialsRole, getIntegrationResponses, getPassthroughBehavior, getRequestParameters, getRequestTemplates, getTimeout, getVpcLinkMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
builder
-