Interface CfnCisScanConfigurationProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCisScanConfigurationProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.98.0 (build 00b106d)",
date="2024-05-08T21:35:08.278Z")
@Stability(Stable)
public interface CfnCisScanConfigurationProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnCisScanConfiguration
.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.inspectorv2.*; Object oneTime; CfnCisScanConfigurationProps cfnCisScanConfigurationProps = CfnCisScanConfigurationProps.builder() .scanName("scanName") .schedule(ScheduleProperty.builder() .daily(DailyScheduleProperty.builder() .startTime(TimeProperty.builder() .timeOfDay("timeOfDay") .timeZone("timeZone") .build()) .build()) .monthly(MonthlyScheduleProperty.builder() .day("day") .startTime(TimeProperty.builder() .timeOfDay("timeOfDay") .timeZone("timeZone") .build()) .build()) .oneTime(oneTime) .weekly(WeeklyScheduleProperty.builder() .days(List.of("days")) .startTime(TimeProperty.builder() .timeOfDay("timeOfDay") .timeZone("timeZone") .build()) .build()) .build()) .securityLevel("securityLevel") .tags(Map.of( "tagsKey", "tags")) .targets(CisTargetsProperty.builder() .accountIds(List.of("accountIds")) // the properties below are optional .targetResourceTags(Map.of( "targetResourceTagsKey", List.of("targetResourceTags"))) .build()) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnCisScanConfigurationProps
static final class
An implementation forCfnCisScanConfigurationProps
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default String
The name of the CIS scan configuration.default Object
The CIS scan configuration's schedule.default String
The CIS scan configuration's CIS Benchmark level.getTags()
The CIS scan configuration's tags.default Object
The CIS scan configuration's targets.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getScanName
The name of the CIS scan configuration.- See Also:
-
getSchedule
The CIS scan configuration's schedule.- See Also:
-
getSecurityLevel
The CIS scan configuration's CIS Benchmark level.- See Also:
-
getTags
The CIS scan configuration's tags.- See Also:
-
getTargets
The CIS scan configuration's targets.- See Also:
-
builder
-