CfnMonitoringScheduleMixinProps
- class aws_cdk.mixins_preview.aws_sagemaker.mixins.CfnMonitoringScheduleMixinProps(*, endpoint_name=None, failure_reason=None, last_monitoring_execution_summary=None, monitoring_schedule_config=None, monitoring_schedule_name=None, monitoring_schedule_status=None, tags=None)
Bases:
objectProperties for CfnMonitoringSchedulePropsMixin.
- Parameters:
endpoint_name (
Optional[str]) – The name of the endpoint using the monitoring schedule.failure_reason (
Optional[str]) – Contains the reason a monitoring job failed, if it failed.last_monitoring_execution_summary (
Union[IResolvable,MonitoringExecutionSummaryProperty,Dict[str,Any],None]) – Describes metadata on the last execution to run, if there was one.monitoring_schedule_config (
Union[IResolvable,MonitoringScheduleConfigProperty,Dict[str,Any],None]) – The configuration object that specifies the monitoring schedule and defines the monitoring job.monitoring_schedule_name (
Optional[str]) – The name of the monitoring schedule.monitoring_schedule_status (
Optional[str]) – The status of the monitoring schedule.tags (
Optional[Sequence[Union[CfnTag,Dict[str,Any]]]]) – An array of key-value pairs to apply to this resource. For more information, see Tag .
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_sagemaker import mixins as sagemaker_mixins cfn_monitoring_schedule_mixin_props = sagemaker_mixins.CfnMonitoringScheduleMixinProps( endpoint_name="endpointName", failure_reason="failureReason", last_monitoring_execution_summary=sagemaker_mixins.CfnMonitoringSchedulePropsMixin.MonitoringExecutionSummaryProperty( creation_time="creationTime", endpoint_name="endpointName", failure_reason="failureReason", last_modified_time="lastModifiedTime", monitoring_execution_status="monitoringExecutionStatus", monitoring_schedule_name="monitoringScheduleName", processing_job_arn="processingJobArn", scheduled_time="scheduledTime" ), monitoring_schedule_config=sagemaker_mixins.CfnMonitoringSchedulePropsMixin.MonitoringScheduleConfigProperty( monitoring_job_definition=sagemaker_mixins.CfnMonitoringSchedulePropsMixin.MonitoringJobDefinitionProperty( baseline_config=sagemaker_mixins.CfnMonitoringSchedulePropsMixin.BaselineConfigProperty( constraints_resource=sagemaker_mixins.CfnMonitoringSchedulePropsMixin.ConstraintsResourceProperty( s3_uri="s3Uri" ), statistics_resource=sagemaker_mixins.CfnMonitoringSchedulePropsMixin.StatisticsResourceProperty( s3_uri="s3Uri" ) ), environment={ "environment_key": "environment" }, monitoring_app_specification=sagemaker_mixins.CfnMonitoringSchedulePropsMixin.MonitoringAppSpecificationProperty( container_arguments=["containerArguments"], container_entrypoint=["containerEntrypoint"], image_uri="imageUri", post_analytics_processor_source_uri="postAnalyticsProcessorSourceUri", record_preprocessor_source_uri="recordPreprocessorSourceUri" ), monitoring_inputs=[sagemaker_mixins.CfnMonitoringSchedulePropsMixin.MonitoringInputProperty( batch_transform_input=sagemaker_mixins.CfnMonitoringSchedulePropsMixin.BatchTransformInputProperty( data_captured_destination_s3_uri="dataCapturedDestinationS3Uri", dataset_format=sagemaker_mixins.CfnMonitoringSchedulePropsMixin.DatasetFormatProperty( csv=sagemaker_mixins.CfnMonitoringSchedulePropsMixin.CsvProperty( header=False ), json=sagemaker_mixins.CfnMonitoringSchedulePropsMixin.JsonProperty( line=False ), parquet=False ), exclude_features_attribute="excludeFeaturesAttribute", local_path="localPath", s3_data_distribution_type="s3DataDistributionType", s3_input_mode="s3InputMode" ), endpoint_input=sagemaker_mixins.CfnMonitoringSchedulePropsMixin.EndpointInputProperty( endpoint_name="endpointName", exclude_features_attribute="excludeFeaturesAttribute", local_path="localPath", s3_data_distribution_type="s3DataDistributionType", s3_input_mode="s3InputMode" ) )], monitoring_output_config=sagemaker_mixins.CfnMonitoringSchedulePropsMixin.MonitoringOutputConfigProperty( kms_key_id="kmsKeyId", monitoring_outputs=[sagemaker_mixins.CfnMonitoringSchedulePropsMixin.MonitoringOutputProperty( s3_output=sagemaker_mixins.CfnMonitoringSchedulePropsMixin.S3OutputProperty( local_path="localPath", s3_upload_mode="s3UploadMode", s3_uri="s3Uri" ) )] ), monitoring_resources=sagemaker_mixins.CfnMonitoringSchedulePropsMixin.MonitoringResourcesProperty( cluster_config=sagemaker_mixins.CfnMonitoringSchedulePropsMixin.ClusterConfigProperty( instance_count=123, instance_type="instanceType", volume_kms_key_id="volumeKmsKeyId", volume_size_in_gb=123 ) ), network_config=sagemaker_mixins.CfnMonitoringSchedulePropsMixin.NetworkConfigProperty( enable_inter_container_traffic_encryption=False, enable_network_isolation=False, vpc_config=sagemaker_mixins.CfnMonitoringSchedulePropsMixin.VpcConfigProperty( security_group_ids=["securityGroupIds"], subnets=["subnets"] ) ), role_arn="roleArn", stopping_condition=sagemaker_mixins.CfnMonitoringSchedulePropsMixin.StoppingConditionProperty( max_runtime_in_seconds=123 ) ), monitoring_job_definition_name="monitoringJobDefinitionName", monitoring_type="monitoringType", schedule_config=sagemaker_mixins.CfnMonitoringSchedulePropsMixin.ScheduleConfigProperty( data_analysis_end_time="dataAnalysisEndTime", data_analysis_start_time="dataAnalysisStartTime", schedule_expression="scheduleExpression" ) ), monitoring_schedule_name="monitoringScheduleName", monitoring_schedule_status="monitoringScheduleStatus", tags=[CfnTag( key="key", value="value" )] )
Attributes
- endpoint_name
The name of the endpoint using the monitoring schedule.
- failure_reason
Contains the reason a monitoring job failed, if it failed.
- last_monitoring_execution_summary
Describes metadata on the last execution to run, if there was one.
- monitoring_schedule_config
The configuration object that specifies the monitoring schedule and defines the monitoring job.
- monitoring_schedule_name
The name of the monitoring schedule.
- monitoring_schedule_status
The status of the monitoring schedule.