@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:41.912Z") @Stability(value=Stable) public interface CfnModelBiasJobDefinitionProps extends software.amazon.jsii.JsiiSerializable
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.*;
CfnModelBiasJobDefinitionProps cfnModelBiasJobDefinitionProps = CfnModelBiasJobDefinitionProps.builder()
.jobResources(MonitoringResourcesProperty.builder()
.clusterConfig(ClusterConfigProperty.builder()
.instanceCount(123)
.instanceType("instanceType")
.volumeSizeInGb(123)
// the properties below are optional
.volumeKmsKeyId("volumeKmsKeyId")
.build())
.build())
.modelBiasAppSpecification(ModelBiasAppSpecificationProperty.builder()
.configUri("configUri")
.imageUri("imageUri")
// the properties below are optional
.environment(Map.of(
"environmentKey", "environment"))
.build())
.modelBiasJobInput(ModelBiasJobInputProperty.builder()
.endpointInput(EndpointInputProperty.builder()
.endpointName("endpointName")
.localPath("localPath")
// the properties below are optional
.endTimeOffset("endTimeOffset")
.featuresAttribute("featuresAttribute")
.inferenceAttribute("inferenceAttribute")
.probabilityAttribute("probabilityAttribute")
.probabilityThresholdAttribute(123)
.s3DataDistributionType("s3DataDistributionType")
.s3InputMode("s3InputMode")
.startTimeOffset("startTimeOffset")
.build())
.groundTruthS3Input(MonitoringGroundTruthS3InputProperty.builder()
.s3Uri("s3Uri")
.build())
.build())
.modelBiasJobOutputConfig(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
.jobDefinitionName("jobDefinitionName")
.modelBiasBaselineConfig(ModelBiasBaselineConfigProperty.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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnModelBiasJobDefinitionProps.Builder
A builder for
CfnModelBiasJobDefinitionProps |
static class |
CfnModelBiasJobDefinitionProps.Jsii$Proxy
An implementation for
CfnModelBiasJobDefinitionProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnModelBiasJobDefinitionProps.Builder |
builder() |
default String |
getJobDefinitionName()
The name of the bias job definition.
|
Object |
getJobResources()
Identifies the resources to deploy for a monitoring job.
|
Object |
getModelBiasAppSpecification()
Configures the model bias job to run a specified Docker container image.
|
default Object |
getModelBiasBaselineConfig()
The baseline configuration for a model bias job.
|
Object |
getModelBiasJobInput()
Inputs for the model bias job.
|
Object |
getModelBiasJobOutputConfig()
The output configuration for monitoring jobs.
|
default Object |
getNetworkConfig()
Networking options for a model bias job.
|
String |
getRoleArn()
The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume to perform tasks on your behalf.
|
default Object |
getStoppingCondition()
A time limit for how long the monitoring job is allowed to run before stopping.
|
default List<CfnTag> |
getTags()
An array of key-value pairs to apply to this resource.
|
@Stability(value=Stable) @NotNull Object getJobResources()
@Stability(value=Stable) @NotNull Object getModelBiasAppSpecification()
@Stability(value=Stable) @NotNull Object getModelBiasJobInput()
@Stability(value=Stable) @NotNull Object getModelBiasJobOutputConfig()
@Stability(value=Stable) @NotNull String getRoleArn()
@Stability(value=Stable) @Nullable default String getJobDefinitionName()
The name must be unique within an AWS Region in the AWS account.
@Stability(value=Stable) @Nullable default Object getModelBiasBaselineConfig()
@Stability(value=Stable) @Nullable default Object getNetworkConfig()
@Stability(value=Stable) @Nullable default Object getStoppingCondition()
@Stability(value=Stable) @Nullable default List<CfnTag> getTags()
For more information, see Tag .
@Stability(value=Stable) static CfnModelBiasJobDefinitionProps.Builder builder()
Copyright © 2022. All rights reserved.