RangeProperty Struct
Each Range specifies one range of days or times to exclude from use for training or updating an anomaly detection model.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_cloudwatch as cloudwatch } from 'aws-cdk-lib';
const rangeProperty: cloudwatch.CfnAnomalyDetector.RangeProperty = {
endTime: 'endTime',
startTime: 'startTime',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_cloudwatch as cloudwatch
range_property = cloudwatch.CfnAnomalyDetector.RangeProperty(
end_time="endTime",
start_time="startTime"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.cloudwatch.*;
RangeProperty rangeProperty = RangeProperty.builder()
.endTime("endTime")
.startTime("startTime")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.CloudWatch;
var rangeProperty = new RangeProperty {
EndTime = "endTime",
StartTime = "startTime"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
rangeProperty := &RangeProperty{
EndTime: jsii.String("endTime"),
StartTime: jsii.String("startTime"),
}
Properties
The end time of the range to exclude.
The format is yyyy-MM-dd'T'HH:mm:ss . For example, 2019-07-01T23:59:59 .
The start time of the range to exclude.
The format is yyyy-MM-dd'T'HH:mm:ss . For example, 2019-07-01T23:59:59 .