Class CfnPlaybackConfiguration
Adds a new playback configuration to AWS Elemental MediaTailor .
Inherited Members
Namespace: Amazon.CDK.AWS.MediaTailor
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnPlaybackConfiguration : CfnResource, IInspectable, ITaggable
Syntax (vb)
Public Class CfnPlaybackConfiguration
Inherits CfnResource
Implements IInspectable, ITaggable
Remarks
CloudformationResource: AWS::MediaTailor::PlaybackConfiguration
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MediaTailor;
var configurationAliases;
var cfnPlaybackConfiguration = new CfnPlaybackConfiguration(this, "MyCfnPlaybackConfiguration", new CfnPlaybackConfigurationProps {
AdDecisionServerUrl = "adDecisionServerUrl",
Name = "name",
VideoContentSourceUrl = "videoContentSourceUrl",
// the properties below are optional
AvailSuppression = new AvailSuppressionProperty {
FillPolicy = "fillPolicy",
Mode = "mode",
Value = "value"
},
Bumper = new BumperProperty {
EndUrl = "endUrl",
StartUrl = "startUrl"
},
CdnConfiguration = new CdnConfigurationProperty {
AdSegmentUrlPrefix = "adSegmentUrlPrefix",
ContentSegmentUrlPrefix = "contentSegmentUrlPrefix"
},
ConfigurationAliases = new Dictionary<string, object> {
{ "configurationAliasesKey", configurationAliases }
},
DashConfiguration = new DashConfigurationProperty {
ManifestEndpointPrefix = "manifestEndpointPrefix",
MpdLocation = "mpdLocation",
OriginManifestType = "originManifestType"
},
HlsConfiguration = new HlsConfigurationProperty {
ManifestEndpointPrefix = "manifestEndpointPrefix"
},
LivePreRollConfiguration = new LivePreRollConfigurationProperty {
AdDecisionServerUrl = "adDecisionServerUrl",
MaxDurationSeconds = 123
},
ManifestProcessingRules = new ManifestProcessingRulesProperty {
AdMarkerPassthrough = new AdMarkerPassthroughProperty {
Enabled = false
}
},
PersonalizationThresholdSeconds = 123,
SlateAdUrl = "slateAdUrl",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
TranscodeProfileName = "transcodeProfileName"
});
Synopsis
Constructors
CfnPlaybackConfiguration(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnPlaybackConfiguration(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnPlaybackConfiguration(Construct, String, ICfnPlaybackConfigurationProps) |
Properties
AdDecisionServerUrl | The URL for the ad decision server (ADS). |
AttrDashConfigurationManifestEndpointPrefix | The URL generated by MediaTailor to initiate a playback session. |
AttrHlsConfigurationManifestEndpointPrefix | The URL that is used to initiate a playback session for devices that support Apple HLS. |
AttrPlaybackConfigurationArn | The Amazon Resource Name (ARN) for the playback configuration. |
AttrPlaybackEndpointPrefix | The URL that the player accesses to get a manifest from MediaTailor . |
AttrSessionInitializationEndpointPrefix | The URL that the player uses to initialize a session that uses client-side reporting. |
AvailSuppression | The configuration for avail suppression, also known as ad suppression. |
Bumper | The configuration for bumpers. |
CdnConfiguration | The configuration for using a content delivery network (CDN), like Amazon CloudFront, for content and ad segment management. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
ConfigurationAliases | The player parameters and aliases used as dynamic variables during session initialization. |
DashConfiguration | The configuration for a DASH source. |
HlsConfiguration | The configuration for HLS content. |
LivePreRollConfiguration | The configuration for pre-roll ad insertion. |
ManifestProcessingRules | The configuration for manifest processing rules. |
Name | The identifier for the playback configuration. |
PersonalizationThresholdSeconds | Defines the maximum duration of underfilled ad time (in seconds) allowed in an ad break. |
SlateAdUrl | The URL for a video asset to transcode and use to fill in time that's not used by ads. |
Tags | Tag Manager which manages the tags for this resource. |
TagsRaw | The tags to assign to the playback configuration. |
TranscodeProfileName | The name that is used to associate this playback configuration with a custom transcode profile. |
VideoContentSourceUrl | The URL prefix for the parent manifest for the stream, minus the asset ID. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnPlaybackConfiguration(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnPlaybackConfiguration(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnPlaybackConfiguration(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnPlaybackConfiguration(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnPlaybackConfiguration(Construct, String, ICfnPlaybackConfigurationProps)
public CfnPlaybackConfiguration(Construct scope, string id, ICfnPlaybackConfigurationProps props)
Parameters
- scope Constructs.Construct
Scope in which this resource is defined.
- id System.String
Construct identifier for this resource (unique in its scope).
- props ICfnPlaybackConfigurationProps
Resource properties.
Properties
AdDecisionServerUrl
The URL for the ad decision server (ADS).
public virtual string AdDecisionServerUrl { get; set; }
Property Value
System.String
AttrDashConfigurationManifestEndpointPrefix
The URL generated by MediaTailor to initiate a playback session.
public virtual string AttrDashConfigurationManifestEndpointPrefix { get; }
Property Value
System.String
Remarks
The session uses server-side reporting. This setting is ignored in PUT operations.
CloudformationAttribute: DashConfiguration.ManifestEndpointPrefix
AttrHlsConfigurationManifestEndpointPrefix
The URL that is used to initiate a playback session for devices that support Apple HLS.
public virtual string AttrHlsConfigurationManifestEndpointPrefix { get; }
Property Value
System.String
Remarks
The session uses server-side reporting.
CloudformationAttribute: HlsConfiguration.ManifestEndpointPrefix
AttrPlaybackConfigurationArn
The Amazon Resource Name (ARN) for the playback configuration.
public virtual string AttrPlaybackConfigurationArn { get; }
Property Value
System.String
Remarks
CloudformationAttribute: PlaybackConfigurationArn
AttrPlaybackEndpointPrefix
The URL that the player accesses to get a manifest from MediaTailor .
public virtual string AttrPlaybackEndpointPrefix { get; }
Property Value
System.String
Remarks
This session will use server-side reporting.
CloudformationAttribute: PlaybackEndpointPrefix
AttrSessionInitializationEndpointPrefix
The URL that the player uses to initialize a session that uses client-side reporting.
public virtual string AttrSessionInitializationEndpointPrefix { get; }
Property Value
System.String
Remarks
CloudformationAttribute: SessionInitializationEndpointPrefix
AvailSuppression
The configuration for avail suppression, also known as ad suppression.
public virtual object AvailSuppression { get; set; }
Property Value
System.Object
Bumper
The configuration for bumpers.
public virtual object Bumper { get; set; }
Property Value
System.Object
CdnConfiguration
The configuration for using a content delivery network (CDN), like Amazon CloudFront, for content and ad segment management.
public virtual object CdnConfiguration { get; set; }
Property Value
System.Object
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
ConfigurationAliases
The player parameters and aliases used as dynamic variables during session initialization.
public virtual object ConfigurationAliases { get; set; }
Property Value
System.Object
DashConfiguration
The configuration for a DASH source.
public virtual object DashConfiguration { get; set; }
Property Value
System.Object
HlsConfiguration
The configuration for HLS content.
public virtual object HlsConfiguration { get; set; }
Property Value
System.Object
LivePreRollConfiguration
The configuration for pre-roll ad insertion.
public virtual object LivePreRollConfiguration { get; set; }
Property Value
System.Object
ManifestProcessingRules
The configuration for manifest processing rules.
public virtual object ManifestProcessingRules { get; set; }
Property Value
System.Object
Name
The identifier for the playback configuration.
public virtual string Name { get; set; }
Property Value
System.String
PersonalizationThresholdSeconds
Defines the maximum duration of underfilled ad time (in seconds) allowed in an ad break.
public virtual Nullable<double> PersonalizationThresholdSeconds { get; set; }
Property Value
System.Nullable<System.Double>
SlateAdUrl
The URL for a video asset to transcode and use to fill in time that's not used by ads.
public virtual string SlateAdUrl { get; set; }
Property Value
System.String
Tags
Tag Manager which manages the tags for this resource.
public virtual TagManager Tags { get; }
Property Value
TagsRaw
The tags to assign to the playback configuration.
public virtual ICfnTag[] TagsRaw { get; set; }
Property Value
ICfnTag[]
TranscodeProfileName
The name that is used to associate this playback configuration with a custom transcode profile.
public virtual string TranscodeProfileName { get; set; }
Property Value
System.String
VideoContentSourceUrl
The URL prefix for the parent manifest for the stream, minus the asset ID.
public virtual string VideoContentSourceUrl { get; set; }
Property Value
System.String
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>