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 Summary
Modifier and TypeMethodDescriptionbuild()
static CfnSession.Builder
findingPublishingFrequency
(String findingPublishingFrequency) Specifies how often Amazon Macie publishes updates to policy findings for the account.The status of Amazon Macie for the account.
-
Method Details
-
create
@Stability(Stable) public static CfnSession.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). 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
Default: - "SIX_HOURS"
- Parameters:
findingPublishingFrequency
- Specifies how often Amazon Macie publishes updates to policy findings for the account. This parameter is required.- Returns:
this
- See Also:
-
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.Default: - "ENABLED"
- Parameters:
status
- The status of Amazon Macie for the account. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnSession>
- Returns:
- a newly built instance of
CfnSession
.
-