interface CfnModelExplainabilityJobDefinitionProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Sagemaker.CfnModelExplainabilityJobDefinitionProps |
Java | software.amazon.awscdk.services.sagemaker.CfnModelExplainabilityJobDefinitionProps |
Python | aws_cdk.aws_sagemaker.CfnModelExplainabilityJobDefinitionProps |
TypeScript | @aws-cdk/aws-sagemaker » CfnModelExplainabilityJobDefinitionProps |
Properties for defining a CfnModelExplainabilityJobDefinition
.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as sagemaker from '@aws-cdk/aws-sagemaker';
declare const json: any;
const cfnModelExplainabilityJobDefinitionProps: sagemaker.CfnModelExplainabilityJobDefinitionProps = {
jobResources: {
clusterConfig: {
instanceCount: 123,
instanceType: 'instanceType',
volumeSizeInGb: 123,
// the properties below are optional
volumeKmsKeyId: 'volumeKmsKeyId',
},
},
modelExplainabilityAppSpecification: {
configUri: 'configUri',
imageUri: 'imageUri',
// the properties below are optional
environment: {
environmentKey: 'environment',
},
},
modelExplainabilityJobInput: {
batchTransformInput: {
dataCapturedDestinationS3Uri: 'dataCapturedDestinationS3Uri',
datasetFormat: {
csv: {
header: false,
},
json: json,
parquet: false,
},
localPath: 'localPath',
// the properties below are optional
featuresAttribute: 'featuresAttribute',
inferenceAttribute: 'inferenceAttribute',
probabilityAttribute: 'probabilityAttribute',
s3DataDistributionType: 's3DataDistributionType',
s3InputMode: 's3InputMode',
},
endpointInput: {
endpointName: 'endpointName',
localPath: 'localPath',
// the properties below are optional
featuresAttribute: 'featuresAttribute',
inferenceAttribute: 'inferenceAttribute',
probabilityAttribute: 'probabilityAttribute',
s3DataDistributionType: 's3DataDistributionType',
s3InputMode: 's3InputMode',
},
},
modelExplainabilityJobOutputConfig: {
monitoringOutputs: [{
s3Output: {
localPath: 'localPath',
s3Uri: 's3Uri',
// the properties below are optional
s3UploadMode: 's3UploadMode',
},
}],
// the properties below are optional
kmsKeyId: 'kmsKeyId',
},
roleArn: 'roleArn',
// the properties below are optional
endpointName: 'endpointName',
jobDefinitionName: 'jobDefinitionName',
modelExplainabilityBaselineConfig: {
baseliningJobName: 'baseliningJobName',
constraintsResource: {
s3Uri: 's3Uri',
},
},
networkConfig: {
enableInterContainerTrafficEncryption: false,
enableNetworkIsolation: false,
vpcConfig: {
securityGroupIds: ['securityGroupIds'],
subnets: ['subnets'],
},
},
stoppingCondition: {
maxRuntimeInSeconds: 123,
},
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
Name | Type | Description |
---|---|---|
job | IResolvable | Monitoring | Identifies the resources to deploy for a monitoring job. |
model | IResolvable | Model | Configures the model explainability job to run a specified Docker container image. |
model | IResolvable | Model | Inputs for the model explainability job. |
model | IResolvable | Monitoring | The output configuration for monitoring jobs. |
role | string | The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume to perform tasks on your behalf. |
endpoint | string | AWS::SageMaker::ModelExplainabilityJobDefinition.EndpointName . |
job | string | The name of the model explainability job definition. |
model | IResolvable | Model | The baseline configuration for a model explainability job. |
network | IResolvable | Network | Networking options for a model explainability job. |
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. |
jobResources
Type:
IResolvable
|
Monitoring
Identifies the resources to deploy for a monitoring job.
modelExplainabilityAppSpecification
Type:
IResolvable
|
Model
Configures the model explainability job to run a specified Docker container image.
modelExplainabilityJobInput
Type:
IResolvable
|
Model
Inputs for the model explainability job.
modelExplainabilityJobOutputConfig
Type:
IResolvable
|
Monitoring
The output configuration for monitoring jobs.
roleArn
Type:
string
The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume to perform tasks on your behalf.
endpointName?
Type:
string
(optional)
AWS::SageMaker::ModelExplainabilityJobDefinition.EndpointName
.
jobDefinitionName?
Type:
string
(optional)
The name of the model explainability job definition.
The name must be unique within an AWS Region in the AWS account.
modelExplainabilityBaselineConfig?
Type:
IResolvable
|
Model
(optional)
The baseline configuration for a model explainability job.
networkConfig?
Type:
IResolvable
|
Network
(optional)
Networking options for a model explainability job.
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 .