CfnAdConfigurationProps Struct Added in v2.274.0
Properties for defining a CfnAdConfiguration.
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
mediaTailorPlaybackConfigurationsIResolvable | IResolvable | CfnAdConfiguration.MediaTailorPlaybackConfigurationProperty[]media_tailor_playback_configurationstyping.Union[IResolvable, typing.List[typing.Union[IResolvable, MediaTailorPlaybackConfigurationProperty]]]mediaTailorPlaybackConfigurationsIResolvableMediaTailorPlaybackConfigurationsIResolvableMediaTailorPlaybackConfigurationsinterface{}required#List of integration configurations with MediaTailor resources.
The first item in the list is the default playback configuration used for the ad configuration.
Ad configuration name.
The value does not need to be unique.
postRollConfigurationIResolvable | CfnAdConfiguration.PostRollConfigurationPropertypost_roll_configurationtyping.Union[IResolvable, PostRollConfigurationProperty]postRollConfigurationIResolvablePostRollConfigurationIResolvablePostRollConfigurationinterface{}#Configuration for the post-roll ad break to use for this ad configuration.