CfnCloudWatchAlarmTemplatePropsMixin

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

Bases: Mixin

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

See:

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

CloudformationResource:

AWS::MediaLive::CloudWatchAlarmTemplate

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_cloud_watch_alarm_template_props_mixin = medialive.CfnCloudWatchAlarmTemplatePropsMixin(medialive.CfnCloudWatchAlarmTemplateMixinProps(
    comparison_operator="comparisonOperator",
    datapoints_to_alarm=123,
    description="description",
    evaluation_periods=123,
    group_identifier="groupIdentifier",
    metric_name="metricName",
    name="name",
    period=123,
    statistic="statistic",
    tags={
        "tags_key": "tags"
    },
    target_resource_type="targetResourceType",
    threshold=123,
    treat_missing_data="treatMissingData"
),
    strategy=merge_strategy
)

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

Parameters:

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 = ['comparisonOperator', 'datapointsToAlarm', 'description', 'evaluationPeriods', 'groupIdentifier', 'metricName', 'name', 'period', 'statistic', 'tags', 'targetResourceType', 'threshold', 'treatMissingData']

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.