Class CfnCisScanConfiguration
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.inspectorv2.CfnCisScanConfiguration
- All Implemented Interfaces:
IInspectable
,ITaggableV2
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.106.0 (build e852934)",
date="2025-02-12T12:32:04.054Z")
@Stability(Stable)
public class CfnCisScanConfiguration
extends CfnResource
implements IInspectable, ITaggableV2
The CIS scan configuration.
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; CfnCisScanConfiguration cfnCisScanConfiguration = CfnCisScanConfiguration.Builder.create(this, "MyCfnCisScanConfiguration") .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") .targets(CisTargetsProperty.builder() .accountIds(List.of("accountIds")) .targetResourceTags(Map.of( "targetResourceTagsKey", List.of("targetResourceTags"))) .build()) // the properties below are optional .tags(Map.of( "tagsKey", "tags")) .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
A fluent builder forCfnCisScanConfiguration
.static interface
The CIS targets.static interface
A daily schedule.static interface
A monthly schedule.static interface
The schedule the CIS scan configuration runs on.static interface
The time.static interface
A weekly schedule.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
CfnCisScanConfiguration
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnCisScanConfiguration
(software.amazon.jsii.JsiiObjectRef objRef) CfnCisScanConfiguration
(software.constructs.Construct scope, String id, CfnCisScanConfigurationProps props) -
Method Summary
Modifier and TypeMethodDescriptionThe CIS scan configuration's scan configuration ARN.Tag Manager which manages the tags for this resource.The name of the CIS scan configuration.The CIS scan configuration's schedule.The CIS scan configuration's CIS Benchmark level.getTags()
The CIS scan configuration's tags.The CIS scan configuration's targets.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
setScanName
(String value) The name of the CIS scan configuration.void
setSchedule
(IResolvable value) The CIS scan configuration's schedule.void
The CIS scan configuration's schedule.void
setSecurityLevel
(String value) The CIS scan configuration's CIS Benchmark level.void
The CIS scan configuration's tags.void
setTargets
(IResolvable value) The CIS scan configuration's targets.void
The CIS scan configuration's targets.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validateProperties
Methods inherited from class software.amazon.awscdk.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.constructs.Construct
getNode, isConstruct
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnCisScanConfiguration
protected CfnCisScanConfiguration(software.amazon.jsii.JsiiObjectRef objRef) -
CfnCisScanConfiguration
protected CfnCisScanConfiguration(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnCisScanConfiguration
@Stability(Stable) public CfnCisScanConfiguration(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnCisScanConfigurationProps props) - 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.props
- Resource properties. This parameter is required.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspect
in interfaceIInspectable
- Parameters:
inspector
- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderProperties
in classCfnResource
- Parameters:
props
- This parameter is required.
-
getAttrArn
The CIS scan configuration's scan configuration ARN. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManager
in interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnProperties
in classCfnResource
-
getScanName
The name of the CIS scan configuration. -
setScanName
The name of the CIS scan configuration. -
getSchedule
The CIS scan configuration's schedule. -
setSchedule
The CIS scan configuration's schedule. -
setSchedule
The CIS scan configuration's schedule. -
getSecurityLevel
The CIS scan configuration's CIS Benchmark level. -
setSecurityLevel
The CIS scan configuration's CIS Benchmark level. -
getTargets
The CIS scan configuration's targets. -
setTargets
The CIS scan configuration's targets. -
setTargets
@Stability(Stable) public void setTargets(@NotNull CfnCisScanConfiguration.CisTargetsProperty value) The CIS scan configuration's targets. -
getTags
The CIS scan configuration's tags. -
setTags
The CIS scan configuration's tags.
-