Interface CfnModelExplainabilityJobDefinitionProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnModelExplainabilityJobDefinitionProps.Jsii$Proxy
CfnModelExplainabilityJobDefinition.
Example:
// 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.*;
CfnModelExplainabilityJobDefinitionProps cfnModelExplainabilityJobDefinitionProps = CfnModelExplainabilityJobDefinitionProps.builder()
.jobResources(MonitoringResourcesProperty.builder()
.clusterConfig(ClusterConfigProperty.builder()
.instanceCount(123)
.instanceType("instanceType")
.volumeSizeInGb(123)
// the properties below are optional
.volumeKmsKeyId("volumeKmsKeyId")
.build())
.build())
.modelExplainabilityAppSpecification(ModelExplainabilityAppSpecificationProperty.builder()
.configUri("configUri")
.imageUri("imageUri")
// the properties below are optional
.environment(Map.of(
"environmentKey", "environment"))
.build())
.modelExplainabilityJobInput(ModelExplainabilityJobInputProperty.builder()
.batchTransformInput(BatchTransformInputProperty.builder()
.dataCapturedDestinationS3Uri("dataCapturedDestinationS3Uri")
.datasetFormat(DatasetFormatProperty.builder()
.csv(CsvProperty.builder()
.header(false)
.build())
.json(JsonProperty.builder()
.line(false)
.build())
.parquet(false)
.build())
.localPath("localPath")
// the properties below are optional
.featuresAttribute("featuresAttribute")
.inferenceAttribute("inferenceAttribute")
.probabilityAttribute("probabilityAttribute")
.s3DataDistributionType("s3DataDistributionType")
.s3InputMode("s3InputMode")
.build())
.endpointInput(EndpointInputProperty.builder()
.endpointName("endpointName")
.localPath("localPath")
// the properties below are optional
.featuresAttribute("featuresAttribute")
.inferenceAttribute("inferenceAttribute")
.probabilityAttribute("probabilityAttribute")
.s3DataDistributionType("s3DataDistributionType")
.s3InputMode("s3InputMode")
.build())
.build())
.modelExplainabilityJobOutputConfig(MonitoringOutputConfigProperty.builder()
.monitoringOutputs(List.of(MonitoringOutputProperty.builder()
.s3Output(S3OutputProperty.builder()
.localPath("localPath")
.s3Uri("s3Uri")
// the properties below are optional
.s3UploadMode("s3UploadMode")
.build())
.build()))
// the properties below are optional
.kmsKeyId("kmsKeyId")
.build())
.roleArn("roleArn")
// the properties below are optional
.endpointName("endpointName")
.jobDefinitionName("jobDefinitionName")
.modelExplainabilityBaselineConfig(ModelExplainabilityBaselineConfigProperty.builder()
.baseliningJobName("baseliningJobName")
.constraintsResource(ConstraintsResourceProperty.builder()
.s3Uri("s3Uri")
.build())
.build())
.networkConfig(NetworkConfigProperty.builder()
.enableInterContainerTrafficEncryption(false)
.enableNetworkIsolation(false)
.vpcConfig(VpcConfigProperty.builder()
.securityGroupIds(List.of("securityGroupIds"))
.subnets(List.of("subnets"))
.build())
.build())
.stoppingCondition(StoppingConditionProperty.builder()
.maxRuntimeInSeconds(123)
.build())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnModelExplainabilityJobDefinitionPropsstatic final classAn implementation forCfnModelExplainabilityJobDefinitionProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe name of the endpoint used to run the monitoring job.default StringThe name of the model explainability job definition.Identifies the resources to deploy for a monitoring job.Configures the model explainability job to run a specified Docker container image.default ObjectThe baseline configuration for a model explainability job.Inputs for the model explainability job.The output configuration for monitoring jobs.default ObjectNetworking options for a model explainability job.The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume to perform tasks on your behalf.default ObjectA time limit for how long the monitoring job is allowed to run before stopping.getTags()An array of key-value pairs to apply to this resource.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getJobResources
Identifies the resources to deploy for a monitoring job.Returns union: either
IResolvableorCfnModelExplainabilityJobDefinition.MonitoringResourcesProperty- See Also:
-
getModelExplainabilityAppSpecification
Configures the model explainability job to run a specified Docker container image.Returns union: either
IResolvableorCfnModelExplainabilityJobDefinition.ModelExplainabilityAppSpecificationProperty- See Also:
-
getModelExplainabilityJobInput
Inputs for the model explainability job.Returns union: either
IResolvableorCfnModelExplainabilityJobDefinition.ModelExplainabilityJobInputProperty- See Also:
-
getModelExplainabilityJobOutputConfig
The output configuration for monitoring jobs.Returns union: either
IResolvableorCfnModelExplainabilityJobDefinition.MonitoringOutputConfigProperty- See Also:
-
getRoleArn
The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume to perform tasks on your behalf.- See Also:
-
getEndpointName
The name of the endpoint used to run the monitoring job.- See Also:
-
getJobDefinitionName
The name of the model explainability job definition.The name must be unique within an AWS Region in the AWS account.
- See Also:
-
getModelExplainabilityBaselineConfig
The baseline configuration for a model explainability job.Returns union: either
IResolvableorCfnModelExplainabilityJobDefinition.ModelExplainabilityBaselineConfigProperty- See Also:
-
getNetworkConfig
Networking options for a model explainability job.Returns union: either
IResolvableorCfnModelExplainabilityJobDefinition.NetworkConfigProperty- See Also:
-
getStoppingCondition
A time limit for how long the monitoring job is allowed to run before stopping.Returns union: either
IResolvableorCfnModelExplainabilityJobDefinition.StoppingConditionProperty- See Also:
-
getTags
An array of key-value pairs to apply to this resource.For more information, see Tag .
- See Also:
-
builder
-