EventRuleState constructor

const EventRuleState({
  1. Input<String?>? arn,
  2. Input<String?>? description,
  3. Input<String?>? eventBusName,
  4. Input<String?>? eventPattern,
  5. Input<bool?>? forceDestroy,
  6. Input<bool?>? isEnabled,
  7. Input<String?>? name,
  8. Input<String?>? namePrefix,
  9. Input<String?>? region,
  10. Input<String?>? roleArn,
  11. Input<String?>? scheduleExpression,
  12. Input<String?>? state,
  13. Input<Map<String, String>?>? tags,
  14. Input<Map<String, String>?>? tagsAll,
})

Creates a new EventRuleState. arn ARN of the rule. description The description of the rule. eventBusName The name or ARN of the event bus to associate with this rule. If you omit this, the default event bus is used. eventPattern The event pattern described a JSON object. At least one of scheduleExpression or eventPattern is required. See full documentation of Events and Event Patterns in EventBridge for details. Note: The event pattern size is 2048 by default but it is adjustable up to 4096 characters by submitting a service quota increase request. See Amazon EventBridge quotas for details. forceDestroy Used to delete managed rules created by AWS. Defaults to false. isEnabled Whether the rule should be enabled. Defaults to true. Conflicts with state. name The name of the rule. If omitted, this provider will assign a random, unique name. Conflicts with namePrefix. namePrefix Creates a unique name beginning with the specified prefix. Conflicts with name. Note: Due to the length of the generated suffix, must be 38 characters or less. region Region where this resource will be managed. Defaults to the Region set in the provider configuration. roleArn ARN associated with the role that is used for target invocation. scheduleExpression The scheduling expression. For example, cron(0 20 * * ? *) or rate(5 minutes). At least one of scheduleExpression or eventPattern is required. Can only be used on the default event bus. For more information, refer to the AWS documentation Schedule Expressions for Rules. state State of the rule. Valid values are DISABLED, ENABLED, and ENABLED_WITH_ALL_CLOUDTRAIL_MANAGEMENT_EVENTS. When state is ENABLED, the rule is enabled for all events except those delivered by CloudTrail. To also enable the rule for events delivered by CloudTrail, set state to ENABLED_WITH_ALL_CLOUDTRAIL_MANAGEMENT_EVENTS. Defaults to ENABLED. Conflicts with isEnabled. tags A map of tags to assign to the resource. .If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level. tagsAll A map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.

Implementation

const EventRuleState({
  this.arn,
  this.description,
  this.eventBusName,
  this.eventPattern,
  this.forceDestroy,
  this.isEnabled,
  this.name,
  this.namePrefix,
  this.region,
  this.roleArn,
  this.scheduleExpression,
  this.state,
  this.tags,
  this.tagsAll,
});