Interface CfnConfigurationPolicyProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnConfigurationPolicyProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-10-31T19:13:05.687Z")
@Stability(Stable)
public interface CfnConfigurationPolicyProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnConfigurationPolicy
.
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.*; CfnConfigurationPolicyProps cfnConfigurationPolicyProps = CfnConfigurationPolicyProps.builder() .configurationPolicy(PolicyProperty.builder() .securityHub(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()) .build()) .name("name") // the properties below are optional .description("description") .tags(Map.of( "tagsKey", "tags")) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnConfigurationPolicyProps
static final class
An implementation forCfnConfigurationPolicyProps
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getConfigurationPolicy
An object that defines how AWS Security Hub is configured.It 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).
- See Also:
-
getName
The name of the configuration policy.Alphanumeric characters and the following ASCII characters are permitted:
-, ., !, *, /
.- See Also:
-
getDescription
The description of the configuration policy.- See Also:
-
getTags
User-defined tags associated with a configuration policy.For more information, see Tagging AWS Security Hub resources in the Security Hub user guide .
- See Also:
-
builder
-