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 Details

    • create

      @Stability(Stable) public static CfnEnabledControl.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnEnabledControl.Builder.
    • controlIdentifier

      @Stability(Stable) public CfnEnabledControl.Builder controlIdentifier(String 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

      @Stability(Stable) public CfnEnabledControl.Builder targetIdentifier(String targetIdentifier)
      The ARN of the organizational unit.

      Parameters:
      targetIdentifier - The ARN of the organizational unit. This parameter is required.
      Returns:
      this
    • build

      @Stability(Stable) public CfnEnabledControl build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnEnabledControl>
      Returns:
      a newly built instance of CfnEnabledControl.