CfnOfferingPropsMixin

class aws_cdk.cfn_property_mixins.aws_medialive.CfnOfferingPropsMixin(props, *, strategy=None)

Bases: Mixin

Definition of AWS::MediaLive::Offering Resource Type.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-medialive-offering.html

CloudformationResource:

AWS::MediaLive::Offering

Mixin:

true

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.cfn_property_mixins import aws_medialive as medialive
import aws_cdk as cdk

# merge_strategy: cdk.IMergeStrategy

cfn_offering_props_mixin = medialive.CfnOfferingPropsMixin(medialive.CfnOfferingMixinProps(),
    strategy=merge_strategy
)

Create a mixin to apply properties to AWS::MediaLive::Offering.

Parameters:
  • props (Union[CfnOfferingMixinProps, Dict[str, Any]]) – L1 properties to apply.

  • strategy (Optional[IMergeStrategy]) – Strategy for merging nested properties. Default: - PropertyMergeStrategy.combine()

Methods

apply_to(construct)

Apply the mixin properties to the construct.

Parameters:

construct (IConstruct)

Return type:

None

supports(construct)

Check if this mixin supports the given construct.

Parameters:

construct (IConstruct)

Return type:

bool

Attributes

CFN_PROPERTY_KEYS = []

Static Methods

classmethod is_mixin(x)

Checks if x is a Mixin.

Parameters:

x (Any) – Any object.

Return type:

bool

Returns:

true if x is an object created from a class which extends Mixin.

ReservationResourceSpecificationProperty

class CfnOfferingPropsMixin.ReservationResourceSpecificationProperty(*, channel_class=None, codec=None, maximum_bitrate=None, maximum_framerate=None, resolution=None, resource_type=None, special_feature=None, video_quality=None)

Bases: object

Resource configuration (codec, resolution, bitrate, …).

Parameters:
  • channel_class (Optional[str]) – Channel class, e.g. ‘STANDARD’.

  • codec (Optional[str]) – Codec, e.g. ‘AVC’.

  • maximum_bitrate (Optional[str]) – Maximum bitrate, e.g. ‘MAX_20_MBPS’.

  • maximum_framerate (Optional[str]) – Maximum framerate, e.g. ‘MAX_30_FPS’ (Outputs only).

  • resolution (Optional[str]) – Resolution, e.g. ‘HD’.

  • resource_type (Optional[str]) – Resource type, ‘INPUT’, ‘OUTPUT’, ‘MULTIPLEX’, or ‘CHANNEL’.

  • special_feature (Optional[str]) – Special feature, e.g. ‘AUDIO_NORMALIZATION’ (Channels only).

  • video_quality (Optional[str]) – Video quality, e.g. ‘STANDARD’ (Outputs only).

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-offering-reservationresourcespecification.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.cfn_property_mixins import aws_medialive as medialive

reservation_resource_specification_property = medialive.CfnOfferingPropsMixin.ReservationResourceSpecificationProperty(
    channel_class="channelClass",
    codec="codec",
    maximum_bitrate="maximumBitrate",
    maximum_framerate="maximumFramerate",
    resolution="resolution",
    resource_type="resourceType",
    special_feature="specialFeature",
    video_quality="videoQuality"
)

Attributes

channel_class

Channel class, e.g. ‘STANDARD’.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-offering-reservationresourcespecification.html#cfn-medialive-offering-reservationresourcespecification-channelclass

codec

Codec, e.g. ‘AVC’.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-offering-reservationresourcespecification.html#cfn-medialive-offering-reservationresourcespecification-codec

maximum_bitrate

Maximum bitrate, e.g. ‘MAX_20_MBPS’.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-offering-reservationresourcespecification.html#cfn-medialive-offering-reservationresourcespecification-maximumbitrate

maximum_framerate

Maximum framerate, e.g. ‘MAX_30_FPS’ (Outputs only).

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-offering-reservationresourcespecification.html#cfn-medialive-offering-reservationresourcespecification-maximumframerate

resolution

Resolution, e.g. ‘HD’.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-offering-reservationresourcespecification.html#cfn-medialive-offering-reservationresourcespecification-resolution

resource_type

Resource type, ‘INPUT’, ‘OUTPUT’, ‘MULTIPLEX’, or ‘CHANNEL’.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-offering-reservationresourcespecification.html#cfn-medialive-offering-reservationresourcespecification-resourcetype

special_feature

Special feature, e.g. ‘AUDIO_NORMALIZATION’ (Channels only).

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-offering-reservationresourcespecification.html#cfn-medialive-offering-reservationresourcespecification-specialfeature

video_quality

Video quality, e.g. ‘STANDARD’ (Outputs only).

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-offering-reservationresourcespecification.html#cfn-medialive-offering-reservationresourcespecification-videoquality