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
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-22T02:24:04.598Z")
@Stability(Stable)
public class CfnEventBridgeRuleTemplate
extends CfnResource
implements IInspectable, 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") .groupIdentifier("groupIdentifier") .name("name") // the properties below are optional .description("description") .eventTargets(List.of(EventBridgeRuleTemplateTargetProperty.builder() .arn("arn") .build())) .tags(Map.of( "tagsKey", "tags")) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
A fluent builder forCfnEventBridgeRuleTemplate
.static interface
The target to which to send matching events.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ModifierConstructorDescriptionprotected
CfnEventBridgeRuleTemplate
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnEventBridgeRuleTemplate
(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.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.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
setDescription
(String value) A resource's optional description.void
setEventTargets
(List<Object> value) The destinations that will receive the event notifications.void
setEventTargets
(IResolvable value) The destinations that will receive the event notifications.void
setEventType
(String value) The type of event to match with the rule.void
setGroupIdentifier
(String value) An eventbridge rule template group's identifier.void
A resource's name.void
Represents 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, validateProperties
Methods inherited from class software.amazon.awscdk.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.constructs.Construct
getNode, isConstruct
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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:
inspect
in 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:
renderProperties
in 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:
getCdkTagManager
in interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnProperties
in classCfnResource
-
getEventType
The type of event to match with the rule. -
setEventType
The type of event to match with the rule. -
getGroupIdentifier
An eventbridge rule template group's identifier. -
setGroupIdentifier
An eventbridge rule template group's identifier. -
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. -
setEventTargets
The destinations that will receive the event notifications. -
setEventTargets
The destinations that will receive the event notifications. -
getTags
Represents the tags associated with a resource. -
setTags
Represents the tags associated with a resource.
-