CfnEventBridgeRuleTemplatePropsMixin

class aws_cdk.mixins_preview.aws_medialive.mixins.CfnEventBridgeRuleTemplatePropsMixin(props, *, strategy=None)

Bases: Mixin

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

See:

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

CloudformationResource:

AWS::MediaLive::EventBridgeRuleTemplate

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.mixins_preview import mixins
from aws_cdk.mixins_preview.aws_medialive import mixins as medialive_mixins

cfn_event_bridge_rule_template_props_mixin = medialive_mixins.CfnEventBridgeRuleTemplatePropsMixin(medialive_mixins.CfnEventBridgeRuleTemplateMixinProps(
    description="description",
    event_targets=[medialive_mixins.CfnEventBridgeRuleTemplatePropsMixin.EventBridgeRuleTemplateTargetProperty(
        arn="arn"
    )],
    event_type="eventType",
    group_identifier="groupIdentifier",
    name="name",
    tags={
        "tags_key": "tags"
    }
),
    strategy=mixins.PropertyMergeStrategy.OVERRIDE
)

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

Parameters:

Methods

apply_to(construct)

Apply the mixin properties to the construct.

Parameters:

construct (IConstruct)

Return type:

IConstruct

supports(construct)

Check if this mixin supports the given construct.

Parameters:

construct (IConstruct)

Return type:

bool

Attributes

CFN_PROPERTY_KEYS = ['description', 'eventTargets', 'eventType', 'groupIdentifier', 'name', 'tags']

Static Methods

classmethod is_mixin(x)

(experimental) 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.

Stability:

experimental

EventBridgeRuleTemplateTargetProperty

class CfnEventBridgeRuleTemplatePropsMixin.EventBridgeRuleTemplateTargetProperty(*, arn=None)

Bases: object

The target to which to send matching events.

Parameters:

arn (Optional[str]) – Target ARNs must be either an SNS topic or CloudWatch log group.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-eventbridgeruletemplate-eventbridgeruletemplatetarget.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.mixins_preview.aws_medialive import mixins as medialive_mixins

event_bridge_rule_template_target_property = medialive_mixins.CfnEventBridgeRuleTemplatePropsMixin.EventBridgeRuleTemplateTargetProperty(
    arn="arn"
)

Attributes

arn

Target ARNs must be either an SNS topic or CloudWatch log group.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-eventbridgeruletemplate-eventbridgeruletemplatetarget.html#cfn-medialive-eventbridgeruletemplate-eventbridgeruletemplatetarget-arn