# PostRollConfigurationProperty

Struct · External

Configuration for the post-roll ad break to use for this ad configuration.

- Source: Generated at build time
- Type last changed: v2.274.0 · 20 Oct 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_ivs as ivs } from 'aws-cdk-lib';
const postRollConfigurationProperty: ivs.CfnAdConfiguration.PostRollConfigurationProperty = {
  durationSeconds: 123,
  enabled: false,
};
```

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_ivs as ivs

post_roll_configuration_property = ivs.CfnAdConfiguration.PostRollConfigurationProperty(
    duration_seconds=123,
    enabled=False
)
```

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

PostRollConfigurationProperty postRollConfigurationProperty = PostRollConfigurationProperty.builder()
        .durationSeconds(123)
        .enabled(false)
        .build();
```

C#:

```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.Ivs;

var postRollConfigurationProperty = new PostRollConfigurationProperty {
    DurationSeconds = 123,
    Enabled = false
};
```

Go:

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

postRollConfigurationProperty := &PostRollConfigurationProperty{
	DurationSeconds: jsii.Number(123),
	Enabled: jsii.Boolean(false),
}
```

## Properties

- `durationSeconds`: number (required) — Duration of the post-roll ad break, in seconds.

- `enabled`: boolean | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) (required) — Whether the post-roll ad configuration is enabled.
