Class CfnEnabledControl.Builder
java.lang.Object
software.amazon.awscdk.services.controltower.CfnEnabledControl.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEnabledControl>
- Enclosing class:
- CfnEnabledControl
@Stability(Stable)
public static final class CfnEnabledControl.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEnabledControl>
A fluent builder for
CfnEnabledControl.-
Method Summary
Modifier and TypeMethodDescriptionbuild()controlIdentifier(String controlIdentifier) The ARN of the control.static CfnEnabledControl.BuildertargetIdentifier(String targetIdentifier) The ARN of the organizational unit.
-
Method Details
-
create
- Parameters:
scope-- scope in which this resource is defined.
id-- scoped id of the resource.
- Returns:
- a new instance of
CfnEnabledControl.Builder.
-
controlIdentifier
The ARN of the control.Only Strongly recommended and Elective controls are permitted, with the exception of the Region deny guardrail.
- Parameters:
controlIdentifier- The ARN of the control. This parameter is required.- Returns:
this
-
targetIdentifier
The ARN of the organizational unit.- Parameters:
targetIdentifier- The ARN of the organizational unit. This parameter is required.- Returns:
this
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEnabledControl>- Returns:
- a newly built instance of
CfnEnabledControl.
-