Class CfnStackSetConstraint.Builder

java.lang.Object
software.amazon.awscdk.services.servicecatalog.CfnStackSetConstraint.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStackSetConstraint>
Enclosing class:
CfnStackSetConstraint

@Stability(Stable) public static final class CfnStackSetConstraint.Builder extends Object implements software.amazon.jsii.Builder<CfnStackSetConstraint>
A fluent builder for CfnStackSetConstraint.
  • Method Details

    • create

      @Stability(Stable) public static CfnStackSetConstraint.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 CfnStackSetConstraint.Builder.
    • accountList

      @Stability(Stable) public CfnStackSetConstraint.Builder accountList(List<String> accountList)
      One or more AWS accounts that will have access to the provisioned product.

      Parameters:
      accountList - One or more AWS accounts that will have access to the provisioned product. This parameter is required.
      Returns:
      this
    • adminRole

      @Stability(Stable) public CfnStackSetConstraint.Builder adminRole(String adminRole)
      AdminRole ARN.

      Parameters:
      adminRole - AdminRole ARN. This parameter is required.
      Returns:
      this
    • description

      @Stability(Stable) public CfnStackSetConstraint.Builder description(String description)
      The description of the constraint.

      Parameters:
      description - The description of the constraint. This parameter is required.
      Returns:
      this
    • executionRole

      @Stability(Stable) public CfnStackSetConstraint.Builder executionRole(String executionRole)
      ExecutionRole name.

      Parameters:
      executionRole - ExecutionRole name. This parameter is required.
      Returns:
      this
    • portfolioId

      @Stability(Stable) public CfnStackSetConstraint.Builder portfolioId(String portfolioId)
      The portfolio identifier.

      Parameters:
      portfolioId - The portfolio identifier. This parameter is required.
      Returns:
      this
    • productId

      @Stability(Stable) public CfnStackSetConstraint.Builder productId(String productId)
      The product identifier.

      Parameters:
      productId - The product identifier. This parameter is required.
      Returns:
      this
    • regionList

      @Stability(Stable) public CfnStackSetConstraint.Builder regionList(List<String> regionList)
      One or more AWS Regions where the provisioned product will be available.

      Applicable only to a CFN_STACKSET provisioned product type.

      The specified Regions should be within the list of Regions from the STACKSET constraint. To get the list of Regions in the STACKSET constraint, use the DescribeProvisioningParameters operation.

      If no values are specified, the default value is all Regions from the STACKSET constraint.

      Parameters:
      regionList - One or more AWS Regions where the provisioned product will be available. This parameter is required.
      Returns:
      this
    • stackInstanceControl

      @Stability(Stable) public CfnStackSetConstraint.Builder stackInstanceControl(String stackInstanceControl)
      Permission to create, update, and delete stack instances.

      Choose from ALLOWED and NOT_ALLOWED.

      Parameters:
      stackInstanceControl - Permission to create, update, and delete stack instances. This parameter is required.
      Returns:
      this
    • acceptLanguage

      @Stability(Stable) public CfnStackSetConstraint.Builder acceptLanguage(String acceptLanguage)
      The language code.

      • jp - Japanese
      • zh - Chinese

      Parameters:
      acceptLanguage - The language code. This parameter is required.
      Returns:
      this
    • build

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