# RangeProperty

Each `Range` specifies one range of days or times to exclude from use for training or updating an anomaly detection model.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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"
};
```

Golang:

```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

- `endTime`: string (required) — 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` .

- `startTime`: string (required) — 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` .
