java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.Mixin
software.amazon.awscdk.cfnpropertymixins.services.mediatailor.CfnProgramPropsMixin
All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable, software.constructs.IMixin

@Generated(value="jsii-pacmak/1.140.0 (build 79fd58c)", date="2026-10-08T17:00:15.449Z") @Stability(Stable) public class CfnProgramPropsMixin extends Mixin implements software.constructs.IMixin
Resource schema for AWS::MediaTailor::Program.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.cfnpropertymixins.services.mediatailor.*;
 import software.amazon.awscdk.*;
 IMergeStrategy mergeStrategy;
 CfnProgramPropsMixin cfnProgramPropsMixin = CfnProgramPropsMixin.Builder.create(CfnProgramMixinProps.builder()
         .adBreaks(List.of(AdBreakProperty.builder()
                 .adBreakMetadata(List.of(KeyValuePairProperty.builder()
                         .key("key")
                         .value("value")
                         .build()))
                 .messageType("messageType")
                 .offsetMillis(123)
                 .slate(SlateSourceProperty.builder()
                         .sourceLocationName("sourceLocationName")
                         .vodSourceName("vodSourceName")
                         .build())
                 .spliceInsertMessage(SpliceInsertMessageProperty.builder()
                         .availNum(123)
                         .availsExpected(123)
                         .spliceEventId(123)
                         .uniqueProgramId(123)
                         .build())
                 .timeSignalMessage(TimeSignalMessageProperty.builder()
                         .segmentationDescriptors(List.of(SegmentationDescriptorProperty.builder()
                                 .segmentationEventId(123)
                                 .segmentationTypeId(123)
                                 .segmentationUpid("segmentationUpid")
                                 .segmentationUpidType(123)
                                 .segmentNum(123)
                                 .segmentsExpected(123)
                                 .subSegmentNum(123)
                                 .subSegmentsExpected(123)
                                 .build()))
                         .build())
                 .build()))
         .audienceMedia(List.of(AudienceMediaProperty.builder()
                 .alternateMedia(List.of(AlternateMediaProperty.builder()
                         .adBreaks(List.of(AdBreakProperty.builder()
                                 .adBreakMetadata(List.of(KeyValuePairProperty.builder()
                                         .key("key")
                                         .value("value")
                                         .build()))
                                 .messageType("messageType")
                                 .offsetMillis(123)
                                 .slate(SlateSourceProperty.builder()
                                         .sourceLocationName("sourceLocationName")
                                         .vodSourceName("vodSourceName")
                                         .build())
                                 .spliceInsertMessage(SpliceInsertMessageProperty.builder()
                                         .availNum(123)
                                         .availsExpected(123)
                                         .spliceEventId(123)
                                         .uniqueProgramId(123)
                                         .build())
                                 .timeSignalMessage(TimeSignalMessageProperty.builder()
                                         .segmentationDescriptors(List.of(SegmentationDescriptorProperty.builder()
                                                 .segmentationEventId(123)
                                                 .segmentationTypeId(123)
                                                 .segmentationUpid("segmentationUpid")
                                                 .segmentationUpidType(123)
                                                 .segmentNum(123)
                                                 .segmentsExpected(123)
                                                 .subSegmentNum(123)
                                                 .subSegmentsExpected(123)
                                                 .build()))
                                         .build())
                                 .build()))
                         .clipRange(ClipRangeProperty.builder()
                                 .endOffsetMillis(123)
                                 .startOffsetMillis(123)
                                 .build())
                         .durationMillis(123)
                         .liveSourceName("liveSourceName")
                         .scheduledStartTimeMillis(123)
                         .sourceLocationName("sourceLocationName")
                         .vodSourceName("vodSourceName")
                         .build()))
                 .audience("audience")
                 .build()))
         .channelName("channelName")
         .liveSourceName("liveSourceName")
         .programName("programName")
         .scheduleConfiguration(ScheduleConfigurationProperty.builder()
                 .clipRange(ClipRangeProperty.builder()
                         .endOffsetMillis(123)
                         .startOffsetMillis(123)
                         .build())
                 .transition(TransitionProperty.builder()
                         .durationMillis(123)
                         .relativePosition("relativePosition")
                         .relativeProgram("relativeProgram")
                         .scheduledStartTimeMillis(123)
                         .type("type")
                         .build())
                 .build())
         .sourceLocationName("sourceLocationName")
         .vodSourceName("vodSourceName")
         .build())
 .strategy(mergeStrategy)
 .build();
 

See Also:
  • Field Details

    • CFN_PROPERTY_KEYS

      @Stability(Stable) protected static final List<String> CFN_PROPERTY_KEYS
  • Constructor Details

    • CfnProgramPropsMixin

      protected CfnProgramPropsMixin(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnProgramPropsMixin

      protected CfnProgramPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnProgramPropsMixin

      @Stability(Stable) public CfnProgramPropsMixin(@NotNull CfnProgramMixinProps props, @Nullable CfnPropertyMixinOptions options)
      Create a mixin to apply properties to AWS::MediaTailor::Program.

      Parameters:
      props - L1 properties to apply. This parameter is required.
      options - Mixin options.
    • CfnProgramPropsMixin

      @Stability(Stable) public CfnProgramPropsMixin(@NotNull CfnProgramMixinProps props)
      Create a mixin to apply properties to AWS::MediaTailor::Program.

      Parameters:
      props - L1 properties to apply. This parameter is required.
  • Method Details

    • applyTo

      @Stability(Stable) public void applyTo(@NotNull software.constructs.IConstruct construct)
      Apply the mixin properties to the construct.

      Specified by:
      applyTo in interface software.constructs.IMixin
      Specified by:
      applyTo in class Mixin
      Parameters:
      construct - This parameter is required.
    • supports

      @Stability(Stable) @NotNull public Boolean supports(@NotNull software.constructs.IConstruct construct)
      Check if this mixin supports the given construct.

      Specified by:
      supports in interface software.constructs.IMixin
      Overrides:
      supports in class Mixin
      Parameters:
      construct - This parameter is required.
    • getProps

      @Stability(Stable) @NotNull protected CfnProgramMixinProps getProps()
    • getStrategy

      @Stability(Stable) @NotNull protected IMergeStrategy getStrategy()