Interface CfnConfigurationPolicy.SecurityHubPolicyProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnConfigurationPolicy.SecurityHubPolicyProperty.Jsii$Proxy
- Enclosing class:
CfnConfigurationPolicy
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:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnConfigurationPolicy.SecurityHubPolicyProperty
static final class
An implementation forCfnConfigurationPolicy.SecurityHubPolicyProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
A list that defines which security standards are enabled in the configuration policy.default Object
An object that defines which security controls are enabled in the configuration policy.default Object
Indicates whether Security Hub is enabled in the policy.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEnabledStandardIdentifiers
A list that defines which security standards are enabled in the configuration policy.This property is required only if
ServiceEnabled
is set totrue
in your configuration policy.- See Also:
-
getSecurityControlsConfiguration
An object that defines which security controls are enabled in the configuration policy.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.- See Also:
-
getServiceEnabled
Indicates whether Security Hub is enabled in the policy.- See Also:
-
builder
-