CfnEventBridgeRuleTemplateProps

class aws_cdk.aws_medialive.CfnEventBridgeRuleTemplateProps(*, event_type, group_identifier, name, description=None, event_targets=None, tags=None)

Bases: object

Properties for defining a CfnEventBridgeRuleTemplate.

Parameters:
  • event_type (str) – The type of event to match with the rule.

  • group_identifier (str) – An eventbridge rule template group’s identifier. Can be either be its id or current name.

  • name (str) – A resource’s name. Names must be unique within the scope of a resource type in a specific region.

  • description (Optional[str]) – A resource’s optional description.

  • event_targets (Union[IResolvable, Sequence[Union[IResolvable, EventBridgeRuleTemplateTargetProperty, Dict[str, Any]]], None]) – The destinations that will receive the event notifications.

  • tags (Optional[Mapping[str, str]]) – Represents the tags associated with a resource.

See:

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

cfn_event_bridge_rule_template_props = medialive.CfnEventBridgeRuleTemplateProps(
    event_type="eventType",
    group_identifier="groupIdentifier",
    name="name",

    # the properties below are optional
    description="description",
    event_targets=[medialive.CfnEventBridgeRuleTemplate.EventBridgeRuleTemplateTargetProperty(
        arn="arn"
    )],
    tags={
        "tags_key": "tags"
    }
)

Attributes

description

A resource’s optional description.

See:

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

event_targets

The destinations that will receive the event notifications.

See:

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

event_type

The type of event to match with the rule.

See:

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

group_identifier

An eventbridge rule template group’s identifier.

Can be either be its id or current name.

See:

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

name

A resource’s name.

Names must be unique within the scope of a resource type in a specific region.

See:

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

tags

Represents the tags associated with a resource.

See:

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