Source code for troposphere.ivs

# Copyright (c) 2012-2026, Mark Peek <mark@peek.org>
# All rights reserved.
#
# See LICENSE file for full license.
#
# *** Do not modify - this file is autogenerated ***


from . import AWSObject, AWSProperty, PropsDictType, Tags
from .validators import boolean, double, integer


[docs]class MediaTailorPlaybackConfiguration(AWSProperty): """ `MediaTailorPlaybackConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ivs-adconfiguration-mediatailorplaybackconfiguration.html>`__ """ props: PropsDictType = { "PlaybackConfigurationArn": (str, False), }
[docs]class PostRollConfiguration(AWSProperty): """ `PostRollConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ivs-adconfiguration-postrollconfiguration.html>`__ """ props: PropsDictType = { "DurationSeconds": (integer, True), "Enabled": (boolean, True), }
[docs]class AdConfiguration(AWSObject): """ `AdConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ivs-adconfiguration.html>`__ """ resource_type = "AWS::IVS::AdConfiguration" props: PropsDictType = { "MediaTailorPlaybackConfigurations": ([MediaTailorPlaybackConfiguration], True), "Name": (str, False), "PostRollConfiguration": (PostRollConfiguration, False), "Tags": (Tags, False), }
[docs]class MultitrackInputConfiguration(AWSProperty): """ `MultitrackInputConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ivs-channel-multitrackinputconfiguration.html>`__ """ props: PropsDictType = { "Enabled": (boolean, False), "MaximumResolution": (str, False), "Policy": (str, False), }
[docs]class Channel(AWSObject): """ `Channel <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ivs-channel.html>`__ """ resource_type = "AWS::IVS::Channel" props: PropsDictType = { "Authorized": (boolean, False), "ContainerFormat": (str, False), "InsecureIngest": (boolean, False), "LatencyMode": (str, False), "MultitrackInputConfiguration": (MultitrackInputConfiguration, False), "Name": (str, False), "Preset": (str, False), "RecordingConfigurationArn": (str, False), "Tags": (Tags, False), "Type": (str, False), }
[docs]class S3DestinationConfiguration(AWSProperty): """ `S3DestinationConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ivs-recordingconfiguration-s3destinationconfiguration.html>`__ """ props: PropsDictType = { "BucketName": (str, True), }
[docs]class DestinationConfiguration(AWSProperty): """ `DestinationConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ivs-recordingconfiguration-destinationconfiguration.html>`__ """ props: PropsDictType = { "S3": (S3DestinationConfiguration, False), }
[docs]class GridConfiguration(AWSProperty): """ `GridConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ivs-composition-gridconfiguration.html>`__ """ props: PropsDictType = { "FeaturedParticipantAttribute": (str, False), "GridGap": (integer, False), "OmitStoppedVideo": (boolean, False), "ParticipantOrderAttribute": (str, False), "VideoAspectRatio": (str, False), "VideoFillMode": (str, False), }
[docs]class PipConfiguration(AWSProperty): """ `PipConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ivs-composition-pipconfiguration.html>`__ """ props: PropsDictType = { "FeaturedParticipantAttribute": (str, False), "GridGap": (integer, False), "OmitStoppedVideo": (boolean, False), "ParticipantOrderAttribute": (str, False), "PipBehavior": (str, False), "PipHeight": (integer, False), "PipOffset": (integer, False), "PipParticipantAttribute": (str, False), "PipPosition": (str, False), "PipWidth": (integer, False), "VideoFillMode": (str, False), }
[docs]class LayoutConfiguration(AWSProperty): """ `LayoutConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ivs-composition-layoutconfiguration.html>`__ """ props: PropsDictType = { "Grid": (GridConfiguration, False), "Pip": (PipConfiguration, False), }
[docs]class Composition(AWSObject): """ `Composition <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ivs-composition.html>`__ """ resource_type = "AWS::IVS::Composition" props: PropsDictType = { "Destinations": ([DestinationConfiguration], True), "Layout": (LayoutConfiguration, False), "StageArn": (str, True), "Tags": (Tags, False), }
[docs]class Video(AWSProperty): """ `Video <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ivs-encoderconfiguration-video.html>`__ """ props: PropsDictType = { "Bitrate": (integer, False), "Framerate": (double, False), "Height": (integer, False), "Width": (integer, False), }
[docs]class EncoderConfiguration(AWSObject): """ `EncoderConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ivs-encoderconfiguration.html>`__ """ resource_type = "AWS::IVS::EncoderConfiguration" props: PropsDictType = { "Name": (str, False), "Tags": (Tags, False), "Video": (Video, False), }
[docs]class IngestConfiguration(AWSObject): """ `IngestConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ivs-ingestconfiguration.html>`__ """ resource_type = "AWS::IVS::IngestConfiguration" props: PropsDictType = { "IngestProtocol": (str, False), "InsecureIngest": (boolean, False), "Name": (str, False), "StageArn": (str, False), "Tags": (Tags, False), "UserId": (str, False), }
[docs]class PlaybackKeyPair(AWSObject): """ `PlaybackKeyPair <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ivs-playbackkeypair.html>`__ """ resource_type = "AWS::IVS::PlaybackKeyPair" props: PropsDictType = { "Name": (str, False), "PublicKeyMaterial": (str, False), "Tags": (Tags, False), }
[docs]class PlaybackRestrictionPolicy(AWSObject): """ `PlaybackRestrictionPolicy <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ivs-playbackrestrictionpolicy.html>`__ """ resource_type = "AWS::IVS::PlaybackRestrictionPolicy" props: PropsDictType = { "AllowedCountries": ([str], False), "AllowedOrigins": ([str], False), "EnableStrictOriginEnforcement": (boolean, False), "Name": (str, False), "Tags": (Tags, False), }
[docs]class PublicKey(AWSObject): """ `PublicKey <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ivs-publickey.html>`__ """ resource_type = "AWS::IVS::PublicKey" props: PropsDictType = { "Name": (str, False), "PublicKeyMaterial": (str, False), "Tags": (Tags, False), }
[docs]class RenditionConfiguration(AWSProperty): """ `RenditionConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ivs-recordingconfiguration-renditionconfiguration.html>`__ """ props: PropsDictType = { "RenditionSelection": (str, False), "Renditions": ([str], False), }
[docs]class ParticipantThumbnailConfiguration(AWSProperty): """ `ParticipantThumbnailConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ivs-stage-participantthumbnailconfiguration.html>`__ """ props: PropsDictType = { "RecordingMode": (str, False), "Storage": ([str], False), "TargetIntervalSeconds": (integer, False), }
[docs]class ThumbnailConfiguration(AWSProperty): """ `ThumbnailConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ivs-stage-thumbnailconfiguration.html>`__ """ props: PropsDictType = { "ParticipantThumbnailConfiguration": (ParticipantThumbnailConfiguration, False), }
[docs]class RecordingConfiguration(AWSObject): """ `RecordingConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ivs-recordingconfiguration.html>`__ """ resource_type = "AWS::IVS::RecordingConfiguration" props: PropsDictType = { "DestinationConfiguration": (DestinationConfiguration, True), "Name": (str, False), "RecordingReconnectWindowSeconds": (integer, False), "RenditionConfiguration": (RenditionConfiguration, False), "Tags": (Tags, False), "ThumbnailConfiguration": (ThumbnailConfiguration, False), }
[docs]class ParticipantRecordingHlsConfiguration(AWSProperty): """ `ParticipantRecordingHlsConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ivs-stage-participantrecordinghlsconfiguration.html>`__ """ props: PropsDictType = { "TargetSegmentDurationSeconds": (integer, False), }
[docs]class HlsConfiguration(AWSProperty): """ `HlsConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ivs-stage-hlsconfiguration.html>`__ """ props: PropsDictType = { "ParticipantRecordingHlsConfiguration": ( ParticipantRecordingHlsConfiguration, False, ), }
[docs]class AutoParticipantRecordingConfiguration(AWSProperty): """ `AutoParticipantRecordingConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ivs-stage-autoparticipantrecordingconfiguration.html>`__ """ props: PropsDictType = { "HlsConfiguration": (HlsConfiguration, False), "MediaTypes": ([str], False), "RecordingReconnectWindowSeconds": (integer, False), "StorageConfigurationArn": (str, True), "ThumbnailConfiguration": (ThumbnailConfiguration, False), }
[docs]class Stage(AWSObject): """ `Stage <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ivs-stage.html>`__ """ resource_type = "AWS::IVS::Stage" props: PropsDictType = { "AutoParticipantRecordingConfiguration": ( AutoParticipantRecordingConfiguration, False, ), "Name": (str, False), "Tags": (Tags, False), }
[docs]class S3StorageConfiguration(AWSProperty): """ `S3StorageConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ivs-storageconfiguration-s3storageconfiguration.html>`__ """ props: PropsDictType = { "BucketName": (str, True), }
[docs]class StorageConfiguration(AWSObject): """ `StorageConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ivs-storageconfiguration.html>`__ """ resource_type = "AWS::IVS::StorageConfiguration" props: PropsDictType = { "Name": (str, False), "S3": (S3StorageConfiguration, True), "Tags": (Tags, False), }
[docs]class StreamKey(AWSObject): """ `StreamKey <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ivs-streamkey.html>`__ """ resource_type = "AWS::IVS::StreamKey" props: PropsDictType = { "ChannelArn": (str, True), "Tags": (Tags, False), }
[docs]class ChannelDestinationConfiguration(AWSProperty): """ `ChannelDestinationConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ivs-composition-channeldestinationconfiguration.html>`__ """ props: PropsDictType = { "ChannelArn": (str, True), "EncoderConfigurationArn": (str, False), }
[docs]class CompositionRecordingHlsConfiguration(AWSProperty): """ `CompositionRecordingHlsConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ivs-composition-compositionrecordinghlsconfiguration.html>`__ """ props: PropsDictType = { "TargetSegmentDurationSeconds": (integer, False), }
[docs]class CompositionThumbnailConfiguration(AWSProperty): """ `CompositionThumbnailConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ivs-composition-compositionthumbnailconfiguration.html>`__ """ props: PropsDictType = { "Storage": ([str], False), "TargetIntervalSeconds": (integer, False), }
[docs]class RecordingConfigurationProperty(AWSProperty): """ `RecordingConfigurationProperty <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ivs-composition-recordingconfiguration.html>`__ """ props: PropsDictType = { "Format": (str, False), "HlsConfiguration": (CompositionRecordingHlsConfiguration, False), }