# ModelExplainabilityAppSpecificationProperty

Docker container image configuration object for the model explainability job.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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" }
    }
};
```

Golang:

```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

- `configUri`: string (required) — JSON formatted Amazon S3 file that defines explainability parameters.

  For more information on this JSON configuration file, see [Configure model explainability parameters](https://docs.aws.amazon.com/sagemaker/latest/dg/clarify-config-json-monitor-model-explainability-parameters.html) .

- `environment`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | { [key: string]: string } — Sets the environment variables in the Docker container.

- `imageUri`: string (required) — The container image to be run by the model explainability job.
