Class CfnSecurityControlPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.securityhub.CfnSecurityControlPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSecurityControlPropsMixin>
- Enclosing class:
CfnSecurityControlPropsMixin
@Stability(Stable)
public static final class CfnSecurityControlPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSecurityControlPropsMixin>
A fluent builder for
CfnSecurityControlPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) lastUpdateReason(String lastUpdateReason) The most recent reason for updating the customizable properties of a security control.parameters(Map<String, ? extends Object> parameters) An object that identifies the name of a control parameter, its current value, and whether it has been customized.parameters(IResolvable parameters) An object that identifies the name of a control parameter, its current value, and whether it has been customized.securityControlArn(String securityControlArn) The Amazon Resource Name (ARN) for a security control across standards, such asarn:aws:securityhub:eu-central-1:123456789012:security-control/S3.1.securityControlId(String securityControlId) The unique identifier of a security control across standards.
-
Method Details
-
create
@Stability(Stable) public static CfnSecurityControlPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnSecurityControlPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnSecurityControlPropsMixin.Builder.
-
lastUpdateReason
@Stability(Stable) public CfnSecurityControlPropsMixin.Builder lastUpdateReason(String lastUpdateReason) The most recent reason for updating the customizable properties of a security control.This differs from the
UpdateReasonfield of theBatchUpdateStandardsControlAssociationsAPI, which tracks the reason for updating the enablement status of a control. This field accepts alphanumeric characters in addition to white spaces, dashes, and underscores.- Parameters:
lastUpdateReason- The most recent reason for updating the customizable properties of a security control. This parameter is required.- Returns:
this- See Also:
-
parameters
An object that identifies the name of a control parameter, its current value, and whether it has been customized.- Parameters:
parameters- An object that identifies the name of a control parameter, its current value, and whether it has been customized. This parameter is required.- Returns:
this- See Also:
-
parameters
@Stability(Stable) public CfnSecurityControlPropsMixin.Builder parameters(Map<String, ? extends Object> parameters) An object that identifies the name of a control parameter, its current value, and whether it has been customized.- Parameters:
parameters- An object that identifies the name of a control parameter, its current value, and whether it has been customized. This parameter is required.- Returns:
this- See Also:
-
securityControlArn
@Stability(Stable) public CfnSecurityControlPropsMixin.Builder securityControlArn(String securityControlArn) 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.- Parameters:
securityControlArn- 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. This parameter is required.- Returns:
this- See Also:
-
securityControlId
@Stability(Stable) public CfnSecurityControlPropsMixin.Builder securityControlId(String securityControlId) The unique identifier of a security control across standards.Values for this field typically consist of an AWS service name and a number, such as APIGateway.3.
- Parameters:
securityControlId- The unique identifier of a security control across standards. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSecurityControlPropsMixin>- Returns:
- a newly built instance of
CfnSecurityControlPropsMixin.
-