Class CfnSession.Builder

java.lang.Object
software.amazon.awscdk.services.macie.CfnSession.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSession>
Enclosing class:
CfnSession

@Stability(Stable) public static final class CfnSession.Builder extends Object implements software.amazon.jsii.Builder<CfnSession>
A fluent builder for CfnSession.
  • Method Details

    • create

      @Stability(Stable) public static CfnSession.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnSession.Builder.
    • findingPublishingFrequency

      @Stability(Stable) public CfnSession.Builder findingPublishingFrequency(String findingPublishingFrequency)
      Specifies how often Amazon Macie publishes updates to policy findings for the account.

      This includes publishing updates to AWS Security Hub and Amazon EventBridge (formerly Amazon CloudWatch Events ). Valid values are:

      • FIFTEEN_MINUTES
      • ONE_HOUR
      • SIX_HOURS

      Parameters:
      findingPublishingFrequency - Specifies how often Amazon Macie publishes updates to policy findings for the account. This parameter is required.
      Returns:
      this
    • status

      @Stability(Stable) public CfnSession.Builder status(String status)
      The status of Amazon Macie for the account.

      Valid values are: ENABLED , start or resume all Macie activities for the account; and, PAUSED , suspend all Macie activities for the account.

      Parameters:
      status - The status of Amazon Macie for the account. This parameter is required.
      Returns:
      this
    • build

      @Stability(Stable) public CfnSession build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnSession>
      Returns:
      a newly built instance of CfnSession.