@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:41.858Z") @Stability(value=Stable) public class CfnDataQualityJobDefinition extends CfnResource implements IInspectable
Creates a definition for a job that monitors data quality and drift. For information about model monitor, see Amazon SageMaker 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()
.endpointInput(EndpointInputProperty.builder()
.endpointName("endpointName")
.localPath("localPath")
// the properties below are optional
.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())
.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();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnDataQualityJobDefinition.Builder
A fluent builder for
CfnDataQualityJobDefinition. |
static interface |
CfnDataQualityJobDefinition.ClusterConfigProperty
The configuration for the cluster of resources used to run the processing job.
|
static interface |
CfnDataQualityJobDefinition.ConstraintsResourceProperty
The constraints resource for a monitoring job.
|
static interface |
CfnDataQualityJobDefinition.DataQualityAppSpecificationProperty
Information about the container that a data quality monitoring job runs.
|
static interface |
CfnDataQualityJobDefinition.DataQualityBaselineConfigProperty
Configuration for monitoring constraints and monitoring statistics.
|
static interface |
CfnDataQualityJobDefinition.DataQualityJobInputProperty
The input for the data quality monitoring job.
|
static interface |
CfnDataQualityJobDefinition.EndpointInputProperty
Input object for the endpoint.
|
static interface |
CfnDataQualityJobDefinition.MonitoringOutputConfigProperty
The output configuration for monitoring jobs.
|
static interface |
CfnDataQualityJobDefinition.MonitoringOutputProperty
The output object for a monitoring job.
|
static interface |
CfnDataQualityJobDefinition.MonitoringResourcesProperty
Identifies the resources to deploy for a monitoring job.
|
static interface |
CfnDataQualityJobDefinition.NetworkConfigProperty
Networking 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 interface |
CfnDataQualityJobDefinition.S3OutputProperty
The Amazon S3 storage location where the results of a monitoring job are saved.
|
static interface |
CfnDataQualityJobDefinition.StatisticsResourceProperty
The statistics resource for a monitoring job.
|
static interface |
CfnDataQualityJobDefinition.StoppingConditionProperty
Specifies a limit to how long a model training job or model compilation job can run.
|
static interface |
CfnDataQualityJobDefinition.VpcConfigProperty
Specifies a VPC that your training jobs and hosted models have access to.
|
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnDataQualityJobDefinition(software.constructs.Construct scope,
String id,
CfnDataQualityJobDefinitionProps props)
Create a new `AWS::SageMaker::DataQualityJobDefinition`.
|
protected |
CfnDataQualityJobDefinition(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnDataQualityJobDefinition(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttrCreationTime()
The time when the job definition was created.
|
String |
getAttrJobDefinitionArn()
The Amazon Resource Name (ARN) of the job definition.
|
protected Map<String,Object> |
getCfnProperties() |
Object |
getDataQualityAppSpecification()
Specifies the container that runs the monitoring job.
|
Object |
getDataQualityBaselineConfig()
Configures the constraints and baselines for the monitoring job.
|
Object |
getDataQualityJobInput()
A list of inputs for the monitoring job.
|
Object |
getDataQualityJobOutputConfig()
The output configuration for monitoring jobs.
|
String |
getJobDefinitionName()
The name for the monitoring job definition.
|
Object |
getJobResources()
Identifies the resources to deploy for a monitoring job.
|
Object |
getNetworkConfig()
Specifies networking configuration for the monitoring job.
|
String |
getRoleArn()
The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume to perform tasks on your behalf.
|
Object |
getStoppingCondition()
A time limit for how long the monitoring job is allowed to run before stopping.
|
TagManager |
getTags()
An array of key-value pairs to apply to this resource.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setDataQualityAppSpecification(CfnDataQualityJobDefinition.DataQualityAppSpecificationProperty value)
Specifies the container that runs the monitoring job.
|
void |
setDataQualityAppSpecification(IResolvable value)
Specifies the container that runs the monitoring job.
|
void |
setDataQualityBaselineConfig(CfnDataQualityJobDefinition.DataQualityBaselineConfigProperty value)
Configures the constraints and baselines for the monitoring job.
|
void |
setDataQualityBaselineConfig(IResolvable value)
Configures the constraints and baselines for the monitoring job.
|
void |
setDataQualityJobInput(CfnDataQualityJobDefinition.DataQualityJobInputProperty value)
A list of inputs for the monitoring job.
|
void |
setDataQualityJobInput(IResolvable value)
A list of inputs for the monitoring job.
|
void |
setDataQualityJobOutputConfig(CfnDataQualityJobDefinition.MonitoringOutputConfigProperty value)
The output configuration for monitoring jobs.
|
void |
setDataQualityJobOutputConfig(IResolvable value)
The output configuration for monitoring jobs.
|
void |
setJobDefinitionName(String value)
The name for the monitoring job definition.
|
void |
setJobResources(CfnDataQualityJobDefinition.MonitoringResourcesProperty value)
Identifies the resources to deploy for a monitoring job.
|
void |
setJobResources(IResolvable value)
Identifies the resources to deploy for a monitoring job.
|
void |
setNetworkConfig(CfnDataQualityJobDefinition.NetworkConfigProperty value)
Specifies networking configuration for the monitoring job.
|
void |
setNetworkConfig(IResolvable value)
Specifies networking configuration for the monitoring job.
|
void |
setRoleArn(String value)
The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume to perform tasks on your behalf.
|
void |
setStoppingCondition(CfnDataQualityJobDefinition.StoppingConditionProperty value)
A time limit for how long the monitoring job is allowed to run before stopping.
|
void |
setStoppingCondition(IResolvable value)
A time limit for how long the monitoring job is allowed to run before stopping.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnDataQualityJobDefinition(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnDataQualityJobDefinition(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnDataQualityJobDefinition(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnDataQualityJobDefinitionProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public String getAttrCreationTime()
@Stability(value=Stable) @NotNull public String getAttrJobDefinitionArn()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public TagManager getTags()
For more information, see Tag .
@Stability(value=Stable) @NotNull public Object getDataQualityAppSpecification()
@Stability(value=Stable)
public void setDataQualityAppSpecification(@NotNull
CfnDataQualityJobDefinition.DataQualityAppSpecificationProperty value)
@Stability(value=Stable)
public void setDataQualityAppSpecification(@NotNull
IResolvable value)
@Stability(value=Stable) @NotNull public Object getDataQualityJobInput()
Currently endpoints are supported as monitoring inputs.
@Stability(value=Stable)
public void setDataQualityJobInput(@NotNull
CfnDataQualityJobDefinition.DataQualityJobInputProperty value)
Currently endpoints are supported as monitoring inputs.
@Stability(value=Stable)
public void setDataQualityJobInput(@NotNull
IResolvable value)
Currently endpoints are supported as monitoring inputs.
@Stability(value=Stable) @NotNull public Object getDataQualityJobOutputConfig()
@Stability(value=Stable)
public void setDataQualityJobOutputConfig(@NotNull
CfnDataQualityJobDefinition.MonitoringOutputConfigProperty value)
@Stability(value=Stable)
public void setDataQualityJobOutputConfig(@NotNull
IResolvable value)
@Stability(value=Stable) @NotNull public Object getJobResources()
@Stability(value=Stable)
public void setJobResources(@NotNull
CfnDataQualityJobDefinition.MonitoringResourcesProperty value)
@Stability(value=Stable)
public void setJobResources(@NotNull
IResolvable value)
@Stability(value=Stable) @NotNull public String getRoleArn()
@Stability(value=Stable)
public void setRoleArn(@NotNull
String value)
@Stability(value=Stable) @Nullable public Object getDataQualityBaselineConfig()
@Stability(value=Stable)
public void setDataQualityBaselineConfig(@Nullable
CfnDataQualityJobDefinition.DataQualityBaselineConfigProperty value)
@Stability(value=Stable)
public void setDataQualityBaselineConfig(@Nullable
IResolvable value)
@Stability(value=Stable) @Nullable public String getJobDefinitionName()
@Stability(value=Stable)
public void setJobDefinitionName(@Nullable
String value)
@Stability(value=Stable) @Nullable public Object getNetworkConfig()
@Stability(value=Stable)
public void setNetworkConfig(@Nullable
CfnDataQualityJobDefinition.NetworkConfigProperty value)
@Stability(value=Stable)
public void setNetworkConfig(@Nullable
IResolvable value)
@Stability(value=Stable) @Nullable public Object getStoppingCondition()
@Stability(value=Stable)
public void setStoppingCondition(@Nullable
CfnDataQualityJobDefinition.StoppingConditionProperty value)
@Stability(value=Stable)
public void setStoppingCondition(@Nullable
IResolvable value)
Copyright © 2022. All rights reserved.