Class AccountAuditConfiguration

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.Resource
software.amazon.awscdk.services.iot.alpha.AccountAuditConfiguration
All Implemented Interfaces:
IResource, IAccountAuditConfiguration, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.106.0 (build e852934)", date="2025-03-04T22:57:35.407Z") @Stability(Experimental) public class AccountAuditConfiguration extends Resource implements IAccountAuditConfiguration
(experimental) Defines AWS IoT Audit Configuration.

Example:

 // Audit notification are sent to the SNS topic
 ITopic targetTopic;
 AccountAuditConfiguration.Builder.create(this, "AuditConfiguration")
         .targetTopic(targetTopic)
         .build();
 
  • Constructor Details

    • AccountAuditConfiguration

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

      protected AccountAuditConfiguration(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • AccountAuditConfiguration

      @Stability(Experimental) public AccountAuditConfiguration(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable AccountAuditConfigurationProps props)
      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      props -
    • AccountAuditConfiguration

      @Stability(Experimental) public AccountAuditConfiguration(@NotNull software.constructs.Construct scope, @NotNull String id)
      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
  • Method Details

    • fromAccountId

      @Stability(Experimental) @NotNull public static IAccountAuditConfiguration fromAccountId(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String accountId)
      (experimental) Import an existing AWS IoT Audit Configuration.

      Parameters:
      scope - The parent creating construct (usually this). This parameter is required.
      id - The construct's name. This parameter is required.
      accountId - The account ID. This parameter is required.
    • getAccountId

      @Stability(Experimental) @NotNull public String getAccountId()
      (experimental) The account ID.
      Specified by:
      getAccountId in interface IAccountAuditConfiguration