1. Registry
  2. Packages
  3. AWS Cloud Control
  4. API Docs
  5. mediatailor
  6. getProgram

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.85.0
published on Monday, Nov 2, 2026 by Pulumi
aws-native logo aws-native logo AWS Cloud Control

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.85.0
published on Monday, Nov 2, 2026 by Pulumi

    Resource schema for AWS::MediaTailor::Program

    Using getProgram

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getProgram(args: GetProgramArgs, opts?: InvokeOptions): Promise<GetProgramResult>
    function getProgramOutput(args: GetProgramOutputArgs, opts?: InvokeOutputOptions): Output<GetProgramResult>
    def get_program(arn: Optional[str] = None,
                    opts: Optional[InvokeOptions] = None) -> GetProgramResult
    def get_program_output(arn: pulumi.Input[Optional[str]] = None,
                    opts: Optional[InvokeOutputOptions] = None) -> Output[GetProgramResult]
    func LookupProgram(ctx *Context, args *LookupProgramArgs, opts ...InvokeOption) (*LookupProgramResult, error)
    func LookupProgramOutput(ctx *Context, args *LookupProgramOutputArgs, opts ...InvokeOption) LookupProgramResultOutput

    > Note: This function is named LookupProgram in the Go SDK.

    public static class GetProgram 
    {
        public static Task<GetProgramResult> InvokeAsync(GetProgramArgs args, InvokeOptions? opts = null)
        public static Output<GetProgramResult> Invoke(GetProgramInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetProgramResult> Invoke(GetProgramInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetProgramResult> getProgram(GetProgramArgs args, InvokeOptions options)
    public static Output<GetProgramResult> getProgram(GetProgramArgs args, InvokeOptions options)
    public static Output<GetProgramResult> getProgram(GetProgramArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: aws-native:mediatailor:getProgram
      arguments:
        # arguments dictionary
    data "aws-native_mediatailor_get_program" "name" {
        # arguments
    }

    The following arguments are supported:

    Arn string
    The ARN of the program.
    Arn string
    The ARN of the program.
    arn string
    The ARN of the program.
    arn String
    The ARN of the program.
    arn string
    The ARN of the program.
    arn str
    The ARN of the program.
    arn String
    The ARN of the program.

    getProgram Result

    The following output properties are available:

    AdBreaks List<Pulumi.AwsNative.MediaTailor.Outputs.ProgramAdBreak>
    The ad break configuration settings.
    Arn string
    The ARN of the program.
    AudienceMedia List<Pulumi.AwsNative.MediaTailor.Outputs.ProgramAudienceMedia>
    The list of AudienceMedia defined in program.
    ClipRange Pulumi.AwsNative.MediaTailor.Outputs.ProgramClipRange
    The clip range configuration settings.
    CreationTime string
    The timestamp of when the program was created.
    DurationMillis int
    The duration of the live program in milliseconds.
    ScheduledStartTime string
    The date and time that the program is scheduled to start.
    AdBreaks []ProgramAdBreak
    The ad break configuration settings.
    Arn string
    The ARN of the program.
    AudienceMedia []ProgramAudienceMedia
    The list of AudienceMedia defined in program.
    ClipRange ProgramClipRange
    The clip range configuration settings.
    CreationTime string
    The timestamp of when the program was created.
    DurationMillis int
    The duration of the live program in milliseconds.
    ScheduledStartTime string
    The date and time that the program is scheduled to start.
    ad_breaks list(object)
    The ad break configuration settings.
    arn string
    The ARN of the program.
    audience_media list(object)
    The list of AudienceMedia defined in program.
    clip_range object
    The clip range configuration settings.
    creation_time string
    The timestamp of when the program was created.
    duration_millis number
    The duration of the live program in milliseconds.
    scheduled_start_time string
    The date and time that the program is scheduled to start.
    adBreaks List<ProgramAdBreak>
    The ad break configuration settings.
    arn String
    The ARN of the program.
    audienceMedia List<ProgramAudienceMedia>
    The list of AudienceMedia defined in program.
    clipRange ProgramClipRange
    The clip range configuration settings.
    creationTime String
    The timestamp of when the program was created.
    durationMillis Integer
    The duration of the live program in milliseconds.
    scheduledStartTime String
    The date and time that the program is scheduled to start.
    adBreaks ProgramAdBreak[]
    The ad break configuration settings.
    arn string
    The ARN of the program.
    audienceMedia ProgramAudienceMedia[]
    The list of AudienceMedia defined in program.
    clipRange ProgramClipRange
    The clip range configuration settings.
    creationTime string
    The timestamp of when the program was created.
    durationMillis number
    The duration of the live program in milliseconds.
    scheduledStartTime string
    The date and time that the program is scheduled to start.
    ad_breaks Sequence[ProgramAdBreak]
    The ad break configuration settings.
    arn str
    The ARN of the program.
    audience_media Sequence[ProgramAudienceMedia]
    The list of AudienceMedia defined in program.
    clip_range ProgramClipRange
    The clip range configuration settings.
    creation_time str
    The timestamp of when the program was created.
    duration_millis int
    The duration of the live program in milliseconds.
    scheduled_start_time str
    The date and time that the program is scheduled to start.
    adBreaks List<Property Map>
    The ad break configuration settings.
    arn String
    The ARN of the program.
    audienceMedia List<Property Map>
    The list of AudienceMedia defined in program.
    clipRange Property Map
    The clip range configuration settings.
    creationTime String
    The timestamp of when the program was created.
    durationMillis Number
    The duration of the live program in milliseconds.
    scheduledStartTime String
    The date and time that the program is scheduled to start.

    Supporting Types

    ProgramAdBreak

    OffsetMillis int
    How long (in milliseconds) after the beginning of the program that an ad starts.
    AdBreakMetadata []ProgramKeyValuePair
    Defines a list of key/value pairs that MediaTailor generates within the EXT-X-ASSET tag for SCTE35_ENHANCED output.
    MessageType ProgramAdBreakMessageType
    The SCTE-35 ad insertion type.
    Slate ProgramSlateSource
    SpliceInsertMessage ProgramSpliceInsertMessage
    TimeSignalMessage ProgramTimeSignalMessage
    offset_millis number
    How long (in milliseconds) after the beginning of the program that an ad starts.
    ad_break_metadata list(object)
    Defines a list of key/value pairs that MediaTailor generates within the EXT-X-ASSET tag for SCTE35_ENHANCED output.
    message_type "SPLICE_INSERT" | "TIME_SIGNAL"
    The SCTE-35 ad insertion type.
    slate object
    splice_insert_message object
    time_signal_message object
    offsetMillis Integer
    How long (in milliseconds) after the beginning of the program that an ad starts.
    adBreakMetadata List<ProgramKeyValuePair>
    Defines a list of key/value pairs that MediaTailor generates within the EXT-X-ASSET tag for SCTE35_ENHANCED output.
    messageType ProgramAdBreakMessageType
    The SCTE-35 ad insertion type.
    slate ProgramSlateSource
    spliceInsertMessage ProgramSpliceInsertMessage
    timeSignalMessage ProgramTimeSignalMessage
    offsetMillis number
    How long (in milliseconds) after the beginning of the program that an ad starts.
    adBreakMetadata ProgramKeyValuePair[]
    Defines a list of key/value pairs that MediaTailor generates within the EXT-X-ASSET tag for SCTE35_ENHANCED output.
    messageType ProgramAdBreakMessageType
    The SCTE-35 ad insertion type.
    slate ProgramSlateSource
    spliceInsertMessage ProgramSpliceInsertMessage
    timeSignalMessage ProgramTimeSignalMessage
    offset_millis int
    How long (in milliseconds) after the beginning of the program that an ad starts.
    ad_break_metadata Sequence[ProgramKeyValuePair]
    Defines a list of key/value pairs that MediaTailor generates within the EXT-X-ASSET tag for SCTE35_ENHANCED output.
    message_type ProgramAdBreakMessageType
    The SCTE-35 ad insertion type.
    slate ProgramSlateSource
    splice_insert_message ProgramSpliceInsertMessage
    time_signal_message ProgramTimeSignalMessage
    offsetMillis Number
    How long (in milliseconds) after the beginning of the program that an ad starts.
    adBreakMetadata List<Property Map>
    Defines a list of key/value pairs that MediaTailor generates within the EXT-X-ASSET tag for SCTE35_ENHANCED output.
    messageType "SPLICE_INSERT" | "TIME_SIGNAL"
    The SCTE-35 ad insertion type.
    slate Property Map
    spliceInsertMessage Property Map
    timeSignalMessage Property Map

    ProgramAdBreakMessageType

    ProgramAlternateMedia

    AdBreaks List<Pulumi.AwsNative.MediaTailor.Inputs.ProgramAdBreak>
    Ad break configuration parameters defined in AlternateMedia.
    ClipRange Pulumi.AwsNative.MediaTailor.Inputs.ProgramClipRange
    DurationMillis int
    The duration of the alternateMedia in milliseconds.
    LiveSourceName string
    The name of the live source for alternateMedia.
    ScheduledStartTimeMillis int
    The date and time that the alternateMedia is scheduled to start, in epoch milliseconds.
    SourceLocationName string
    The name of the source location for alternateMedia.
    VodSourceName string
    The name of the VOD source for alternateMedia.
    AdBreaks []ProgramAdBreak
    Ad break configuration parameters defined in AlternateMedia.
    ClipRange ProgramClipRange
    DurationMillis int
    The duration of the alternateMedia in milliseconds.
    LiveSourceName string
    The name of the live source for alternateMedia.
    ScheduledStartTimeMillis int
    The date and time that the alternateMedia is scheduled to start, in epoch milliseconds.
    SourceLocationName string
    The name of the source location for alternateMedia.
    VodSourceName string
    The name of the VOD source for alternateMedia.
    ad_breaks list(object)
    Ad break configuration parameters defined in AlternateMedia.
    clip_range object
    duration_millis number
    The duration of the alternateMedia in milliseconds.
    live_source_name string
    The name of the live source for alternateMedia.
    scheduled_start_time_millis number
    The date and time that the alternateMedia is scheduled to start, in epoch milliseconds.
    source_location_name string
    The name of the source location for alternateMedia.
    vod_source_name string
    The name of the VOD source for alternateMedia.
    adBreaks List<ProgramAdBreak>
    Ad break configuration parameters defined in AlternateMedia.
    clipRange ProgramClipRange
    durationMillis Integer
    The duration of the alternateMedia in milliseconds.
    liveSourceName String
    The name of the live source for alternateMedia.
    scheduledStartTimeMillis Integer
    The date and time that the alternateMedia is scheduled to start, in epoch milliseconds.
    sourceLocationName String
    The name of the source location for alternateMedia.
    vodSourceName String
    The name of the VOD source for alternateMedia.
    adBreaks ProgramAdBreak[]
    Ad break configuration parameters defined in AlternateMedia.
    clipRange ProgramClipRange
    durationMillis number
    The duration of the alternateMedia in milliseconds.
    liveSourceName string
    The name of the live source for alternateMedia.
    scheduledStartTimeMillis number
    The date and time that the alternateMedia is scheduled to start, in epoch milliseconds.
    sourceLocationName string
    The name of the source location for alternateMedia.
    vodSourceName string
    The name of the VOD source for alternateMedia.
    ad_breaks Sequence[ProgramAdBreak]
    Ad break configuration parameters defined in AlternateMedia.
    clip_range ProgramClipRange
    duration_millis int
    The duration of the alternateMedia in milliseconds.
    live_source_name str
    The name of the live source for alternateMedia.
    scheduled_start_time_millis int
    The date and time that the alternateMedia is scheduled to start, in epoch milliseconds.
    source_location_name str
    The name of the source location for alternateMedia.
    vod_source_name str
    The name of the VOD source for alternateMedia.
    adBreaks List<Property Map>
    Ad break configuration parameters defined in AlternateMedia.
    clipRange Property Map
    durationMillis Number
    The duration of the alternateMedia in milliseconds.
    liveSourceName String
    The name of the live source for alternateMedia.
    scheduledStartTimeMillis Number
    The date and time that the alternateMedia is scheduled to start, in epoch milliseconds.
    sourceLocationName String
    The name of the source location for alternateMedia.
    vodSourceName String
    The name of the VOD source for alternateMedia.

    ProgramAudienceMedia

    AlternateMedia List<Pulumi.AwsNative.MediaTailor.Inputs.ProgramAlternateMedia>
    The list of AlternateMedia defined in AudienceMedia.
    Audience string
    The Audience defined in AudienceMedia.
    AlternateMedia []ProgramAlternateMedia
    The list of AlternateMedia defined in AudienceMedia.
    Audience string
    The Audience defined in AudienceMedia.
    alternate_media list(object)
    The list of AlternateMedia defined in AudienceMedia.
    audience string
    The Audience defined in AudienceMedia.
    alternateMedia List<ProgramAlternateMedia>
    The list of AlternateMedia defined in AudienceMedia.
    audience String
    The Audience defined in AudienceMedia.
    alternateMedia ProgramAlternateMedia[]
    The list of AlternateMedia defined in AudienceMedia.
    audience string
    The Audience defined in AudienceMedia.
    alternate_media Sequence[ProgramAlternateMedia]
    The list of AlternateMedia defined in AudienceMedia.
    audience str
    The Audience defined in AudienceMedia.
    alternateMedia List<Property Map>
    The list of AlternateMedia defined in AudienceMedia.
    audience String
    The Audience defined in AudienceMedia.

    ProgramClipRange

    EndOffsetMillis int
    The end offset of the clip range, in milliseconds.
    StartOffsetMillis int
    The start offset of the clip range, in milliseconds.
    EndOffsetMillis int
    The end offset of the clip range, in milliseconds.
    StartOffsetMillis int
    The start offset of the clip range, in milliseconds.
    end_offset_millis number
    The end offset of the clip range, in milliseconds.
    start_offset_millis number
    The start offset of the clip range, in milliseconds.
    endOffsetMillis Integer
    The end offset of the clip range, in milliseconds.
    startOffsetMillis Integer
    The start offset of the clip range, in milliseconds.
    endOffsetMillis number
    The end offset of the clip range, in milliseconds.
    startOffsetMillis number
    The start offset of the clip range, in milliseconds.
    end_offset_millis int
    The end offset of the clip range, in milliseconds.
    start_offset_millis int
    The start offset of the clip range, in milliseconds.
    endOffsetMillis Number
    The end offset of the clip range, in milliseconds.
    startOffsetMillis Number
    The start offset of the clip range, in milliseconds.

    ProgramKeyValuePair

    Key string
    The key.
    Value string
    The value.
    Key string
    The key.
    Value string
    The value.
    key string
    The key.
    value string
    The value.
    key String
    The key.
    value String
    The value.
    key string
    The key.
    value string
    The value.
    key str
    The key.
    value str
    The value.
    key String
    The key.
    value String
    The value.

    ProgramSegmentationDescriptor

    SegmentNum int
    The segment number to assign.
    SegmentationEventId int
    The Event Identifier to assign.
    SegmentationTypeId int
    The Type Identifier to assign.
    SegmentationUpid string
    The Upid to assign.
    SegmentationUpidType int
    The Upid Type to assign.
    SegmentsExpected int
    The number of segments expected.
    SubSegmentNum int
    The sub-segment number to assign.
    SubSegmentsExpected int
    The number of sub-segments expected.
    SegmentNum int
    The segment number to assign.
    SegmentationEventId int
    The Event Identifier to assign.
    SegmentationTypeId int
    The Type Identifier to assign.
    SegmentationUpid string
    The Upid to assign.
    SegmentationUpidType int
    The Upid Type to assign.
    SegmentsExpected int
    The number of segments expected.
    SubSegmentNum int
    The sub-segment number to assign.
    SubSegmentsExpected int
    The number of sub-segments expected.
    segment_num number
    The segment number to assign.
    segmentation_event_id number
    The Event Identifier to assign.
    segmentation_type_id number
    The Type Identifier to assign.
    segmentation_upid string
    The Upid to assign.
    segmentation_upid_type number
    The Upid Type to assign.
    segments_expected number
    The number of segments expected.
    sub_segment_num number
    The sub-segment number to assign.
    sub_segments_expected number
    The number of sub-segments expected.
    segmentNum Integer
    The segment number to assign.
    segmentationEventId Integer
    The Event Identifier to assign.
    segmentationTypeId Integer
    The Type Identifier to assign.
    segmentationUpid String
    The Upid to assign.
    segmentationUpidType Integer
    The Upid Type to assign.
    segmentsExpected Integer
    The number of segments expected.
    subSegmentNum Integer
    The sub-segment number to assign.
    subSegmentsExpected Integer
    The number of sub-segments expected.
    segmentNum number
    The segment number to assign.
    segmentationEventId number
    The Event Identifier to assign.
    segmentationTypeId number
    The Type Identifier to assign.
    segmentationUpid string
    The Upid to assign.
    segmentationUpidType number
    The Upid Type to assign.
    segmentsExpected number
    The number of segments expected.
    subSegmentNum number
    The sub-segment number to assign.
    subSegmentsExpected number
    The number of sub-segments expected.
    segment_num int
    The segment number to assign.
    segmentation_event_id int
    The Event Identifier to assign.
    segmentation_type_id int
    The Type Identifier to assign.
    segmentation_upid str
    The Upid to assign.
    segmentation_upid_type int
    The Upid Type to assign.
    segments_expected int
    The number of segments expected.
    sub_segment_num int
    The sub-segment number to assign.
    sub_segments_expected int
    The number of sub-segments expected.
    segmentNum Number
    The segment number to assign.
    segmentationEventId Number
    The Event Identifier to assign.
    segmentationTypeId Number
    The Type Identifier to assign.
    segmentationUpid String
    The Upid to assign.
    segmentationUpidType Number
    The Upid Type to assign.
    segmentsExpected Number
    The number of segments expected.
    subSegmentNum Number
    The sub-segment number to assign.
    subSegmentsExpected Number
    The number of sub-segments expected.

    ProgramSlateSource

    SourceLocationName string
    The name of the source location where the slate VOD source is stored.
    VodSourceName string
    The slate VOD source name.
    SourceLocationName string
    The name of the source location where the slate VOD source is stored.
    VodSourceName string
    The slate VOD source name.
    source_location_name string
    The name of the source location where the slate VOD source is stored.
    vod_source_name string
    The slate VOD source name.
    sourceLocationName String
    The name of the source location where the slate VOD source is stored.
    vodSourceName String
    The slate VOD source name.
    sourceLocationName string
    The name of the source location where the slate VOD source is stored.
    vodSourceName string
    The slate VOD source name.
    source_location_name str
    The name of the source location where the slate VOD source is stored.
    vod_source_name str
    The slate VOD source name.
    sourceLocationName String
    The name of the source location where the slate VOD source is stored.
    vodSourceName String
    The slate VOD source name.

    ProgramSpliceInsertMessage

    AvailNum int
    This is written to splice_insert.avail_num.
    AvailsExpected int
    This is written to splice_insert.avails_expected.
    SpliceEventId int
    This is written to splice_insert.splice_event_id.
    UniqueProgramId int
    This is written to splice_insert.unique_program_id.
    AvailNum int
    This is written to splice_insert.avail_num.
    AvailsExpected int
    This is written to splice_insert.avails_expected.
    SpliceEventId int
    This is written to splice_insert.splice_event_id.
    UniqueProgramId int
    This is written to splice_insert.unique_program_id.
    avail_num number
    This is written to splice_insert.avail_num.
    avails_expected number
    This is written to splice_insert.avails_expected.
    splice_event_id number
    This is written to splice_insert.splice_event_id.
    unique_program_id number
    This is written to splice_insert.unique_program_id.
    availNum Integer
    This is written to splice_insert.avail_num.
    availsExpected Integer
    This is written to splice_insert.avails_expected.
    spliceEventId Integer
    This is written to splice_insert.splice_event_id.
    uniqueProgramId Integer
    This is written to splice_insert.unique_program_id.
    availNum number
    This is written to splice_insert.avail_num.
    availsExpected number
    This is written to splice_insert.avails_expected.
    spliceEventId number
    This is written to splice_insert.splice_event_id.
    uniqueProgramId number
    This is written to splice_insert.unique_program_id.
    avail_num int
    This is written to splice_insert.avail_num.
    avails_expected int
    This is written to splice_insert.avails_expected.
    splice_event_id int
    This is written to splice_insert.splice_event_id.
    unique_program_id int
    This is written to splice_insert.unique_program_id.
    availNum Number
    This is written to splice_insert.avail_num.
    availsExpected Number
    This is written to splice_insert.avails_expected.
    spliceEventId Number
    This is written to splice_insert.splice_event_id.
    uniqueProgramId Number
    This is written to splice_insert.unique_program_id.

    ProgramTimeSignalMessage

    SegmentationDescriptors List<Pulumi.AwsNative.MediaTailor.Inputs.ProgramSegmentationDescriptor>
    The configurations for the SCTE-35 segmentation_descriptor message(s).
    SegmentationDescriptors []ProgramSegmentationDescriptor
    The configurations for the SCTE-35 segmentation_descriptor message(s).
    segmentation_descriptors list(object)
    The configurations for the SCTE-35 segmentation_descriptor message(s).
    segmentationDescriptors List<ProgramSegmentationDescriptor>
    The configurations for the SCTE-35 segmentation_descriptor message(s).
    segmentationDescriptors ProgramSegmentationDescriptor[]
    The configurations for the SCTE-35 segmentation_descriptor message(s).
    segmentation_descriptors Sequence[ProgramSegmentationDescriptor]
    The configurations for the SCTE-35 segmentation_descriptor message(s).
    segmentationDescriptors List<Property Map>
    The configurations for the SCTE-35 segmentation_descriptor message(s).

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo aws-native logo AWS Cloud Control

    We recommend new projects start with resources from the AWS provider.

    Viewing docs for AWS Cloud Control v1.85.0
    published on Monday, Nov 2, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial