Skip to content
v2.274.0

CfnEventBridgeRuleTemplateProps Struct ​

Properties for defining a CfnEventBridgeRuleTemplate.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_medialive as medialive } from 'aws-cdk-lib';
const cfnEventBridgeRuleTemplateProps: medialive.CfnEventBridgeRuleTemplateProps = {
  eventType: 'eventType',
  name: 'name',

  // the properties below are optional
  description: 'description',
  eventTargets: [{
    arn: 'arn',
  }],
  groupIdentifier: 'groupIdentifier',
  tags: {
    tagsKey: 'tags',
  },
};

Properties ​

descriptionstringdescriptionstrdescriptionStringDescriptionstringDescription*string#
A resource's optional description.
eventTargetsIResolvable | IResolvable | CfnEventBridgeRuleTemplate.EventBridgeRuleTemplateTargetProperty[]event_targetstyping.Union[IResolvable, typing.List[typing.Union[IResolvable, EventBridgeRuleTemplateTargetProperty]]]eventTargetsIResolvableEventTargetsIResolvableEventTargetsinterface{}#
The destinations that will receive the event notifications.
eventTypestringevent_typestreventTypeStringEventTypestringEventType*stringrequired#
The type of event to match with the rule.
groupIdentifierstringgroup_identifierstrgroupIdentifierStringGroupIdentifierstringGroupIdentifier*string#
An eventbridge rule template group's identifier.

Can be either be its id or current name.

namestringnamestrnameStringNamestringName*stringrequired#
A resource's name.

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

tags{ [key: string]: string }tagstyping.Mapping[str, str]tagsMap<String, String>TagsIDictionary<string, string>Tags*map[string]*string#
Represents the tags associated with a resource.