Annotation Interface SecurityProfileConfiguration


@Target(FIELD) @Retention(RUNTIME) public @interface SecurityProfileConfiguration
Annotation to extract specific values from SecurityProfileConfiguration.

Example usage:

@SecurityProfileConfiguration("wafEnabled")
private boolean wafEnabled;

@SecurityProfileConfiguration("encryptionEnabled")
private boolean encryptionEnabled;

@SecurityProfileConfiguration("logRetentionDays")
private int logRetentionDays;
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The property name to extract from SecurityProfileConfiguration.
  • Element Details

    • value

      String value
      The property name to extract from SecurityProfileConfiguration. Valid values include: wafEnabled, encryptionEnabled, flowLogsEnabled, accessLogsEnabled, sshEnabled, publicAccessEnabled, logRetentionDays, backupEnabled, multiAzEnabled, vpcFlowLogsEnabled, etc.
      Returns:
      the property name to extract
      Default:
      ""