Rule

class Rule : KotlinCustomResource

Resource Type definition for AWS::Events::Rule

Example Usage

Example

No Java example available.

Properties

Link copied to clipboard
val arn: Output<String>

The ARN of the rule, such as arn:aws:events:us-east-2:123456789012:rule/example.

Link copied to clipboard
val description: Output<String>?

The description of the rule.

Link copied to clipboard
val eventBusName: Output<String>?

The name or ARN of the event bus associated with the rule. If you omit this, the default event bus is used.

Link copied to clipboard
val eventPattern: Output<Any>?

The event pattern of the rule. For more information, see Events and Event Patterns in the Amazon EventBridge User Guide. Search the CloudFormation User Guide for AWS::Events::Rule for more information about the expected schema for this property.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val name: Output<String>?

The name of the rule.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val roleArn: Output<String>?

The Amazon Resource Name (ARN) of the role that is used for target invocation.

Link copied to clipboard

The scheduling expression. For example, "cron(0 20 * * ? *)", "rate(5 minutes)". For more information, see Creating an Amazon EventBridge rule that runs on a schedule.

Link copied to clipboard
val state: Output<RuleState>?

The state of the rule.

Link copied to clipboard
val targets: Output<List<RuleTarget>>?

Adds the specified targets to the specified rule, or updates the targets if they are already associated with the rule. Targets are the resources that are invoked when a rule is triggered.

Link copied to clipboard
val urn: Output<String>