Class CfnPlaybackConfiguration

java.lang.Object
software.amazon.jsii.JsiiObject
All Implemented Interfaces:
IConstruct, IDependable, IInspectable, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:00.353Z") @Stability(Stable) public class CfnPlaybackConfiguration extends CfnResource implements IInspectable
A CloudFormation AWS::MediaTailor::PlaybackConfiguration.

Adds a new playback configuration to AWS Elemental MediaTailor .

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
         .availSuppression(AvailSuppressionProperty.builder()
                 .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())
         .livePreRollConfiguration(LivePreRollConfigurationProperty.builder()
                 .adDecisionServerUrl("adDecisionServerUrl")
                 .maxDurationSeconds(123)
                 .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();
 
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String 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 Construct scope, @NotNull String id, @NotNull CfnPlaybackConfigurationProps props)
      Create a new AWS::MediaTailor::PlaybackConfiguration.

      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      props -
      • resource properties.
      This parameter is required.
  • Method Details

    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      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:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getAttrDashConfigurationManifestEndpointPrefix

      @Stability(Stable) @NotNull public String 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

      @Stability(Stable) @NotNull public String getAttrHlsConfigurationManifestEndpointPrefix()
      The URL that is used to initiate a playback session for devices that support Apple HLS.

      The session uses server-side reporting.

    • getAttrPlaybackConfigurationArn

      @Stability(Stable) @NotNull public String getAttrPlaybackConfigurationArn()
      The Amazon Resource Name (ARN) for the playback configuration.
    • getAttrPlaybackEndpointPrefix

      @Stability(Stable) @NotNull public String getAttrPlaybackEndpointPrefix()
      The URL that the player accesses to get a manifest from MediaTailor .

      This session will use server-side reporting.

    • getAttrSessionInitializationEndpointPrefix

      @Stability(Stable) @NotNull public String getAttrSessionInitializationEndpointPrefix()
      The URL that the player uses to initialize a session that uses client-side reporting.
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getTags

      @Stability(Stable) @NotNull public TagManager getTags()
      AWS::MediaTailor::PlaybackConfiguration.Tags.
    • getAdDecisionServerUrl

      @Stability(Stable) @NotNull public String getAdDecisionServerUrl()
      AWS::MediaTailor::PlaybackConfiguration.AdDecisionServerUrl.
    • setAdDecisionServerUrl

      @Stability(Stable) public void setAdDecisionServerUrl(@NotNull String value)
      AWS::MediaTailor::PlaybackConfiguration.AdDecisionServerUrl.
    • getName

      @Stability(Stable) @NotNull public String getName()
      AWS::MediaTailor::PlaybackConfiguration.Name.
    • setName

      @Stability(Stable) public void setName(@NotNull String value)
      AWS::MediaTailor::PlaybackConfiguration.Name.
    • getVideoContentSourceUrl

      @Stability(Stable) @NotNull public String getVideoContentSourceUrl()
      AWS::MediaTailor::PlaybackConfiguration.VideoContentSourceUrl.
    • setVideoContentSourceUrl

      @Stability(Stable) public void setVideoContentSourceUrl(@NotNull String value)
      AWS::MediaTailor::PlaybackConfiguration.VideoContentSourceUrl.
    • getAvailSuppression

      @Stability(Stable) @Nullable public Object getAvailSuppression()
      AWS::MediaTailor::PlaybackConfiguration.AvailSuppression.
    • setAvailSuppression

      @Stability(Stable) public void setAvailSuppression(@Nullable CfnPlaybackConfiguration.AvailSuppressionProperty value)
      AWS::MediaTailor::PlaybackConfiguration.AvailSuppression.
    • setAvailSuppression

      @Stability(Stable) public void setAvailSuppression(@Nullable IResolvable value)
      AWS::MediaTailor::PlaybackConfiguration.AvailSuppression.
    • getBumper

      @Stability(Stable) @Nullable public Object getBumper()
      AWS::MediaTailor::PlaybackConfiguration.Bumper.
    • setBumper

      @Stability(Stable) public void setBumper(@Nullable IResolvable value)
      AWS::MediaTailor::PlaybackConfiguration.Bumper.
    • setBumper

      @Stability(Stable) public void setBumper(@Nullable CfnPlaybackConfiguration.BumperProperty value)
      AWS::MediaTailor::PlaybackConfiguration.Bumper.
    • getCdnConfiguration

      @Stability(Stable) @Nullable public Object getCdnConfiguration()
      AWS::MediaTailor::PlaybackConfiguration.CdnConfiguration.
    • setCdnConfiguration

      @Stability(Stable) public void setCdnConfiguration(@Nullable IResolvable value)
      AWS::MediaTailor::PlaybackConfiguration.CdnConfiguration.
    • setCdnConfiguration

      @Stability(Stable) public void setCdnConfiguration(@Nullable CfnPlaybackConfiguration.CdnConfigurationProperty value)
      AWS::MediaTailor::PlaybackConfiguration.CdnConfiguration.
    • getConfigurationAliases

      @Stability(Stable) @Nullable public Object getConfigurationAliases()
      The player parameters and aliases used as dynamic variables during session initialization.

      For more information, see Domain Variables .

    • setConfigurationAliases

      @Stability(Stable) public void setConfigurationAliases(@Nullable IResolvable value)
      The player parameters and aliases used as dynamic variables during session initialization.

      For more information, see Domain Variables .

    • setConfigurationAliases

      @Stability(Stable) public void setConfigurationAliases(@Nullable Map<String,Object> value)
      The player parameters and aliases used as dynamic variables during session initialization.

      For more information, see Domain Variables .

    • getDashConfiguration

      @Stability(Stable) @Nullable public Object getDashConfiguration()
      AWS::MediaTailor::PlaybackConfiguration.DashConfiguration.
    • setDashConfiguration

      @Stability(Stable) public void setDashConfiguration(@Nullable IResolvable value)
      AWS::MediaTailor::PlaybackConfiguration.DashConfiguration.
    • setDashConfiguration

      @Stability(Stable) public void setDashConfiguration(@Nullable CfnPlaybackConfiguration.DashConfigurationProperty value)
      AWS::MediaTailor::PlaybackConfiguration.DashConfiguration.
    • getHlsConfiguration

      @Stability(Stable) @Nullable public Object getHlsConfiguration()
      The configuration for HLS content.
    • setHlsConfiguration

      @Stability(Stable) public void setHlsConfiguration(@Nullable IResolvable value)
      The configuration for HLS content.
    • setHlsConfiguration

      @Stability(Stable) public void setHlsConfiguration(@Nullable CfnPlaybackConfiguration.HlsConfigurationProperty value)
      The configuration for HLS content.
    • getLivePreRollConfiguration

      @Stability(Stable) @Nullable public Object getLivePreRollConfiguration()
      AWS::MediaTailor::PlaybackConfiguration.LivePreRollConfiguration.
    • setLivePreRollConfiguration

      @Stability(Stable) public void setLivePreRollConfiguration(@Nullable IResolvable value)
      AWS::MediaTailor::PlaybackConfiguration.LivePreRollConfiguration.
    • setLivePreRollConfiguration

      @Stability(Stable) public void setLivePreRollConfiguration(@Nullable CfnPlaybackConfiguration.LivePreRollConfigurationProperty value)
      AWS::MediaTailor::PlaybackConfiguration.LivePreRollConfiguration.
    • getManifestProcessingRules

      @Stability(Stable) @Nullable public Object getManifestProcessingRules()
      AWS::MediaTailor::PlaybackConfiguration.ManifestProcessingRules.
    • setManifestProcessingRules

      @Stability(Stable) public void setManifestProcessingRules(@Nullable IResolvable value)
      AWS::MediaTailor::PlaybackConfiguration.ManifestProcessingRules.
    • setManifestProcessingRules

      @Stability(Stable) public void setManifestProcessingRules(@Nullable CfnPlaybackConfiguration.ManifestProcessingRulesProperty value)
      AWS::MediaTailor::PlaybackConfiguration.ManifestProcessingRules.
    • getPersonalizationThresholdSeconds

      @Stability(Stable) @Nullable public Number getPersonalizationThresholdSeconds()
      AWS::MediaTailor::PlaybackConfiguration.PersonalizationThresholdSeconds.
    • setPersonalizationThresholdSeconds

      @Stability(Stable) public void setPersonalizationThresholdSeconds(@Nullable Number value)
      AWS::MediaTailor::PlaybackConfiguration.PersonalizationThresholdSeconds.
    • getSlateAdUrl

      @Stability(Stable) @Nullable public String getSlateAdUrl()
      AWS::MediaTailor::PlaybackConfiguration.SlateAdUrl.
    • setSlateAdUrl

      @Stability(Stable) public void setSlateAdUrl(@Nullable String value)
      AWS::MediaTailor::PlaybackConfiguration.SlateAdUrl.
    • getTranscodeProfileName

      @Stability(Stable) @Nullable public String getTranscodeProfileName()
      AWS::MediaTailor::PlaybackConfiguration.TranscodeProfileName.
    • setTranscodeProfileName

      @Stability(Stable) public void setTranscodeProfileName(@Nullable String value)
      AWS::MediaTailor::PlaybackConfiguration.TranscodeProfileName.