# ConditionProperty

A time-bound condition controlling when the permit is active.

Exactly one of AllowAfter or AllowBefore must be provided.

- Source: Generated at build time
- Type last changed: v2.268.0 · 2 Sep 2026

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_supportauthz as supportauthz } from 'aws-cdk-lib';
const conditionProperty: supportauthz.CfnSupportPermit.ConditionProperty = {
  allowAfter: 'allowAfter',
  allowBefore: 'allowBefore',
};
```

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_supportauthz as supportauthz

condition_property = supportauthz.CfnSupportPermit.ConditionProperty(
    allow_after="allowAfter",
    allow_before="allowBefore"
)
```

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

ConditionProperty conditionProperty = ConditionProperty.builder()
        .allowAfter("allowAfter")
        .allowBefore("allowBefore")
        .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.SupportAuthZ;

var conditionProperty = new ConditionProperty {
    AllowAfter = "allowAfter",
    AllowBefore = "allowBefore"
};
```

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"

conditionProperty := &ConditionProperty{
	AllowAfter: jsii.String("allowAfter"),
	AllowBefore: jsii.String("allowBefore"),
}
```

## Properties

- `allowAfter`: string — The permit is active only after this time.

- `allowBefore`: string — The permit is active only before this time.
