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:
- 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.
- event_targets
The destinations that will receive the event notifications.
- event_type
The type of event to match with the rule.
- group_identifier
An eventbridge rule template group’s identifier.
Can be either be its id or current name.
- name
A resource’s name.
Names must be unique within the scope of a resource type in a specific region.
- tags
Represents the tags associated with a resource.