Class CfnPlaybackConfiguration
- All Implemented Interfaces:
IInspectable,IEnvironmentAware,IPlaybackConfigurationRef,ITaggable,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.mediatailor.*;
Object configurationAliases;
CfnPlaybackConfiguration cfnPlaybackConfiguration = CfnPlaybackConfiguration.Builder.create(this, "MyCfnPlaybackConfiguration")
.adDecisionServerUrl("adDecisionServerUrl")
.name("name")
.videoContentSourceUrl("videoContentSourceUrl")
// the properties below are optional
.adConditioningConfiguration(AdConditioningConfigurationProperty.builder()
.streamingMediaFileConditioning("streamingMediaFileConditioning")
.build())
.availSuppression(AvailSuppressionProperty.builder()
.fillPolicy("fillPolicy")
.mode("mode")
.value("value")
.build())
.bumper(BumperProperty.builder()
.endUrl("endUrl")
.startUrl("startUrl")
.build())
.cdnConfiguration(CdnConfigurationProperty.builder()
.adSegmentUrlPrefix("adSegmentUrlPrefix")
.contentSegmentUrlPrefix("contentSegmentUrlPrefix")
.build())
.configurationAliases(Map.of(
"configurationAliasesKey", configurationAliases))
.dashConfiguration(DashConfigurationProperty.builder()
.manifestEndpointPrefix("manifestEndpointPrefix")
.mpdLocation("mpdLocation")
.originManifestType("originManifestType")
.build())
.hlsConfiguration(HlsConfigurationProperty.builder()
.manifestEndpointPrefix("manifestEndpointPrefix")
.build())
.insertionMode("insertionMode")
.livePreRollConfiguration(LivePreRollConfigurationProperty.builder()
.adDecisionServerUrl("adDecisionServerUrl")
.maxDurationSeconds(123)
.build())
.logConfiguration(LogConfigurationProperty.builder()
.percentEnabled(123)
// the properties below are optional
.adsInteractionLog(AdsInteractionLogProperty.builder()
.excludeEventTypes(List.of("excludeEventTypes"))
.publishOptInEventTypes(List.of("publishOptInEventTypes"))
.build())
.enabledLoggingStrategies(List.of("enabledLoggingStrategies"))
.manifestServiceInteractionLog(ManifestServiceInteractionLogProperty.builder()
.excludeEventTypes(List.of("excludeEventTypes"))
.build())
.build())
.manifestProcessingRules(ManifestProcessingRulesProperty.builder()
.adMarkerPassthrough(AdMarkerPassthroughProperty.builder()
.enabled(false)
.build())
.build())
.personalizationThresholdSeconds(123)
.slateAdUrl("slateAdUrl")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.transcodeProfileName("transcodeProfileName")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceThe setting that indicates what conditioning MediaTailor will perform on ads that the ad decision server (ADS) returns.static interfaceFor HLS, when set totrue, MediaTailor passes throughEXT-X-CUE-IN,EXT-X-CUE-OUT, andEXT-X-SPLICEPOINT-SCTE35ad markers from the origin manifest to the MediaTailor personalized manifest.static interfaceSettings for customizing what events are included in logs for interactions with the ad decision server (ADS).static interfaceThe configuration for avail suppression, also known as ad suppression.static final classA fluent builder forCfnPlaybackConfiguration.static interfaceThe configuration for bumpers.static interfaceThe configuration for using a content delivery network (CDN), like Amazon CloudFront, for content and ad segment management.static interfaceThe configuration for DASH content.static interfaceThe configuration for HLS content.static interfaceThe configuration for pre-roll ad insertion.static interfaceDefines where AWS Elemental MediaTailor sends logs for the playback configuration.static interfaceThe configuration for manifest processing rules.static interfaceSettings for customizing what events are included in logs for interactions with the origin server.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.mediatailor.IPlaybackConfigurationRef
IPlaybackConfigurationRef.Jsii$Default, IPlaybackConfigurationRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggable
ITaggable.Jsii$Default, ITaggable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnPlaybackConfiguration(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnPlaybackConfiguration(software.amazon.jsii.JsiiObjectRef objRef) CfnPlaybackConfiguration(software.constructs.Construct scope, String id, CfnPlaybackConfigurationProps props) Create a newAWS::MediaTailor::PlaybackConfiguration. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringThe setting that indicates what conditioning MediaTailor will perform on ads that the ad decision server (ADS) returns, and what priority MediaTailor uses when inserting ads.The URL for the ad decision server (ADS).The URL generated by MediaTailor to initiate a playback session.The URL that is used to initiate a playback session for devices that support Apple HLS.The Amazon Resource Name (ARN) for the playback configuration.The URL that the player accesses to get a manifest from MediaTailor .The URL that the player uses to initialize a session that uses client-side reporting.The configuration for avail suppression, also known as ad suppression.The configuration for bumpers.The configuration for using a content delivery network (CDN), like Amazon CloudFront, for content and ad segment management.The player parameters and aliases used as dynamic variables during session initialization.The configuration for a DASH source.The configuration for HLS content.The setting that controls whether players can use stitched or guided ad insertion.The configuration for pre-roll ad insertion.Defines where AWS Elemental MediaTailor sends logs for the playback configuration.The configuration for manifest processing rules.getName()The identifier for the playback configuration.Defines the maximum duration of underfilled ad time (in seconds) allowed in an ad break.A reference to a PlaybackConfiguration resource.The URL for a video asset to transcode and use to fill in time that's not used by ads.getTags()Tag Manager which manages the tags for this resource.The tags to assign to the playback configuration.The name that is used to associate this playback configuration with a custom transcode profile.The URL prefix for the parent manifest for the stream, minus the asset ID.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnPlaybackConfiguration.renderProperties(Map<String, Object> props) voidThe setting that indicates what conditioning MediaTailor will perform on ads that the ad decision server (ADS) returns, and what priority MediaTailor uses when inserting ads.voidThe setting that indicates what conditioning MediaTailor will perform on ads that the ad decision server (ADS) returns, and what priority MediaTailor uses when inserting ads.voidsetAdDecisionServerUrl(String value) The URL for the ad decision server (ADS).voidsetAvailSuppression(IResolvable value) The configuration for avail suppression, also known as ad suppression.voidThe configuration for avail suppression, also known as ad suppression.voidsetBumper(IResolvable value) The configuration for bumpers.voidThe configuration for bumpers.voidsetCdnConfiguration(IResolvable value) The configuration for using a content delivery network (CDN), like Amazon CloudFront, for content and ad segment management.voidThe configuration for using a content delivery network (CDN), like Amazon CloudFront, for content and ad segment management.voidsetConfigurationAliases(Map<String, Object> value) The player parameters and aliases used as dynamic variables during session initialization.voidThe player parameters and aliases used as dynamic variables during session initialization.voidsetDashConfiguration(IResolvable value) The configuration for a DASH source.voidThe configuration for a DASH source.voidsetHlsConfiguration(IResolvable value) The configuration for HLS content.voidThe configuration for HLS content.voidsetInsertionMode(String value) The setting that controls whether players can use stitched or guided ad insertion.voidThe configuration for pre-roll ad insertion.voidThe configuration for pre-roll ad insertion.voidsetLogConfiguration(IResolvable value) Defines where AWS Elemental MediaTailor sends logs for the playback configuration.voidDefines where AWS Elemental MediaTailor sends logs for the playback configuration.voidThe configuration for manifest processing rules.voidThe configuration for manifest processing rules.voidThe identifier for the playback configuration.voidDefines the maximum duration of underfilled ad time (in seconds) allowed in an ad break.voidsetSlateAdUrl(String value) The URL for a video asset to transcode and use to fill in time that's not used by ads.voidsetTagsRaw(List<CfnTag> value) The tags to assign to the playback configuration.voidsetTranscodeProfileName(String value) The name that is used to associate this playback configuration with a custom transcode profile.voidsetVideoContentSourceUrl(String value) The URL prefix for the parent manifest for the stream, minus the asset ID.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnPlaybackConfiguration
protected CfnPlaybackConfiguration(software.amazon.jsii.JsiiObjectRef objRef) -
CfnPlaybackConfiguration
protected CfnPlaybackConfiguration(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnPlaybackConfiguration
@Stability(Stable) public CfnPlaybackConfiguration(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnPlaybackConfigurationProps props) Create a newAWS::MediaTailor::PlaybackConfiguration.- Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties. This parameter is required.
-
-
Method Details
-
arnForPlaybackConfiguration
@Stability(Stable) @NotNull public static String arnForPlaybackConfiguration(@NotNull IPlaybackConfigurationRef resource) - Parameters:
resource- This parameter is required.
-
isCfnPlaybackConfiguration
Checks whether the given object is a CfnPlaybackConfiguration.- Parameters:
x- This parameter is required.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrDashConfigurationManifestEndpointPrefix
The URL generated by MediaTailor to initiate a playback session.The session uses server-side reporting. This setting is ignored in PUT operations.
-
getAttrHlsConfigurationManifestEndpointPrefix
The URL that is used to initiate a playback session for devices that support Apple HLS.The session uses server-side reporting.
-
getAttrPlaybackConfigurationArn
The Amazon Resource Name (ARN) for the playback configuration. -
getAttrPlaybackEndpointPrefix
The URL that the player accesses to get a manifest from MediaTailor .This session will use server-side reporting.
-
getAttrSessionInitializationEndpointPrefix
The URL that the player uses to initialize a session that uses client-side reporting. -
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getPlaybackConfigurationRef
A reference to a PlaybackConfiguration resource.- Specified by:
getPlaybackConfigurationRefin interfaceIPlaybackConfigurationRef
-
getTags
Tag Manager which manages the tags for this resource. -
getAdDecisionServerUrl
The URL for the ad decision server (ADS). -
setAdDecisionServerUrl
The URL for the ad decision server (ADS). -
getName
The identifier for the playback configuration. -
setName
The identifier for the playback configuration. -
getVideoContentSourceUrl
The URL prefix for the parent manifest for the stream, minus the asset ID. -
setVideoContentSourceUrl
The URL prefix for the parent manifest for the stream, minus the asset ID. -
getAdConditioningConfiguration
The setting that indicates what conditioning MediaTailor will perform on ads that the ad decision server (ADS) returns, and what priority MediaTailor uses when inserting ads.Returns union: either
IResolvableorCfnPlaybackConfiguration.AdConditioningConfigurationProperty -
setAdConditioningConfiguration
The setting that indicates what conditioning MediaTailor will perform on ads that the ad decision server (ADS) returns, and what priority MediaTailor uses when inserting ads. -
setAdConditioningConfiguration
@Stability(Stable) public void setAdConditioningConfiguration(@Nullable CfnPlaybackConfiguration.AdConditioningConfigurationProperty value) The setting that indicates what conditioning MediaTailor will perform on ads that the ad decision server (ADS) returns, and what priority MediaTailor uses when inserting ads. -
getAvailSuppression
The configuration for avail suppression, also known as ad suppression.Returns union: either
IResolvableorCfnPlaybackConfiguration.AvailSuppressionProperty -
setAvailSuppression
The configuration for avail suppression, also known as ad suppression. -
setAvailSuppression
@Stability(Stable) public void setAvailSuppression(@Nullable CfnPlaybackConfiguration.AvailSuppressionProperty value) The configuration for avail suppression, also known as ad suppression. -
getBumper
The configuration for bumpers.Returns union: either
IResolvableorCfnPlaybackConfiguration.BumperProperty -
setBumper
The configuration for bumpers. -
setBumper
The configuration for bumpers. -
getCdnConfiguration
The configuration for using a content delivery network (CDN), like Amazon CloudFront, for content and ad segment management.Returns union: either
IResolvableorCfnPlaybackConfiguration.CdnConfigurationProperty -
setCdnConfiguration
The configuration for using a content delivery network (CDN), like Amazon CloudFront, for content and ad segment management. -
setCdnConfiguration
@Stability(Stable) public void setCdnConfiguration(@Nullable CfnPlaybackConfiguration.CdnConfigurationProperty value) The configuration for using a content delivery network (CDN), like Amazon CloudFront, for content and ad segment management. -
getConfigurationAliases
The player parameters and aliases used as dynamic variables during session initialization.Returns union: either Mapinvalid input: '<'String,
Object> orIResolvable -
setConfigurationAliases
The player parameters and aliases used as dynamic variables during session initialization. -
setConfigurationAliases
The player parameters and aliases used as dynamic variables during session initialization. -
getDashConfiguration
The configuration for a DASH source.Returns union: either
IResolvableorCfnPlaybackConfiguration.DashConfigurationProperty -
setDashConfiguration
The configuration for a DASH source. -
setDashConfiguration
@Stability(Stable) public void setDashConfiguration(@Nullable CfnPlaybackConfiguration.DashConfigurationProperty value) The configuration for a DASH source. -
getHlsConfiguration
The configuration for HLS content.Returns union: either
IResolvableorCfnPlaybackConfiguration.HlsConfigurationProperty -
setHlsConfiguration
The configuration for HLS content. -
setHlsConfiguration
@Stability(Stable) public void setHlsConfiguration(@Nullable CfnPlaybackConfiguration.HlsConfigurationProperty value) The configuration for HLS content. -
getInsertionMode
The setting that controls whether players can use stitched or guided ad insertion. -
setInsertionMode
The setting that controls whether players can use stitched or guided ad insertion. -
getLivePreRollConfiguration
The configuration for pre-roll ad insertion.Returns union: either
IResolvableorCfnPlaybackConfiguration.LivePreRollConfigurationProperty -
setLivePreRollConfiguration
The configuration for pre-roll ad insertion. -
setLivePreRollConfiguration
@Stability(Stable) public void setLivePreRollConfiguration(@Nullable CfnPlaybackConfiguration.LivePreRollConfigurationProperty value) The configuration for pre-roll ad insertion. -
getLogConfiguration
Defines where AWS Elemental MediaTailor sends logs for the playback configuration.Returns union: either
IResolvableorCfnPlaybackConfiguration.LogConfigurationProperty -
setLogConfiguration
Defines where AWS Elemental MediaTailor sends logs for the playback configuration. -
setLogConfiguration
@Stability(Stable) public void setLogConfiguration(@Nullable CfnPlaybackConfiguration.LogConfigurationProperty value) Defines where AWS Elemental MediaTailor sends logs for the playback configuration. -
getManifestProcessingRules
The configuration for manifest processing rules.Returns union: either
IResolvableorCfnPlaybackConfiguration.ManifestProcessingRulesProperty -
setManifestProcessingRules
The configuration for manifest processing rules. -
setManifestProcessingRules
@Stability(Stable) public void setManifestProcessingRules(@Nullable CfnPlaybackConfiguration.ManifestProcessingRulesProperty value) The configuration for manifest processing rules. -
getPersonalizationThresholdSeconds
Defines the maximum duration of underfilled ad time (in seconds) allowed in an ad break. -
setPersonalizationThresholdSeconds
Defines the maximum duration of underfilled ad time (in seconds) allowed in an ad break. -
getSlateAdUrl
The URL for a video asset to transcode and use to fill in time that's not used by ads. -
setSlateAdUrl
The URL for a video asset to transcode and use to fill in time that's not used by ads. -
getTagsRaw
The tags to assign to the playback configuration. -
setTagsRaw
The tags to assign to the playback configuration. -
getTranscodeProfileName
The name that is used to associate this playback configuration with a custom transcode profile. -
setTranscodeProfileName
The name that is used to associate this playback configuration with a custom transcode profile.
-