Class CfnEventBridgeRuleTemplate
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.medialive.CfnEventBridgeRuleTemplate
- All Implemented Interfaces:
IInspectable,ITaggableV2,IEventBridgeRuleTemplateRef,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-24T13:34:42.159Z")
@Stability(Stable)
public class CfnEventBridgeRuleTemplate
extends CfnResource
implements IInspectable, IEventBridgeRuleTemplateRef, ITaggableV2
Definition of AWS::MediaLive::EventBridgeRuleTemplate Resource Type.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.medialive.*;
CfnEventBridgeRuleTemplate cfnEventBridgeRuleTemplate = CfnEventBridgeRuleTemplate.Builder.create(this, "MyCfnEventBridgeRuleTemplate")
.eventType("eventType")
.name("name")
// the properties below are optional
.description("description")
.eventTargets(List.of(EventBridgeRuleTemplateTargetProperty.builder()
.arn("arn")
.build()))
.groupIdentifier("groupIdentifier")
.tags(Map.of(
"tagsKey", "tags"))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnEventBridgeRuleTemplate.static interfaceThe target to which to send matching events.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.services.medialive.IEventBridgeRuleTemplateRef
IEventBridgeRuleTemplateRef.Jsii$Default, IEventBridgeRuleTemplateRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnEventBridgeRuleTemplate(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnEventBridgeRuleTemplate(software.amazon.jsii.JsiiObjectRef objRef) CfnEventBridgeRuleTemplate(software.constructs.Construct scope, String id, CfnEventBridgeRuleTemplateProps props) -
Method Summary
Modifier and TypeMethodDescriptionTarget ARNs must be either an SNS topic or CloudWatch log group.The date and time of resource creation.An eventbridge rule template group's id.An eventbridge rule template's id.Placeholder documentation for __string.The date and time of latest resource modification.Tag Manager which manages the tags for this resource.A resource's optional description.A reference to a EventBridgeRuleTemplate resource.The destinations that will receive the event notifications.The type of event to match with the rule.An eventbridge rule template group's identifier.getName()A resource's name.getTags()Represents the tags associated with a resource.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetDescription(String value) A resource's optional description.voidsetEventTargets(List<Object> value) The destinations that will receive the event notifications.voidsetEventTargets(IResolvable value) The destinations that will receive the event notifications.voidsetEventType(String value) The type of event to match with the rule.voidsetGroupIdentifier(String value) An eventbridge rule template group's identifier.voidA resource's name.voidRepresents the tags associated with a resource.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnEventBridgeRuleTemplate
protected CfnEventBridgeRuleTemplate(software.amazon.jsii.JsiiObjectRef objRef) -
CfnEventBridgeRuleTemplate
protected CfnEventBridgeRuleTemplate(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnEventBridgeRuleTemplate
@Stability(Stable) public CfnEventBridgeRuleTemplate(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnEventBridgeRuleTemplateProps props) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties. This parameter is required.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrArn
Target ARNs must be either an SNS topic or CloudWatch log group. -
getAttrCreatedAt
The date and time of resource creation. -
getAttrGroupId
An eventbridge rule template group's id.Amazon Web Services provided template groups have ids that start with
.aws- -
getAttrId
An eventbridge rule template's id.Amazon Web Services provided templates have ids that start with
aws- -
getAttrIdentifier
Placeholder documentation for __string. -
getAttrModifiedAt
The date and time of latest resource modification. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getEventBridgeRuleTemplateRef
A reference to a EventBridgeRuleTemplate resource.- Specified by:
getEventBridgeRuleTemplateRefin interfaceIEventBridgeRuleTemplateRef
-
getEventType
The type of event to match with the rule. -
setEventType
The type of event to match with the rule. -
getName
A resource's name. -
setName
A resource's name. -
getDescription
A resource's optional description. -
setDescription
A resource's optional description. -
getEventTargets
The destinations that will receive the event notifications.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnEventBridgeRuleTemplate.EventBridgeRuleTemplateTargetProperty> -
setEventTargets
The destinations that will receive the event notifications. -
setEventTargets
The destinations that will receive the event notifications. -
getGroupIdentifier
An eventbridge rule template group's identifier. -
setGroupIdentifier
An eventbridge rule template group's identifier. -
getTags
Represents the tags associated with a resource. -
setTags
Represents the tags associated with a resource.
-