An Event Rule in Oracle Cloud Infrastructure (OCI) is used to detect specific events within your tenancy and trigger automated actions in response. It listens for events from OCI services, such as resource changes or lifecycle state updates, and routes them to defined targets like Functions, Notifications, or Streaming. This enables event-driven automation, allowing you to respond quickly to changes without manual intervention. Event Rules help streamline operations, enforce governance, and integrate OCI services with external systems.

oci.events_rule

Fields

TitleIDTypeData TypeDescription
_keycorestring
actionscorejsonThe value to assign to the actions property of this Rule.
cloud_account_idcorestringThe identifier of the related cloud account. The concept of an account might have different names in different cloud providers. AWS is calling it account, GCP calls it project and Azure uses the term subscription.
cloud_account_namecorestringThe name of the account this resource belongs to.
cloud_providercorestringThe name of the cloud provider.
cloud_tagscorehstore
compartment_idcorestringThe value to assign to the compartment_id property of this Rule.
conditioncorestringThe value to assign to the condition property of this Rule.
created_atcoretimestampTime when the resource has been created.
descriptioncorestringThe value to assign to the description property of this Rule.
freeform_tagscorehstoreThe value to assign to the freeform_tags property of this Rule.
idcorestringThe value to assign to the id property of this Rule.
is_enabledcoreboolThe value to assign to the is_enabled property of this Rule.
lifecycle_messagecorestringThe value to assign to the lifecycle_message property of this Rule.
lifecycle_statecorestringThe value to assign to the lifecycle_state property of this Rule. Allowed values for this property are: "CREATING", "ACTIVE", "INACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
namecorestringThe name of this resource.
region_idcorestringThe region this resource resides within.
resource_typecorestringThe name of the resource type.
tagscorehstore_csv
time_createdcoretimestampThe value to assign to the time_created property of this Rule.
updated_atcoretimestampTime when the resource has been updated the last time.
zone_idcorestringThe zone this resource resides within.