ModelExplainabilityAppSpecificationProperty Struct
Docker container image configuration object for the model explainability job.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_sagemaker as sagemaker } from 'aws-cdk-lib';
const modelExplainabilityAppSpecificationProperty: sagemaker.CfnModelExplainabilityJobDefinition.ModelExplainabilityAppSpecificationProperty = {
configUri: 'configUri',
imageUri: 'imageUri',
// the properties below are optional
environment: {
environmentKey: 'environment',
},
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_sagemaker as sagemaker
model_explainability_app_specification_property = sagemaker.CfnModelExplainabilityJobDefinition.ModelExplainabilityAppSpecificationProperty(
config_uri="configUri",
image_uri="imageUri",
# the properties below are optional
environment={
"environment_key": "environment"
}
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.sagemaker.*;
ModelExplainabilityAppSpecificationProperty modelExplainabilityAppSpecificationProperty = ModelExplainabilityAppSpecificationProperty.builder()
.configUri("configUri")
.imageUri("imageUri")
// the properties below are optional
.environment(Map.of(
"environmentKey", "environment"))
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Sagemaker;
var modelExplainabilityAppSpecificationProperty = new ModelExplainabilityAppSpecificationProperty {
ConfigUri = "configUri",
ImageUri = "imageUri",
// the properties below are optional
Environment = new Dictionary<string, string> {
{ "environmentKey", "environment" }
}
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
modelExplainabilityAppSpecificationProperty := &ModelExplainabilityAppSpecificationProperty{
ConfigUri: jsii.String("configUri"),
ImageUri: jsii.String("imageUri"),
// the properties below are optional
Environment: map[string]*string{
"environmentKey": jsii.String("environment"),
},
}
Properties
JSON formatted Amazon S3 file that defines explainability parameters.
For more information on this JSON configuration file, see Configure model explainability parameters .
environmentoptionalIResolvable | { [key: string]: string }environmentoptionaltyping.Union[IResolvable, typing.Mapping[str, str]]environmentoptionalIResolvableEnvironmentoptionalIResolvableEnvironmentoptionalinterface{}#Sets the environment variables in the Docker container.
The container image to be run by the model explainability job.