class CfnEndpointConfigPropsMixin
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.SageMaker.Mixins.CfnEndpointConfigPropsMixin |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awssagemaker/mixins#CfnEndpointConfigPropsMixin |
Java | software.amazon.awscdk.mixins.preview.services.sagemaker.mixins.CfnEndpointConfigPropsMixin |
Python | aws_cdk.mixins_preview.aws_sagemaker.mixins.CfnEndpointConfigPropsMixin |
TypeScript | @aws-cdk/mixins-preview » aws_sagemaker » mixins » CfnEndpointConfigPropsMixin |
Implements
IMixin
Extends
Mixin
The AWS::SageMaker::EndpointConfig resource creates a configuration for an Amazon SageMaker endpoint.
For more information, see CreateEndpointConfig in the SageMaker Developer Guide .
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins } from '@aws-cdk/mixins-preview';
import { mixins as sagemaker_mixins } from '@aws-cdk/mixins-preview/aws-sagemaker';
const cfnEndpointConfigPropsMixin = new sagemaker_mixins.CfnEndpointConfigPropsMixin({
asyncInferenceConfig: {
clientConfig: {
maxConcurrentInvocationsPerInstance: 123,
},
outputConfig: {
kmsKeyId: 'kmsKeyId',
notificationConfig: {
errorTopic: 'errorTopic',
includeInferenceResponseIn: ['includeInferenceResponseIn'],
successTopic: 'successTopic',
},
s3FailurePath: 's3FailurePath',
s3OutputPath: 's3OutputPath',
},
},
dataCaptureConfig: {
captureContentTypeHeader: {
csvContentTypes: ['csvContentTypes'],
jsonContentTypes: ['jsonContentTypes'],
},
captureOptions: [{
captureMode: 'captureMode',
}],
destinationS3Uri: 'destinationS3Uri',
enableCapture: false,
initialSamplingPercentage: 123,
kmsKeyId: 'kmsKeyId',
},
enableNetworkIsolation: false,
endpointConfigName: 'endpointConfigName',
executionRoleArn: 'executionRoleArn',
explainerConfig: {
clarifyExplainerConfig: {
enableExplanations: 'enableExplanations',
inferenceConfig: {
contentTemplate: 'contentTemplate',
featureHeaders: ['featureHeaders'],
featuresAttribute: 'featuresAttribute',
featureTypes: ['featureTypes'],
labelAttribute: 'labelAttribute',
labelHeaders: ['labelHeaders'],
labelIndex: 123,
maxPayloadInMb: 123,
maxRecordCount: 123,
probabilityAttribute: 'probabilityAttribute',
probabilityIndex: 123,
},
shapConfig: {
numberOfSamples: 123,
seed: 123,
shapBaselineConfig: {
mimeType: 'mimeType',
shapBaseline: 'shapBaseline',
shapBaselineUri: 'shapBaselineUri',
},
textConfig: {
granularity: 'granularity',
language: 'language',
},
useLogit: false,
},
},
},
kmsKeyId: 'kmsKeyId',
productionVariants: [{
acceleratorType: 'acceleratorType',
capacityReservationConfig: {
capacityReservationPreference: 'capacityReservationPreference',
mlReservationArn: 'mlReservationArn',
},
containerStartupHealthCheckTimeoutInSeconds: 123,
enableSsmAccess: false,
inferenceAmiVersion: 'inferenceAmiVersion',
initialInstanceCount: 123,
initialVariantWeight: 123,
instanceType: 'instanceType',
managedInstanceScaling: {
maxInstanceCount: 123,
minInstanceCount: 123,
status: 'status',
},
modelDataDownloadTimeoutInSeconds: 123,
modelName: 'modelName',
routingConfig: {
routingStrategy: 'routingStrategy',
},
serverlessConfig: {
maxConcurrency: 123,
memorySizeInMb: 123,
provisionedConcurrency: 123,
},
variantName: 'variantName',
volumeSizeInGb: 123,
}],
shadowProductionVariants: [{
acceleratorType: 'acceleratorType',
capacityReservationConfig: {
capacityReservationPreference: 'capacityReservationPreference',
mlReservationArn: 'mlReservationArn',
},
containerStartupHealthCheckTimeoutInSeconds: 123,
enableSsmAccess: false,
inferenceAmiVersion: 'inferenceAmiVersion',
initialInstanceCount: 123,
initialVariantWeight: 123,
instanceType: 'instanceType',
managedInstanceScaling: {
maxInstanceCount: 123,
minInstanceCount: 123,
status: 'status',
},
modelDataDownloadTimeoutInSeconds: 123,
modelName: 'modelName',
routingConfig: {
routingStrategy: 'routingStrategy',
},
serverlessConfig: {
maxConcurrency: 123,
memorySizeInMb: 123,
provisionedConcurrency: 123,
},
variantName: 'variantName',
volumeSizeInGb: 123,
}],
tags: [{
key: 'key',
value: 'value',
}],
vpcConfig: {
securityGroupIds: ['securityGroupIds'],
subnets: ['subnets'],
},
}, /* all optional props */ {
strategy: mixins.PropertyMergeStrategy.OVERRIDE,
});
Initializer
new CfnEndpointConfigPropsMixin(props: CfnEndpointConfigMixinProps, options?: CfnPropertyMixinOptions)
Parameters
- props
Cfn— L1 properties to apply.Endpoint Config Mixin Props - options
Cfn— Mixin options.Property Mixin Options
Create a mixin to apply properties to AWS::SageMaker::EndpointConfig.
Properties
| Name | Type | Description |
|---|---|---|
| props | Cfn | |
| strategy | Property | |
| static CFN_PROPERTY_KEYS | string[] |
props
Type:
Cfn
strategy
Type:
Property
static CFN_PROPERTY_KEYS
Type:
string[]
Methods
| Name | Description |
|---|---|
| apply | Apply the mixin properties to the construct. |
| supports(construct) | Check if this mixin supports the given construct. |
applyTo(construct)
public applyTo(construct: IConstruct): IConstruct
Parameters
- construct
IConstruct
Returns
Apply the mixin properties to the construct.
supports(construct)
public supports(construct: IConstruct): boolean
Parameters
- construct
IConstruct
Returns
boolean
Check if this mixin supports the given construct.

.NET
Go
Java
Python
TypeScript