Class CfnModelBiasJobDefinition
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.sagemaker.CfnModelBiasJobDefinition
- All Implemented Interfaces:
IInspectable,IEnvironmentAware,IModelBiasJobDefinitionRef,ITaggable,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.121.0 (build d7af9b9)",
date="2025-12-18T18:20:17.434Z")
@Stability(Stable)
public class CfnModelBiasJobDefinition
extends CfnResource
implements IInspectable, IModelBiasJobDefinitionRef, ITaggable
Creates the definition for a model bias job.
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.*;
CfnModelBiasJobDefinition cfnModelBiasJobDefinition = CfnModelBiasJobDefinition.Builder.create(this, "MyCfnModelBiasJobDefinition")
.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()
.groundTruthS3Input(MonitoringGroundTruthS3InputProperty.builder()
.s3Uri("s3Uri")
.build())
// the properties below are optional
.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
.endTimeOffset("endTimeOffset")
.featuresAttribute("featuresAttribute")
.inferenceAttribute("inferenceAttribute")
.probabilityAttribute("probabilityAttribute")
.probabilityThresholdAttribute(123)
.s3DataDistributionType("s3DataDistributionType")
.s3InputMode("s3InputMode")
.startTimeOffset("startTimeOffset")
.build())
.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())
.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
.endpointName("endpointName")
.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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceInput object for the batch transform job.static final classA fluent builder forCfnModelBiasJobDefinition.static interfaceThe configuration for the cluster resources used to run the processing job.static interfaceThe constraints resource for a monitoring job.static interfaceThe CSV format.static interfaceThe dataset format of the data to monitor.static interfaceInput object for the endpoint.static interfaceThe Json format.static interfaceDocker container image configuration object for the model bias job.static interfaceThe configuration for a baseline model bias job.static interfaceInputs for the model bias job.static interfaceThe ground truth labels for the dataset used for the monitoring job.static interfaceThe output configuration for monitoring jobs.static interfaceThe output object for a monitoring job.static interfaceIdentifies the resources to deploy for a monitoring job.static interfaceNetworking options for a job, such as network traffic encryption between containers, whether to allow inbound and outbound network calls to and from containers, and the VPC subnets and security groups to use for VPC-enabled jobs.static interfaceThe Amazon S3 storage location where the results of a monitoring job are saved.static interfaceSpecifies a limit to how long a job can run.static interfaceSpecifies an Amazon Virtual Private Cloud (VPC) that your SageMaker jobs, hosted models, and compute resources have access to.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.sagemaker.IModelBiasJobDefinitionRef
IModelBiasJobDefinitionRef.Jsii$Default, IModelBiasJobDefinitionRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggable
ITaggable.Jsii$Default, ITaggable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnModelBiasJobDefinition(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnModelBiasJobDefinition(software.amazon.jsii.JsiiObjectRef objRef) CfnModelBiasJobDefinition(software.constructs.Construct scope, String id, CfnModelBiasJobDefinitionProps props) Create a newAWS::SageMaker::ModelBiasJobDefinition. -
Method Summary
Modifier and TypeMethodDescriptionThe time when the job definition was created.The Amazon Resource Name (ARN) of the job definition.The name of the endpoint used to run the monitoring job.The name of the bias job definition.Identifies the resources to deploy for a monitoring job.Configures the model bias job to run a specified Docker container image.The baseline configuration for a model bias job.A reference to a ModelBiasJobDefinition resource.Inputs for the model bias job.The output configuration for monitoring jobs.Networking options for a model bias job.The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume to perform tasks on your behalf.A time limit for how long the monitoring job is allowed to run before stopping.getTags()Tag Manager which manages the tags for this resource.An array of key-value pairs to apply to this resource.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnModelBiasJobDefinition.renderProperties(Map<String, Object> props) voidsetEndpointName(String value) The name of the endpoint used to run the monitoring job.voidsetJobDefinitionName(String value) The name of the bias job definition.voidsetJobResources(IResolvable value) Identifies the resources to deploy for a monitoring job.voidIdentifies the resources to deploy for a monitoring job.voidConfigures the model bias job to run a specified Docker container image.voidConfigures the model bias job to run a specified Docker container image.voidThe baseline configuration for a model bias job.voidThe baseline configuration for a model bias job.voidsetModelBiasJobInput(IResolvable value) Inputs for the model bias job.voidInputs for the model bias job.voidThe output configuration for monitoring jobs.voidThe output configuration for monitoring jobs.voidsetNetworkConfig(IResolvable value) Networking options for a model bias job.voidNetworking options for a model bias job.voidsetRoleArn(String value) The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume to perform tasks on your behalf.voidsetStoppingCondition(IResolvable value) A time limit for how long the monitoring job is allowed to run before stopping.voidA time limit for how long the monitoring job is allowed to run before stopping.voidsetTagsRaw(List<CfnTag> value) An array of key-value pairs to apply to this resource.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnModelBiasJobDefinition
protected CfnModelBiasJobDefinition(software.amazon.jsii.JsiiObjectRef objRef) -
CfnModelBiasJobDefinition
protected CfnModelBiasJobDefinition(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnModelBiasJobDefinition
@Stability(Stable) public CfnModelBiasJobDefinition(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnModelBiasJobDefinitionProps props) Create a newAWS::SageMaker::ModelBiasJobDefinition.- Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties. This parameter is required.
-
-
Method Details
-
isCfnModelBiasJobDefinition
Checks whether the given object is a CfnModelBiasJobDefinition.- Parameters:
x- This parameter is required.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrCreationTime
The time when the job definition was created. -
getAttrJobDefinitionArn
The Amazon Resource Name (ARN) of the job definition. -
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getModelBiasJobDefinitionRef
A reference to a ModelBiasJobDefinition resource.- Specified by:
getModelBiasJobDefinitionRefin interfaceIModelBiasJobDefinitionRef
-
getTags
Tag Manager which manages the tags for this resource. -
getJobResources
Identifies the resources to deploy for a monitoring job.Returns union: either
IResolvableorCfnModelBiasJobDefinition.MonitoringResourcesProperty -
setJobResources
Identifies the resources to deploy for a monitoring job. -
setJobResources
@Stability(Stable) public void setJobResources(@NotNull CfnModelBiasJobDefinition.MonitoringResourcesProperty value) Identifies the resources to deploy for a monitoring job. -
getModelBiasAppSpecification
Configures the model bias job to run a specified Docker container image.Returns union: either
IResolvableorCfnModelBiasJobDefinition.ModelBiasAppSpecificationProperty -
setModelBiasAppSpecification
Configures the model bias job to run a specified Docker container image. -
setModelBiasAppSpecification
@Stability(Stable) public void setModelBiasAppSpecification(@NotNull CfnModelBiasJobDefinition.ModelBiasAppSpecificationProperty value) Configures the model bias job to run a specified Docker container image. -
getModelBiasJobInput
Inputs for the model bias job.Returns union: either
IResolvableorCfnModelBiasJobDefinition.ModelBiasJobInputProperty -
setModelBiasJobInput
Inputs for the model bias job. -
setModelBiasJobInput
@Stability(Stable) public void setModelBiasJobInput(@NotNull CfnModelBiasJobDefinition.ModelBiasJobInputProperty value) Inputs for the model bias job. -
getModelBiasJobOutputConfig
The output configuration for monitoring jobs.Returns union: either
IResolvableorCfnModelBiasJobDefinition.MonitoringOutputConfigProperty -
setModelBiasJobOutputConfig
The output configuration for monitoring jobs. -
setModelBiasJobOutputConfig
@Stability(Stable) public void setModelBiasJobOutputConfig(@NotNull CfnModelBiasJobDefinition.MonitoringOutputConfigProperty value) The output configuration for monitoring jobs. -
getRoleArn
The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume to perform tasks on your behalf. -
setRoleArn
The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume to perform tasks on your behalf. -
getEndpointName
The name of the endpoint used to run the monitoring job. -
setEndpointName
The name of the endpoint used to run the monitoring job. -
getJobDefinitionName
The name of the bias job definition. -
setJobDefinitionName
The name of the bias job definition. -
getModelBiasBaselineConfig
The baseline configuration for a model bias job.Returns union: either
IResolvableorCfnModelBiasJobDefinition.ModelBiasBaselineConfigProperty -
setModelBiasBaselineConfig
The baseline configuration for a model bias job. -
setModelBiasBaselineConfig
@Stability(Stable) public void setModelBiasBaselineConfig(@Nullable CfnModelBiasJobDefinition.ModelBiasBaselineConfigProperty value) The baseline configuration for a model bias job. -
getNetworkConfig
Networking options for a model bias job.Returns union: either
IResolvableorCfnModelBiasJobDefinition.NetworkConfigProperty -
setNetworkConfig
Networking options for a model bias job. -
setNetworkConfig
@Stability(Stable) public void setNetworkConfig(@Nullable CfnModelBiasJobDefinition.NetworkConfigProperty value) Networking options for a model bias job. -
getStoppingCondition
A time limit for how long the monitoring job is allowed to run before stopping.Returns union: either
IResolvableorCfnModelBiasJobDefinition.StoppingConditionProperty -
setStoppingCondition
A time limit for how long the monitoring job is allowed to run before stopping. -
setStoppingCondition
@Stability(Stable) public void setStoppingCondition(@Nullable CfnModelBiasJobDefinition.StoppingConditionProperty value) A time limit for how long the monitoring job is allowed to run before stopping. -
getTagsRaw
An array of key-value pairs to apply to this resource. -
setTagsRaw
An array of key-value pairs to apply to this resource.
-