java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.mixins.preview.services.organizations.events.AccountEvents
All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.121.0 (build d7af9b9)", date="2025-12-18T18:20:28.961Z") @Stability(Experimental) public class AccountEvents extends software.amazon.jsii.JsiiObject
(experimental) EventBridge event patterns for Account.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.mixins.preview.services.organizations.events.*;
 import software.amazon.awscdk.interfaces.organizations.*;
 IAccountRef accountRef;
 AccountEvents accountEvents = AccountEvents.fromAccount(accountRef);
 
  • Constructor Details

    • AccountEvents

      protected AccountEvents(software.amazon.jsii.JsiiObjectRef objRef)
    • AccountEvents

      protected AccountEvents(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
  • Method Details

    • fromAccount

      @Stability(Experimental) @NotNull public static AccountEvents fromAccount(@NotNull IAccountRef accountRef)
      (experimental) Create AccountEvents from a Account reference.

      Parameters:
      accountRef - This parameter is required.
    • awsServiceEventViaCloudTrailPattern

      @Stability(Experimental) @NotNull public EventPattern awsServiceEventViaCloudTrailPattern(@Nullable AccountEvents.AWSServiceEventViaCloudTrail.AWSServiceEventViaCloudTrailProps options)
      (experimental) EventBridge event pattern for Account AWS Service Event via CloudTrail.

      Parameters:
      options -
    • awsServiceEventViaCloudTrailPattern

      @Stability(Experimental) @NotNull public EventPattern awsServiceEventViaCloudTrailPattern()
      (experimental) EventBridge event pattern for Account AWS Service Event via CloudTrail.