Interface CfnConfigurationPolicy.SecurityHubPolicyProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnConfigurationPolicy.SecurityHubPolicyProperty.Jsii$Proxy
Enclosing class:
CfnConfigurationPolicy

@Stability(Stable) public static interface CfnConfigurationPolicy.SecurityHubPolicyProperty extends software.amazon.jsii.JsiiSerializable
An object that defines how AWS Security Hub is configured.

The configuration policy includes whether Security Hub is enabled or disabled, a list of enabled security standards, a list of enabled or disabled security controls, and a list of custom parameter values for specified controls. If you provide a list of security controls that are enabled in the configuration policy, Security Hub disables all other controls (including newly released controls). If you provide a list of security controls that are disabled in the configuration policy, Security Hub enables all other controls (including newly released controls).

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.*;
 SecurityHubPolicyProperty securityHubPolicyProperty = SecurityHubPolicyProperty.builder()
         .enabledStandardIdentifiers(List.of("enabledStandardIdentifiers"))
         .securityControlsConfiguration(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())
         .serviceEnabled(false)
         .build();
 

See Also: