Class CfnMonitoringSchedule
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.core.Construct
software.amazon.awscdk.core.CfnElement
software.amazon.awscdk.core.CfnRefElement
software.amazon.awscdk.core.CfnResource
software.amazon.awscdk.services.sagemaker.CfnMonitoringSchedule
- All Implemented Interfaces:
IConstruct
,IDependable
,IInspectable
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:35.464Z")
@Stability(Stable)
public class CfnMonitoringSchedule
extends CfnResource
implements IInspectable
A CloudFormation
AWS::SageMaker::MonitoringSchedule
.
The AWS::SageMaker::MonitoringSchedule
resource is an Amazon SageMaker resource type that regularly starts SageMaker processing Jobs to monitor the data captured for a SageMaker endpoint.
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.*; Object json; CfnMonitoringSchedule cfnMonitoringSchedule = CfnMonitoringSchedule.Builder.create(this, "MyCfnMonitoringSchedule") .monitoringScheduleConfig(MonitoringScheduleConfigProperty.builder() .monitoringJobDefinition(MonitoringJobDefinitionProperty.builder() .monitoringAppSpecification(MonitoringAppSpecificationProperty.builder() .imageUri("imageUri") // the properties below are optional .containerArguments(List.of("containerArguments")) .containerEntrypoint(List.of("containerEntrypoint")) .postAnalyticsProcessorSourceUri("postAnalyticsProcessorSourceUri") .recordPreprocessorSourceUri("recordPreprocessorSourceUri") .build()) .monitoringInputs(List.of(MonitoringInputProperty.builder() .batchTransformInput(BatchTransformInputProperty.builder() .dataCapturedDestinationS3Uri("dataCapturedDestinationS3Uri") .datasetFormat(DatasetFormatProperty.builder() .csv(CsvProperty.builder() .header(false) .build()) .json(json) .parquet(false) .build()) .localPath("localPath") // the properties below are optional .s3DataDistributionType("s3DataDistributionType") .s3InputMode("s3InputMode") .build()) .endpointInput(EndpointInputProperty.builder() .endpointName("endpointName") .localPath("localPath") // the properties below are optional .s3DataDistributionType("s3DataDistributionType") .s3InputMode("s3InputMode") .build()) .build())) .monitoringOutputConfig(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()) .monitoringResources(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 .baselineConfig(BaselineConfigProperty.builder() .constraintsResource(ConstraintsResourceProperty.builder() .s3Uri("s3Uri") .build()) .statisticsResource(StatisticsResourceProperty.builder() .s3Uri("s3Uri") .build()) .build()) .environment(Map.of( "environmentKey", "environment")) .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()) .build()) .monitoringJobDefinitionName("monitoringJobDefinitionName") .monitoringType("monitoringType") .scheduleConfig(ScheduleConfigProperty.builder() .scheduleExpression("scheduleExpression") .build()) .build()) .monitoringScheduleName("monitoringScheduleName") // the properties below are optional .endpointName("endpointName") .failureReason("failureReason") .lastMonitoringExecutionSummary(MonitoringExecutionSummaryProperty.builder() .creationTime("creationTime") .lastModifiedTime("lastModifiedTime") .monitoringExecutionStatus("monitoringExecutionStatus") .monitoringScheduleName("monitoringScheduleName") .scheduledTime("scheduledTime") // the properties below are optional .endpointName("endpointName") .failureReason("failureReason") .processingJobArn("processingJobArn") .build()) .monitoringScheduleStatus("monitoringScheduleStatus") .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .build();
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
Baseline configuration used to validate that the data conforms to the specified constraints and statistics.static interface
Example:static final class
A fluent builder forCfnMonitoringSchedule
.static interface
Configuration for the cluster used to run model monitoring jobs.static interface
The Amazon S3 URI for the constraints resource.static interface
Example:static interface
Example:static interface
Input object for the endpoint.static interface
Example:static interface
Container image configuration object for the monitoring job.static interface
Summary of information about the last monitoring job to run.static interface
The inputs for a monitoring job.static interface
Defines the monitoring job.static interface
The output configuration for monitoring jobs.static interface
The output object for a monitoring job.static interface
Identifies the resources to deploy for a monitoring job.static interface
Configures the monitoring schedule and defines the monitoring job.static interface
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
Information about where and how you want to store the results of a monitoring job.static interface
Configuration details about the monitoring schedule.static interface
The baseline statistics file in Amazon S3 that the current monitoring job should be validated against.static interface
Specifies a limit to how long a model training job or model compilation job can run.static interface
Specifies a VPC that your training jobs and hosted models have access to.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct
IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ModifierConstructorDescriptionCfnMonitoringSchedule
(Construct scope, String id, CfnMonitoringScheduleProps props) Create a newAWS::SageMaker::MonitoringSchedule
.protected
CfnMonitoringSchedule
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnMonitoringSchedule
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionThe time when the monitoring schedule was created.The last time that the monitoring schedule was modified.The Amazon Resource Name (ARN) of the monitoring schedule.The name of the endpoint using the monitoring schedule.Contains the reason a monitoring job failed, if it failed.Describes metadata on the last execution to run, if there was one.The configuration object that specifies the monitoring schedule and defines the monitoring job.The name of the monitoring schedule.The status of the monitoring schedule.getTags()
An array of key-value pairs to apply to this resource.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
setEndpointName
(String value) The name of the endpoint using the monitoring schedule.void
setFailureReason
(String value) Contains the reason a monitoring job failed, if it failed.void
Describes metadata on the last execution to run, if there was one.void
Describes metadata on the last execution to run, if there was one.void
The configuration object that specifies the monitoring schedule and defines the monitoring job.void
The configuration object that specifies the monitoring schedule and defines the monitoring job.void
setMonitoringScheduleName
(String value) The name of the monitoring schedule.void
The status of the monitoring schedule.Methods inherited from class software.amazon.awscdk.core.CfnResource
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validateProperties
Methods inherited from class software.amazon.awscdk.core.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.core.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnMonitoringSchedule
protected CfnMonitoringSchedule(software.amazon.jsii.JsiiObjectRef objRef) -
CfnMonitoringSchedule
protected CfnMonitoringSchedule(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnMonitoringSchedule
@Stability(Stable) public CfnMonitoringSchedule(@NotNull Construct scope, @NotNull String id, @NotNull CfnMonitoringScheduleProps props) Create a newAWS::SageMaker::MonitoringSchedule
.- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
props
-- resource properties.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspect
in interfaceIInspectable
- Parameters:
inspector
-- tree inspector to collect and process attributes.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderProperties
in classCfnResource
- Parameters:
props
- This parameter is required.
-
getAttrCreationTime
The time when the monitoring schedule was created. -
getAttrLastModifiedTime
The last time that the monitoring schedule was modified. -
getAttrMonitoringScheduleArn
The Amazon Resource Name (ARN) of the monitoring schedule. -
getCfnProperties
- Overrides:
getCfnProperties
in classCfnResource
-
getTags
An array of key-value pairs to apply to this resource.For more information, see Tag .
-
getMonitoringScheduleConfig
The configuration object that specifies the monitoring schedule and defines the monitoring job. -
setMonitoringScheduleConfig
The configuration object that specifies the monitoring schedule and defines the monitoring job. -
setMonitoringScheduleConfig
@Stability(Stable) public void setMonitoringScheduleConfig(@NotNull CfnMonitoringSchedule.MonitoringScheduleConfigProperty value) The configuration object that specifies the monitoring schedule and defines the monitoring job. -
getMonitoringScheduleName
The name of the monitoring schedule. -
setMonitoringScheduleName
The name of the monitoring schedule. -
getEndpointName
The name of the endpoint using the monitoring schedule. -
setEndpointName
The name of the endpoint using the monitoring schedule. -
getFailureReason
Contains the reason a monitoring job failed, if it failed. -
setFailureReason
Contains the reason a monitoring job failed, if it failed. -
getLastMonitoringExecutionSummary
Describes metadata on the last execution to run, if there was one. -
setLastMonitoringExecutionSummary
Describes metadata on the last execution to run, if there was one. -
setLastMonitoringExecutionSummary
@Stability(Stable) public void setLastMonitoringExecutionSummary(@Nullable CfnMonitoringSchedule.MonitoringExecutionSummaryProperty value) Describes metadata on the last execution to run, if there was one. -
getMonitoringScheduleStatus
The status of the monitoring schedule. -
setMonitoringScheduleStatus
The status of the monitoring schedule.
-