Class CfnDataQualityJobDefinition
- All Implemented Interfaces:
IInspectable,ITaggable,IDataQualityJobDefinitionRef,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
For information about model monitor, see Amazon SageMaker AI Model Monitor .
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.*;
CfnDataQualityJobDefinition cfnDataQualityJobDefinition = CfnDataQualityJobDefinition.Builder.create(this, "MyCfnDataQualityJobDefinition")
.dataQualityAppSpecification(DataQualityAppSpecificationProperty.builder()
.imageUri("imageUri")
// the properties below are optional
.containerArguments(List.of("containerArguments"))
.containerEntrypoint(List.of("containerEntrypoint"))
.environment(Map.of(
"environmentKey", "environment"))
.postAnalyticsProcessorSourceUri("postAnalyticsProcessorSourceUri")
.recordPreprocessorSourceUri("recordPreprocessorSourceUri")
.build())
.dataQualityJobInput(DataQualityJobInputProperty.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
.excludeFeaturesAttribute("excludeFeaturesAttribute")
.s3DataDistributionType("s3DataDistributionType")
.s3InputMode("s3InputMode")
.build())
.endpointInput(EndpointInputProperty.builder()
.endpointName("endpointName")
.localPath("localPath")
// the properties below are optional
.excludeFeaturesAttribute("excludeFeaturesAttribute")
.s3DataDistributionType("s3DataDistributionType")
.s3InputMode("s3InputMode")
.build())
.build())
.dataQualityJobOutputConfig(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())
.jobResources(MonitoringResourcesProperty.builder()
.clusterConfig(ClusterConfigProperty.builder()
.instanceCount(123)
.instanceType("instanceType")
.volumeSizeInGb(123)
// the properties below are optional
.volumeKmsKeyId("volumeKmsKeyId")
.build())
.build())
.roleArn("roleArn")
// the properties below are optional
.dataQualityBaselineConfig(DataQualityBaselineConfigProperty.builder()
.baseliningJobName("baseliningJobName")
.constraintsResource(ConstraintsResourceProperty.builder()
.s3Uri("s3Uri")
.build())
.statisticsResource(StatisticsResourceProperty.builder()
.s3Uri("s3Uri")
.build())
.build())
.endpointName("endpointName")
.jobDefinitionName("jobDefinitionName")
.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 forCfnDataQualityJobDefinition.static interfaceThe configuration for the cluster of resources used to run the processing job.static interfaceThe constraints resource for a monitoring job.static interfaceThe CSV format.static interfaceInformation about the container that a data quality monitoring job runs.static interfaceConfiguration for monitoring constraints and monitoring statistics.static interfaceThe input for the data quality monitoring job.static interfaceThe dataset format of the data to monitor.static interfaceInput object for the endpoint.static interfaceThe Json format.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 interfaceThe statistics resource for a monitoring job.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.services.sagemaker.IDataQualityJobDefinitionRef
IDataQualityJobDefinitionRef.Jsii$Default, IDataQualityJobDefinitionRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.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
ConstructorsModifierConstructorDescriptionprotectedCfnDataQualityJobDefinition(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnDataQualityJobDefinition(software.amazon.jsii.JsiiObjectRef objRef) CfnDataQualityJobDefinition(software.constructs.Construct scope, String id, CfnDataQualityJobDefinitionProps props) -
Method Summary
Modifier and TypeMethodDescriptionThe time when the job definition was created.The Amazon Resource Name (ARN) of the job definition.Specifies the container that runs the monitoring job.Configures the constraints and baselines for the monitoring job.A reference to a DataQualityJobDefinition resource.A list of inputs for the monitoring job.The output configuration for monitoring jobs.The name of the endpoint used to run the monitoring job.The name for the monitoring job definition.Identifies the resources to deploy for a monitoring job.Specifies networking configuration for the monitoring 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.renderProperties(Map<String, Object> props) voidSpecifies the container that runs the monitoring job.voidsetDataQualityAppSpecification(CfnDataQualityJobDefinition.DataQualityAppSpecificationProperty value) Specifies the container that runs the monitoring job.voidConfigures the constraints and baselines for the monitoring job.voidConfigures the constraints and baselines for the monitoring job.voidA list of inputs for the monitoring job.voidA list of inputs for the monitoring job.voidThe output configuration for monitoring jobs.voidThe output configuration for monitoring jobs.voidsetEndpointName(String value) The name of the endpoint used to run the monitoring job.voidsetJobDefinitionName(String value) The name for the monitoring job definition.voidsetJobResources(IResolvable value) Identifies the resources to deploy for a monitoring job.voidIdentifies the resources to deploy for a monitoring job.voidsetNetworkConfig(IResolvable value) Specifies networking configuration for the monitoring job.voidSpecifies networking configuration for the monitoring 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, 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.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnDataQualityJobDefinition
protected CfnDataQualityJobDefinition(software.amazon.jsii.JsiiObjectRef objRef) -
CfnDataQualityJobDefinition
protected CfnDataQualityJobDefinition(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnDataQualityJobDefinition
@Stability(Stable) public CfnDataQualityJobDefinition(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnDataQualityJobDefinitionProps props) - 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
-
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
-
getDataQualityJobDefinitionRef
@Stability(Stable) @NotNull public DataQualityJobDefinitionReference getDataQualityJobDefinitionRef()A reference to a DataQualityJobDefinition resource.- Specified by:
getDataQualityJobDefinitionRefin interfaceIDataQualityJobDefinitionRef
-
getTags
Tag Manager which manages the tags for this resource. -
getDataQualityAppSpecification
Specifies the container that runs the monitoring job.Returns union: either
IResolvableorCfnDataQualityJobDefinition.DataQualityAppSpecificationProperty -
setDataQualityAppSpecification
Specifies the container that runs the monitoring job. -
setDataQualityAppSpecification
@Stability(Stable) public void setDataQualityAppSpecification(@NotNull CfnDataQualityJobDefinition.DataQualityAppSpecificationProperty value) Specifies the container that runs the monitoring job. -
getDataQualityJobInput
A list of inputs for the monitoring job.Returns union: either
IResolvableorCfnDataQualityJobDefinition.DataQualityJobInputProperty -
setDataQualityJobInput
A list of inputs for the monitoring job. -
setDataQualityJobInput
@Stability(Stable) public void setDataQualityJobInput(@NotNull CfnDataQualityJobDefinition.DataQualityJobInputProperty value) A list of inputs for the monitoring job. -
getDataQualityJobOutputConfig
The output configuration for monitoring jobs.Returns union: either
IResolvableorCfnDataQualityJobDefinition.MonitoringOutputConfigProperty -
setDataQualityJobOutputConfig
The output configuration for monitoring jobs. -
setDataQualityJobOutputConfig
@Stability(Stable) public void setDataQualityJobOutputConfig(@NotNull CfnDataQualityJobDefinition.MonitoringOutputConfigProperty value) The output configuration for monitoring jobs. -
getJobResources
Identifies the resources to deploy for a monitoring job.Returns union: either
IResolvableorCfnDataQualityJobDefinition.MonitoringResourcesProperty -
setJobResources
Identifies the resources to deploy for a monitoring job. -
setJobResources
@Stability(Stable) public void setJobResources(@NotNull CfnDataQualityJobDefinition.MonitoringResourcesProperty value) Identifies the resources to deploy for a monitoring job. -
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. -
getDataQualityBaselineConfig
Configures the constraints and baselines for the monitoring job.Returns union: either
IResolvableorCfnDataQualityJobDefinition.DataQualityBaselineConfigProperty -
setDataQualityBaselineConfig
Configures the constraints and baselines for the monitoring job. -
setDataQualityBaselineConfig
@Stability(Stable) public void setDataQualityBaselineConfig(@Nullable CfnDataQualityJobDefinition.DataQualityBaselineConfigProperty value) Configures the constraints and baselines for the monitoring job. -
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 for the monitoring job definition. -
setJobDefinitionName
The name for the monitoring job definition. -
getNetworkConfig
Specifies networking configuration for the monitoring job.Returns union: either
IResolvableorCfnDataQualityJobDefinition.NetworkConfigProperty -
setNetworkConfig
Specifies networking configuration for the monitoring job. -
setNetworkConfig
@Stability(Stable) public void setNetworkConfig(@Nullable CfnDataQualityJobDefinition.NetworkConfigProperty value) Specifies networking configuration for the monitoring job. -
getStoppingCondition
A time limit for how long the monitoring job is allowed to run before stopping.Returns union: either
IResolvableorCfnDataQualityJobDefinition.StoppingConditionProperty -
setStoppingCondition
A time limit for how long the monitoring job is allowed to run before stopping. -
setStoppingCondition
@Stability(Stable) public void setStoppingCondition(@Nullable CfnDataQualityJobDefinition.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.
-