import { ResourceBase , ResourceTag } from '../resource' ; import { Value , List } from '../dataTypes' ; export class DataQualityBaselineConfig { BaseliningJobName ? : Value < string > ; ConstraintsResource ? : ConstraintsResource ; StatisticsResource ? : StatisticsResource ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class StatisticsResource { S3Uri ? : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class ConstraintsResource { S3Uri ? : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class DataQualityJobInput { EndpointInput ! : EndpointInput ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class MonitoringResources { ClusterConfig ! : ClusterConfig ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class MonitoringOutput { S3Output ! : S3Output ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class MonitoringOutputConfig { KmsKeyId ? : Value < string > ; MonitoringOutputs ! : List < MonitoringOutput > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class DataQualityAppSpecification { ContainerArguments ? : List < Value < string > > ; ContainerEntrypoint ? : List < Value < string > > ; ImageUri ! : Value < string > ; PostAnalyticsProcessorSourceUri ? : Value < string > ; RecordPreprocessorSourceUri ? : Value < string > ; Environment ? : Environment ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class ClusterConfig { InstanceCount ! : Value < number > ; InstanceType ! : Value < string > ; VolumeKmsKeyId ? : Value < string > ; VolumeSizeInGB ! : Value < number > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class VpcConfig { SecurityGroupIds ! : List < Value < string > > ; Subnets ! : List < Value < string > > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class S3Output { LocalPath ! : Value < string > ; S3UploadMode ? : Value < string > ; S3Uri ! : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class StoppingCondition { MaxRuntimeInSeconds ! : Value < number > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class NetworkConfig { EnableInterContainerTrafficEncryption ? : Value < boolean > ; EnableNetworkIsolation ? : Value < boolean > ; VpcConfig ? : VpcConfig ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class EndpointInput { EndpointName ! : Value < string > ; LocalPath ! : Value < string > ; S3DataDistributionType ? : Value < string > ; S3InputMode ? : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export interface DataQualityJobDefinitionProperties { JobDefinitionName ? : Value < string > ; DataQualityBaselineConfig ? : DataQualityBaselineConfig ; DataQualityAppSpecification : DataQualityAppSpecification ; DataQualityJobInput : DataQualityJobInput ; DataQualityJobOutputConfig : MonitoringOutputConfig ; JobResources : MonitoringResources ; NetworkConfig ? : NetworkConfig ; RoleArn : Value < string > ; StoppingCondition ? : StoppingCondition ; Tags ? : List < ResourceTag > ; } export default class DataQualityJobDefinition extends ResourceBase < DataQualityJobDefinitionProperties > { static DataQualityBaselineConfig = DataQualityBaselineConfig ; static StatisticsResource = StatisticsResource ; static ConstraintsResource = ConstraintsResource ; static DataQualityJobInput = DataQualityJobInput ; static MonitoringResources = MonitoringResources ; static MonitoringOutput = MonitoringOutput ; static MonitoringOutputConfig = MonitoringOutputConfig ; static DataQualityAppSpecification = DataQualityAppSpecification ; static ClusterConfig = ClusterConfig ; static VpcConfig = VpcConfig ; static S3Output = S3Output ; static StoppingCondition = StoppingCondition ; static NetworkConfig = NetworkConfig ; static EndpointInput = EndpointInput ; constructor ( properties ) { super ( 'AWS::SageMaker::DataQualityJobDefinition' , properties ) ; } }