@pulumi/aws-native
Version:
The Pulumi AWS Cloud Control Provider enables you to build, deploy, and manage [any AWS resource that's supported by the AWS Cloud Control API](https://github.com/pulumi/pulumi-aws-native/blob/master/provider/cmd/pulumi-gen-aws-native/supported-types.txt)
62 lines (61 loc) • 2.18 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
import * as enums from "../types/enums";
/**
* Definition of AWS::MediaTailor::Channel Resource Type
*/
export declare function getChannel(args: GetChannelArgs, opts?: pulumi.InvokeOptions): Promise<GetChannelResult>;
export interface GetChannelArgs {
/**
* The name of the channel.
*/
channelName: string;
}
export interface GetChannelResult {
/**
* <p>The ARN of the channel.</p>
*/
readonly arn?: string;
/**
* <p>The list of audiences defined in channel.</p>
*/
readonly audiences?: string[];
/**
* The slate used to fill gaps between programs in the schedule. You must configure filler slate if your channel uses the `LINEAR` `PlaybackMode` . MediaTailor doesn't support filler slate for channels using the `LOOP` `PlaybackMode` .
*/
readonly fillerSlate?: outputs.mediatailor.ChannelSlateSource;
/**
* The log configuration.
*/
readonly logConfiguration?: outputs.mediatailor.ChannelLogConfigurationForChannel;
/**
* <p>The channel's output properties.</p>
*/
readonly outputs?: outputs.mediatailor.ChannelRequestOutputItem[];
/**
* The type of playback mode for this channel.
*
* `LINEAR` - Programs play back-to-back only once.
*
* `LOOP` - Programs play back-to-back in an endless loop. When the last program in the schedule plays, playback loops back to the first program in the schedule.
*/
readonly playbackMode?: enums.mediatailor.ChannelPlaybackMode;
/**
* The tags to assign to the channel.
*/
readonly tags?: outputs.Tag[];
/**
* The configuration for time-shifted viewing.
*/
readonly timeShiftConfiguration?: outputs.mediatailor.ChannelTimeShiftConfiguration;
}
/**
* Definition of AWS::MediaTailor::Channel Resource Type
*/
export declare function getChannelOutput(args: GetChannelOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetChannelResult>;
export interface GetChannelOutputArgs {
/**
* The name of the channel.
*/
channelName: pulumi.Input<string>;
}