Interface CfnConfigurationPolicy.SecurityControlsConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnConfigurationPolicy.SecurityControlsConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnConfigurationPolicy
The enablement status of a control is aligned across all of the enabled standards in an account.
This property is required only if ServiceEnabled is set to true in your configuration policy.
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.securityhub.*;
SecurityControlsConfigurationProperty securityControlsConfigurationProperty = SecurityControlsConfigurationProperty.builder()
.disabledSecurityControlIdentifiers(List.of("disabledSecurityControlIdentifiers"))
.enabledSecurityControlIdentifiers(List.of("enabledSecurityControlIdentifiers"))
.securityControlCustomParameters(List.of(SecurityControlCustomParameterProperty.builder()
.parameters(Map.of(
"parametersKey", ParameterConfigurationProperty.builder()
.valueType("valueType")
// the properties below are optional
.value(ParameterValueProperty.builder()
.boolean(false)
.double(123)
.enum("enum")
.enumList(List.of("enumList"))
.integer(123)
.integerList(List.of(123))
.string("string")
.stringList(List.of("stringList"))
.build())
.build()))
.securityControlId("securityControlId")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnConfigurationPolicy.SecurityControlsConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()A list of security controls that are disabled in the configuration policy.A list of security controls that are enabled in the configuration policy.default ObjectA list of security controls and control parameter values that are included in a configuration policy.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDisabledSecurityControlIdentifiers
A list of security controls that are disabled in the configuration policy.Provide only one of
EnabledSecurityControlIdentifiersorDisabledSecurityControlIdentifiers.If you provide
DisabledSecurityControlIdentifiers, Security Hub enables all other controls not in the list, and enables AutoEnableControls .- See Also:
-
getEnabledSecurityControlIdentifiers
A list of security controls that are enabled in the configuration policy.Provide only one of
EnabledSecurityControlIdentifiersorDisabledSecurityControlIdentifiers.If you provide
EnabledSecurityControlIdentifiers, Security Hub disables all other controls not in the list, and disables AutoEnableControls .- See Also:
-
getSecurityControlCustomParameters
A list of security controls and control parameter values that are included in a configuration policy.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnConfigurationPolicy.SecurityControlCustomParameterProperty>- See Also:
-
builder
@Stability(Stable) static CfnConfigurationPolicy.SecurityControlsConfigurationProperty.Builder builder()
-