import { ResourceBase , ResourceTag } from '../resource' ; import { Value , List } from '../dataTypes' ; export class ClusterConfig { InstanceCount ! : Value < number > ; InstanceType ! : Value < string > ; VolumeKmsKeyId ? : Value < string > ; VolumeSizeInGB ! : Value < number > ; 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 ModelBiasBaselineConfig { BaseliningJobName ? : Value < string > ; ConstraintsResource ? : ConstraintsResource ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class ModelBiasJobInput { EndpointInput ! : EndpointInput ; GroundTruthS3Input ! : MonitoringGroundTruthS3Input ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class MonitoringResources { ClusterConfig ! : ClusterConfig ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class ModelBiasAppSpecification { ImageUri ! : Value < string > ; ConfigUri ! : Value < string > ; Environment ? : Environment ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class MonitoringGroundTruthS3Input { S3Uri ! : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class ConstraintsResource { S3Uri ? : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class StoppingCondition { MaxRuntimeInSeconds ! : Value < number > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class MonitoringOutputConfig { KmsKeyId ? : Value < string > ; MonitoringOutputs ! : List < MonitoringOutput > ; 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 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 > ; StartTimeOffset ? : Value < string > ; EndTimeOffset ? : Value < string > ; FeaturesAttribute ? : Value < string > ; InferenceAttribute ? : Value < string > ; ProbabilityAttribute ? : Value < string > ; ProbabilityThresholdAttribute ? : Value < number > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class MonitoringOutput { S3Output ! : S3Output ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export interface ModelBiasJobDefinitionProperties { JobDefinitionName ? : Value < string > ; ModelBiasBaselineConfig ? : ModelBiasBaselineConfig ; ModelBiasAppSpecification : ModelBiasAppSpecification ; ModelBiasJobInput : ModelBiasJobInput ; ModelBiasJobOutputConfig : MonitoringOutputConfig ; JobResources : MonitoringResources ; NetworkConfig ? : NetworkConfig ; RoleArn : Value < string > ; StoppingCondition ? : StoppingCondition ; Tags ? : List < ResourceTag > ; } export default class ModelBiasJobDefinition extends ResourceBase < ModelBiasJobDefinitionProperties > { static ClusterConfig = ClusterConfig ; static S3Output = S3Output ; static ModelBiasBaselineConfig = ModelBiasBaselineConfig ; static ModelBiasJobInput = ModelBiasJobInput ; static MonitoringResources = MonitoringResources ; static ModelBiasAppSpecification = ModelBiasAppSpecification ; static MonitoringGroundTruthS3Input = MonitoringGroundTruthS3Input ; static ConstraintsResource = ConstraintsResource ; static StoppingCondition = StoppingCondition ; static MonitoringOutputConfig = MonitoringOutputConfig ; static VpcConfig = VpcConfig ; static NetworkConfig = NetworkConfig ; static EndpointInput = EndpointInput ; static MonitoringOutput = MonitoringOutput ; constructor ( properties ) { super ( 'AWS::SageMaker::ModelBiasJobDefinition' , properties ) ; } }