import { ResourceBase , ResourceTag } from '../resource' ; import { Value , List } from '../dataTypes' ; export class ConstraintsResource { S3Uri ? : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class MonitoringExecutionSummary { CreationTime ! : Value < string > ; EndpointName ? : Value < string > ; FailureReason ? : Value < string > ; LastModifiedTime ! : Value < string > ; MonitoringExecutionStatus ! : Value < string > ; MonitoringScheduleName ! : Value < string > ; ProcessingJobArn ? : Value < string > ; ScheduledTime ! : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class MonitoringOutputConfig { KmsKeyId ? : Value < string > ; MonitoringOutputs ! : List < MonitoringOutput > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class StatisticsResource { S3Uri ? : Value < string > ; 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 ClusterConfig { InstanceCount ! : Value < number > ; InstanceType ! : Value < string > ; VolumeKmsKeyId ? : Value < string > ; VolumeSizeInGB ! : Value < number > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class MonitoringAppSpecification { ContainerArguments ? : List < Value < string > > ; ContainerEntrypoint ? : List < Value < string > > ; ImageUri ! : Value < string > ; PostAnalyticsProcessorSourceUri ? : Value < string > ; RecordPreprocessorSourceUri ? : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class MonitoringJobDefinition { BaselineConfig ? : BaselineConfig ; Environment ? : Environment ; MonitoringAppSpecification ! : MonitoringAppSpecification ; MonitoringInputs ! : List < MonitoringInput > ; MonitoringOutputConfig ! : MonitoringOutputConfig ; MonitoringResources ! : MonitoringResources ; NetworkConfig ? : NetworkConfig ; RoleArn ! : Value < string > ; StoppingCondition ? : StoppingCondition ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class BaselineConfig { ConstraintsResource ? : ConstraintsResource ; StatisticsResource ? : StatisticsResource ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class MonitoringOutput { S3Output ! : S3Output ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class ScheduleConfig { ScheduleExpression ! : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class MonitoringScheduleConfig { MonitoringJobDefinition ? : MonitoringJobDefinition ; MonitoringJobDefinitionName ? : Value < string > ; MonitoringType ? : Value < string > ; ScheduleConfig ? : ScheduleConfig ; 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 class NetworkConfig { EnableInterContainerTrafficEncryption ? : Value < boolean > ; EnableNetworkIsolation ? : Value < boolean > ; VpcConfig ? : VpcConfig ; 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 MonitoringResources { ClusterConfig ! : ClusterConfig ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class StoppingCondition { MaxRuntimeInSeconds ! : Value < number > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class MonitoringInput { EndpointInput ! : EndpointInput ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export interface MonitoringScheduleProperties { MonitoringScheduleName : Value < string > ; MonitoringScheduleConfig : MonitoringScheduleConfig ; Tags ? : List < ResourceTag > ; EndpointName ? : Value < string > ; FailureReason ? : Value < string > ; LastMonitoringExecutionSummary ? : MonitoringExecutionSummary ; MonitoringScheduleStatus ? : Value < string > ; } export default class MonitoringSchedule extends ResourceBase < MonitoringScheduleProperties > { static ConstraintsResource = ConstraintsResource ; static MonitoringExecutionSummary = MonitoringExecutionSummary ; static MonitoringOutputConfig = MonitoringOutputConfig ; static StatisticsResource = StatisticsResource ; static VpcConfig = VpcConfig ; static ClusterConfig = ClusterConfig ; static MonitoringAppSpecification = MonitoringAppSpecification ; static MonitoringJobDefinition = MonitoringJobDefinition ; static BaselineConfig = BaselineConfig ; static MonitoringOutput = MonitoringOutput ; static ScheduleConfig = ScheduleConfig ; static MonitoringScheduleConfig = MonitoringScheduleConfig ; static EndpointInput = EndpointInput ; static NetworkConfig = NetworkConfig ; static S3Output = S3Output ; static MonitoringResources = MonitoringResources ; static StoppingCondition = StoppingCondition ; static MonitoringInput = MonitoringInput ; constructor ( properties ) { super ( 'AWS::SageMaker::MonitoringSchedule' , properties ) ; } }