Class CfnSecurityControl
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.securityhub.CfnSecurityControl
- All Implemented Interfaces:
IInspectable
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-12-11T23:26:41.316Z")
@Stability(Stable)
public class CfnSecurityControl
extends CfnResource
implements IInspectable
The
AWS::SecurityHub::SecurityControl
resource specifies custom parameter values for an AWS Security Hub control.
For a list of controls that support custom parameters, see Security Hub controls reference . You can also use this resource to specify the use of default parameter values for a control. For more information about custom parameters, see Custom control parameters in the AWS Security Hub User Guide .
Tags aren't supported for this resource.
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.*; CfnSecurityControl cfnSecurityControl = CfnSecurityControl.Builder.create(this, "MyCfnSecurityControl") .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())) // the properties below are optional .lastUpdateReason("lastUpdateReason") .securityControlArn("securityControlArn") .securityControlId("securityControlId") .build();
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
A fluent builder forCfnSecurityControl
.static interface
An object that provides the current value of a security control parameter and identifies whether it has been customized.static interface
An object that includes the data type of a security control parameter and its current value.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ModifierConstructorDescriptionprotected
CfnSecurityControl
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnSecurityControl
(software.amazon.jsii.JsiiObjectRef objRef) CfnSecurityControl
(software.constructs.Construct scope, String id, CfnSecurityControlProps props) -
Method Summary
Modifier and TypeMethodDescriptionThe most recent reason for updating the customizable properties of a security control.An object that identifies the name of a control parameter, its current value, and whether it has been customized.The Amazon Resource Name (ARN) for a security control across standards, such asarn:aws:securityhub:eu-central-1:123456789012:security-control/S3.1
.The unique identifier of a security control across standards.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
setLastUpdateReason
(String value) The most recent reason for updating the customizable properties of a security control.void
setParameters
(Map<String, Object> value) An object that identifies the name of a control parameter, its current value, and whether it has been customized.void
setParameters
(IResolvable value) An object that identifies the name of a control parameter, its current value, and whether it has been customized.void
setSecurityControlArn
(String value) The Amazon Resource Name (ARN) for a security control across standards, such asarn:aws:securityhub:eu-central-1:123456789012:security-control/S3.1
.void
setSecurityControlId
(String value) The unique identifier of a security control across standards.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validateProperties
Methods inherited from class software.amazon.awscdk.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.constructs.Construct
getNode, isConstruct
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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
-
CfnSecurityControl
protected CfnSecurityControl(software.amazon.jsii.JsiiObjectRef objRef) -
CfnSecurityControl
protected CfnSecurityControl(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnSecurityControl
@Stability(Stable) public CfnSecurityControl(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnSecurityControlProps props) - 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:
inspect
in 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:
renderProperties
in classCfnResource
- Parameters:
props
- This parameter is required.
-
getCfnProperties
- Overrides:
getCfnProperties
in classCfnResource
-
getParameters
An object that identifies the name of a control parameter, its current value, and whether it has been customized. -
setParameters
An object that identifies the name of a control parameter, its current value, and whether it has been customized. -
setParameters
An object that identifies the name of a control parameter, its current value, and whether it has been customized. -
getLastUpdateReason
The most recent reason for updating the customizable properties of a security control. -
setLastUpdateReason
The most recent reason for updating the customizable properties of a security control. -
getSecurityControlArn
The Amazon Resource Name (ARN) for a security control across standards, such asarn:aws:securityhub:eu-central-1:123456789012:security-control/S3.1
. This parameter doesn't mention a specific standard. -
setSecurityControlArn
The Amazon Resource Name (ARN) for a security control across standards, such asarn:aws:securityhub:eu-central-1:123456789012:security-control/S3.1
. This parameter doesn't mention a specific standard. -
getSecurityControlId
The unique identifier of a security control across standards. -
setSecurityControlId
The unique identifier of a security control across standards.
-