Class CfnCisScanConfiguration.Builder
java.lang.Object
software.amazon.awscdk.services.inspectorv2.CfnCisScanConfiguration.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCisScanConfiguration>
- Enclosing class:
CfnCisScanConfiguration
@Stability(Stable)
public static final class CfnCisScanConfiguration.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCisScanConfiguration>
A fluent builder for
CfnCisScanConfiguration
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
The name of the CIS scan configuration.schedule
(IResolvable schedule) The CIS scan configuration's schedule.The CIS scan configuration's schedule.securityLevel
(String securityLevel) The CIS scan configuration's CIS Benchmark level.The CIS scan configuration's tags.targets
(IResolvable targets) The CIS scan configuration's targets.The CIS scan configuration's targets.
-
Method Details
-
create
@Stability(Stable) public static CfnCisScanConfiguration.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
CfnCisScanConfiguration.Builder
.
-
scanName
The name of the CIS scan configuration.- Parameters:
scanName
- The name of the CIS scan configuration. This parameter is required.- Returns:
this
- See Also:
-
schedule
The CIS scan configuration's schedule.- Parameters:
schedule
- The CIS scan configuration's schedule. This parameter is required.- Returns:
this
- See Also:
-
schedule
@Stability(Stable) public CfnCisScanConfiguration.Builder schedule(CfnCisScanConfiguration.ScheduleProperty schedule) The CIS scan configuration's schedule.- Parameters:
schedule
- The CIS scan configuration's schedule. This parameter is required.- Returns:
this
- See Also:
-
securityLevel
The CIS scan configuration's CIS Benchmark level.- Parameters:
securityLevel
- The CIS scan configuration's CIS Benchmark level. This parameter is required.- Returns:
this
- See Also:
-
targets
The CIS scan configuration's targets.- Parameters:
targets
- The CIS scan configuration's targets. This parameter is required.- Returns:
this
- See Also:
-
targets
@Stability(Stable) public CfnCisScanConfiguration.Builder targets(CfnCisScanConfiguration.CisTargetsProperty targets) The CIS scan configuration's targets.- Parameters:
targets
- The CIS scan configuration's targets. This parameter is required.- Returns:
this
- See Also:
-
tags
The CIS scan configuration's tags.- Parameters:
tags
- The CIS scan configuration's tags. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnCisScanConfiguration>
- Returns:
- a newly built instance of
CfnCisScanConfiguration
.
-