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 Summary
Modifier and TypeMethodDescriptionacceptLanguage
(String acceptLanguage) The language code.accountList
(List<String> accountList) One or more AWS accounts that will have access to the provisioned product.AdminRole ARN.build()
description
(String description) The description of the constraint.executionRole
(String executionRole) ExecutionRole name.portfolioId
(String portfolioId) The portfolio identifier.The product identifier.regionList
(List<String> regionList) One or more AWS Regions where the provisioned product will be available.stackInstanceControl
(String stackInstanceControl) Permission to create, update, and delete stack instances.
-
Method Details
-
create
@Stability(Stable) public static CfnStackSetConstraint.Builder create(software.constructs.Construct scope, String id) - 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.- Returns:
- a new instance of
CfnStackSetConstraint.Builder
.
-
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
- See Also:
-
adminRole
AdminRole ARN.- Parameters:
adminRole
- AdminRole ARN. This parameter is required.- Returns:
this
- See Also:
-
description
The description of the constraint.- Parameters:
description
- The description of the constraint. This parameter is required.- Returns:
this
- See Also:
-
executionRole
ExecutionRole name.- Parameters:
executionRole
- ExecutionRole name. This parameter is required.- Returns:
this
- See Also:
-
portfolioId
The portfolio identifier.- Parameters:
portfolioId
- The portfolio identifier. This parameter is required.- Returns:
this
- See Also:
-
productId
The product identifier.- Parameters:
productId
- The product identifier. This parameter is required.- Returns:
this
- See Also:
-
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 theSTACKSET
constraint, use theDescribeProvisioningParameters
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
- See Also:
-
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
- See Also:
-
acceptLanguage
The language code.jp
- Japanesezh
- Chinese
- Parameters:
acceptLanguage
- The language code. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnStackSetConstraint>
- Returns:
- a newly built instance of
CfnStackSetConstraint
.
-