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,IEnvironmentAware,ICisScanConfigurationRef,ITaggableV2,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-13T16:10:07.334Z")
@Stability(Stable)
public class CfnCisScanConfiguration
extends CfnResource
implements IInspectable, ICisScanConfigurationRef, 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 classA fluent builder forCfnCisScanConfiguration.static interfaceThe CIS targets.static interfaceA daily schedule.static interfaceA monthly schedule.static interfaceThe schedule the CIS scan configuration runs on.static interfaceThe time.static interfaceA weekly schedule.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.inspectorv2.ICisScanConfigurationRef
ICisScanConfigurationRef.Jsii$Default, ICisScanConfigurationRef.Jsii$ProxyNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnCisScanConfiguration(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnCisScanConfiguration(software.amazon.jsii.JsiiObjectRef objRef) CfnCisScanConfiguration(software.constructs.Construct scope, String id, CfnCisScanConfigurationProps props) Create a newAWS::InspectorV2::CisScanConfiguration. -
Method Summary
Modifier and TypeMethodDescriptionThe CIS scan configuration's scan configuration ARN.Tag Manager which manages the tags for this resource.A reference to a CisScanConfiguration 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.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetScanName(String value) The name of the CIS scan configuration.voidsetSchedule(IResolvable value) The CIS scan configuration's schedule.voidThe CIS scan configuration's schedule.voidsetSecurityLevel(String value) The CIS scan configuration's CIS Benchmark level.voidThe CIS scan configuration's tags.voidsetTargets(IResolvable value) The CIS scan configuration's targets.voidThe 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, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods 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) Create a newAWS::InspectorV2::CisScanConfiguration.- 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:
inspectin 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:
renderPropertiesin 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:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getCisScanConfigurationRef
A reference to a CisScanConfiguration resource.- Specified by:
getCisScanConfigurationRefin interfaceICisScanConfigurationRef
-
getScanName
The name of the CIS scan configuration. -
setScanName
The name of the CIS scan configuration. -
getSchedule
The CIS scan configuration's schedule.Returns union: either
IResolvableorCfnCisScanConfiguration.ScheduleProperty -
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.Returns union: either
IResolvableorCfnCisScanConfiguration.CisTargetsProperty -
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.
-