Package software.amazon.awscdk
Class CfnStackSet.StackInstancesProperty.Builder
java.lang.Object
software.amazon.awscdk.CfnStackSet.StackInstancesProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStackSet.StackInstancesProperty>
- Enclosing interface:
CfnStackSet.StackInstancesProperty
@Stability(Stable)
public static final class CfnStackSet.StackInstancesProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStackSet.StackInstancesProperty>
A builder for
CfnStackSet.StackInstancesProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.deploymentTargets
(CfnStackSet.DeploymentTargetsProperty deploymentTargets) Sets the value ofCfnStackSet.StackInstancesProperty.getDeploymentTargets()
deploymentTargets
(IResolvable deploymentTargets) Sets the value ofCfnStackSet.StackInstancesProperty.getDeploymentTargets()
parameterOverrides
(List<? extends Object> parameterOverrides) Sets the value ofCfnStackSet.StackInstancesProperty.getParameterOverrides()
parameterOverrides
(IResolvable parameterOverrides) Sets the value ofCfnStackSet.StackInstancesProperty.getParameterOverrides()
Sets the value ofCfnStackSet.StackInstancesProperty.getRegions()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
deploymentTargets
@Stability(Stable) public CfnStackSet.StackInstancesProperty.Builder deploymentTargets(IResolvable deploymentTargets) Sets the value ofCfnStackSet.StackInstancesProperty.getDeploymentTargets()
- Parameters:
deploymentTargets
- The AWSOrganizationalUnitIds
orAccounts
for which to create stack instances in the specified Regions. This parameter is required.- Returns:
this
-
deploymentTargets
@Stability(Stable) public CfnStackSet.StackInstancesProperty.Builder deploymentTargets(CfnStackSet.DeploymentTargetsProperty deploymentTargets) Sets the value ofCfnStackSet.StackInstancesProperty.getDeploymentTargets()
- Parameters:
deploymentTargets
- The AWSOrganizationalUnitIds
orAccounts
for which to create stack instances in the specified Regions. This parameter is required.- Returns:
this
-
regions
Sets the value ofCfnStackSet.StackInstancesProperty.getRegions()
- Parameters:
regions
- The names of one or more Regions where you want to create stack instances using the specified AWS accounts . This parameter is required.- Returns:
this
-
parameterOverrides
@Stability(Stable) public CfnStackSet.StackInstancesProperty.Builder parameterOverrides(IResolvable parameterOverrides) Sets the value ofCfnStackSet.StackInstancesProperty.getParameterOverrides()
- Parameters:
parameterOverrides
- A list of stack set parameters whose values you want to override in the selected stack instances.- Returns:
this
-
parameterOverrides
@Stability(Stable) public CfnStackSet.StackInstancesProperty.Builder parameterOverrides(List<? extends Object> parameterOverrides) Sets the value ofCfnStackSet.StackInstancesProperty.getParameterOverrides()
- Parameters:
parameterOverrides
- A list of stack set parameters whose values you want to override in the selected stack instances.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnStackSet.StackInstancesProperty>
- Returns:
- a new instance of
CfnStackSet.StackInstancesProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-