CfnEventBridgeRuleTemplatePropsMixin
- class aws_cdk.mixins_preview.aws_medialive.mixins.CfnEventBridgeRuleTemplatePropsMixin(props, *, strategy=None)
Bases:
MixinDefinition of AWS::MediaLive::EventBridgeRuleTemplate Resource Type.
- See:
- 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:
props (
Union[CfnEventBridgeRuleTemplateMixinProps,Dict[str,Any]]) – L1 properties to apply.strategy (
Optional[PropertyMergeStrategy]) – (experimental) Strategy for merging nested properties. Default: - PropertyMergeStrategy.MERGE
Methods
- apply_to(construct)
Apply the mixin properties to the construct.
- Parameters:
construct (
IConstruct)- Return type:
- 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
xis a Mixin.- Parameters:
x (
Any) – Any object.- Return type:
bool- Returns:
true if
xis an object created from a class which extendsMixin.- Stability:
experimental
EventBridgeRuleTemplateTargetProperty
- class CfnEventBridgeRuleTemplatePropsMixin.EventBridgeRuleTemplateTargetProperty(*, arn=None)
Bases:
objectThe target to which to send matching events.
- Parameters:
arn (
Optional[str]) – Target ARNs must be either an SNS topic or CloudWatch log group.- 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.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.