Skip to content
v2.278.0

PostRollConfigurationProperty ​

Struct External

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

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 postRollConfigurationProperty: ivs.CfnAdConfiguration.PostRollConfigurationProperty = {
  durationSeconds: 123,
  enabled: false,
};
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
// 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();
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
// 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 ​

durationSecondsnumberduration_secondsint | floatdurationSecondsNumberDurationSecondsdoubleDurationSeconds*float64 required #
Duration of the post-roll ad break, in seconds.
enabledboolean | IResolvableenabledtyping.Union[bool, IResolvable]enabledBooleanEnabledboolEnabledinterface{} required #
Whether the post-roll ad configuration is enabled.