# ExcludePeriodConfigurationProperty

The exclude period of `TimeRangeFilter` or `RelativeDatesFilter` .

- 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_quicksight as quicksight } from 'aws-cdk-lib';
const excludePeriodConfigurationProperty: quicksight.CfnAnalysis.ExcludePeriodConfigurationProperty = {
  amount: 123,
  granularity: 'granularity',

  // the properties below are optional
  status: 'status',
};
```

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_quicksight as quicksight

exclude_period_configuration_property = quicksight.CfnAnalysis.ExcludePeriodConfigurationProperty(
    amount=123,
    granularity="granularity",

    # the properties below are optional
    status="status"
)
```

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.quicksight.*;

ExcludePeriodConfigurationProperty excludePeriodConfigurationProperty = ExcludePeriodConfigurationProperty.builder()
        .amount(123)
        .granularity("granularity")

        // the properties below are optional
        .status("status")
        .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.QuickSight;

var excludePeriodConfigurationProperty = new ExcludePeriodConfigurationProperty {
    Amount = 123,
    Granularity = "granularity",

    // the properties below are optional
    Status = "status"
};
```

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"

excludePeriodConfigurationProperty := &ExcludePeriodConfigurationProperty{
	Amount: jsii.Number(123),
	Granularity: jsii.String("granularity"),

	// the properties below are optional
	Status: jsii.String("status"),
}
```

## Properties

- `amount`: number (required) — The amount or number of the exclude period.

- `granularity`: string (required) — The granularity or unit (day, month, year) of the exclude period.

- `status`: string — The status of the exclude period. Choose from the following options:.

  - `ENABLED`
  - `DISABLED`
