interface CfnModelBiasJobDefinitionMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.SageMaker.Mixins.CfnModelBiasJobDefinitionMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awssagemaker/mixins#CfnModelBiasJobDefinitionMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.sagemaker.mixins.CfnModelBiasJobDefinitionMixinProps |
Python | aws_cdk.mixins_preview.aws_sagemaker.mixins.CfnModelBiasJobDefinitionMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_sagemaker » mixins » CfnModelBiasJobDefinitionMixinProps |
Properties for CfnModelBiasJobDefinitionPropsMixin.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as sagemaker_mixins } from '@aws-cdk/mixins-preview/aws-sagemaker';
const cfnModelBiasJobDefinitionMixinProps: sagemaker_mixins.CfnModelBiasJobDefinitionMixinProps = {
endpointName: 'endpointName',
jobDefinitionName: 'jobDefinitionName',
jobResources: {
clusterConfig: {
instanceCount: 123,
instanceType: 'instanceType',
volumeKmsKeyId: 'volumeKmsKeyId',
volumeSizeInGb: 123,
},
},
modelBiasAppSpecification: {
configUri: 'configUri',
environment: {
environmentKey: 'environment',
},
imageUri: 'imageUri',
},
modelBiasBaselineConfig: {
baseliningJobName: 'baseliningJobName',
constraintsResource: {
s3Uri: 's3Uri',
},
},
modelBiasJobInput: {
batchTransformInput: {
dataCapturedDestinationS3Uri: 'dataCapturedDestinationS3Uri',
datasetFormat: {
csv: {
header: false,
},
json: {
line: false,
},
parquet: false,
},
endTimeOffset: 'endTimeOffset',
featuresAttribute: 'featuresAttribute',
inferenceAttribute: 'inferenceAttribute',
localPath: 'localPath',
probabilityAttribute: 'probabilityAttribute',
probabilityThresholdAttribute: 123,
s3DataDistributionType: 's3DataDistributionType',
s3InputMode: 's3InputMode',
startTimeOffset: 'startTimeOffset',
},
endpointInput: {
endpointName: 'endpointName',
endTimeOffset: 'endTimeOffset',
featuresAttribute: 'featuresAttribute',
inferenceAttribute: 'inferenceAttribute',
localPath: 'localPath',
probabilityAttribute: 'probabilityAttribute',
probabilityThresholdAttribute: 123,
s3DataDistributionType: 's3DataDistributionType',
s3InputMode: 's3InputMode',
startTimeOffset: 'startTimeOffset',
},
groundTruthS3Input: {
s3Uri: 's3Uri',
},
},
modelBiasJobOutputConfig: {
kmsKeyId: 'kmsKeyId',
monitoringOutputs: [{
s3Output: {
localPath: 'localPath',
s3UploadMode: 's3UploadMode',
s3Uri: 's3Uri',
},
}],
},
networkConfig: {
enableInterContainerTrafficEncryption: false,
enableNetworkIsolation: false,
vpcConfig: {
securityGroupIds: ['securityGroupIds'],
subnets: ['subnets'],
},
},
roleArn: 'roleArn',
stoppingCondition: {
maxRuntimeInSeconds: 123,
},
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| endpoint | string | The name of the endpoint used to run the monitoring job. |
| job | string | The name of the bias job definition. |
| job | IResolvable | Monitoring | Identifies the resources to deploy for a monitoring job. |
| model | IResolvable | Model | Configures the model bias job to run a specified Docker container image. |
| model | IResolvable | Model | The baseline configuration for a model bias job. |
| model | IResolvable | Model | Inputs for the model bias job. |
| model | IResolvable | Monitoring | The output configuration for monitoring jobs. |
| network | IResolvable | Network | Networking options for a model bias job. |
| role | string | The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume to perform tasks on your behalf. |
| stopping | IResolvable | Stopping | A time limit for how long the monitoring job is allowed to run before stopping. |
| tags? | Cfn[] | An array of key-value pairs to apply to this resource. |
endpointName?
Type:
string
(optional)
The name of the endpoint used to run the monitoring job.
jobDefinitionName?
Type:
string
(optional)
The name of the bias job definition.
The name must be unique within an AWS Region in the AWS account.
jobResources?
Type:
IResolvable | Monitoring
(optional)
Identifies the resources to deploy for a monitoring job.
modelBiasAppSpecification?
Type:
IResolvable | Model
(optional)
Configures the model bias job to run a specified Docker container image.
modelBiasBaselineConfig?
Type:
IResolvable | Model
(optional)
The baseline configuration for a model bias job.
modelBiasJobInput?
Type:
IResolvable | Model
(optional)
Inputs for the model bias job.
modelBiasJobOutputConfig?
Type:
IResolvable | Monitoring
(optional)
The output configuration for monitoring jobs.
networkConfig?
Type:
IResolvable | Network
(optional)
Networking options for a model bias job.
roleArn?
Type:
string
(optional)
The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume to perform tasks on your behalf.
stoppingCondition?
Type:
IResolvable | Stopping
(optional)
A time limit for how long the monitoring job is allowed to run before stopping.
tags?
Type:
Cfn[]
(optional)
An array of key-value pairs to apply to this resource.
For more information, see Tag .

.NET
Go
Java
Python
TypeScript