# CfnAdConfigurationProps

Properties for defining a `CfnAdConfiguration`.

Extends: CfnAdConfigurationProps
Used as props by: CfnAdConfiguration

- Source: Generated code
- Type last changed: v2.274.0 · 20 Oct 2026

## Example

```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 cfnAdConfigurationProps: ivs.CfnAdConfigurationProps = {
  mediaTailorPlaybackConfigurations: [{
    playbackConfigurationArn: 'playbackConfigurationArn',
  }],

  // the properties below are optional
  name: 'name',
  postRollConfiguration: {
    durationSeconds: 123,
    enabled: false,
  },
  tags: [{
    key: 'key',
    value: 'value',
  }],
};
```

## Properties

- `mediaTailorPlaybackConfigurations`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnAdConfiguration.MediaTailorPlaybackConfigurationProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_ivs.CfnAdConfiguration.MediaTailorPlaybackConfigurationProperty.html)[] (required) — List of integration configurations with MediaTailor resources.

  The first item in the list is the default playback configuration used for the ad configuration.

- `name`: string — Ad configuration name.

  The value does not need to be unique.

- `postRollConfiguration`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnAdConfiguration.PostRollConfigurationProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_ivs.CfnAdConfiguration.PostRollConfigurationProperty.html) — Configuration for the post-roll ad break to use for this ad configuration.

- `tags`: [CfnTag](/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — Tags attached to the resource.
