@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:37.518Z") @Stability(value=Stable) public interface CloudFormationDeployStackInstancesActionProps extends software.amazon.jsii.JsiiSerializable, CommonAwsActionProps, CommonCloudFormationStackSetOptions
Example:
// Example automatically generated from non-compiling source. May contain errors.
Pipeline pipeline;
Artifact sourceOutput;
pipeline.addStage(StageOptions.builder()
.stageName("DeployStackSets")
.actions(List.of(
// First, update the StackSet itself with the newest template
CloudFormationDeployStackSetAction.Builder.create()
.actionName("UpdateStackSet")
.runOrder(1)
.stackSetName("MyStackSet")
.template(StackSetTemplate.fromArtifactPath(sourceOutput.atPath("template.yaml")))
// Change this to 'StackSetDeploymentModel.organizations()' if you want to deploy to OUs
.deploymentModel(StackSetDeploymentModel.selfManaged())
// This deploys to a set of accounts
.stackInstances(StackInstances.inAccounts(List.of("111111111111"), List.of("us-east-1", "eu-west-1")))
.build(),
// Afterwards, update/create additional instances in other accounts
CloudFormationDeployStackInstancesAction.Builder.create()
.actionName("AddMoreInstances")
.runOrder(2)
.stackSetName("MyStackSet")
.stackInstances(StackInstances.inAccounts(List.of("222222222222", "333333333333"), List.of("us-east-1", "eu-west-1")))
.build()))
.build());
| Modifier and Type | Interface and Description |
|---|---|
static class |
CloudFormationDeployStackInstancesActionProps.Builder
A builder for
CloudFormationDeployStackInstancesActionProps |
static class |
CloudFormationDeployStackInstancesActionProps.Jsii$Proxy
An implementation for
CloudFormationDeployStackInstancesActionProps |
| Modifier and Type | Method and Description |
|---|---|
static CloudFormationDeployStackInstancesActionProps.Builder |
builder() |
default StackSetParameters |
getParameterOverrides()
Parameter values that only apply to the current Stack Instances.
|
StackInstances |
getStackInstances()
Specify where to create or update Stack Instances.
|
String |
getStackSetName()
The name of the StackSet we are adding instances to.
|
getRolegetActionName, getRunOrder, getVariablesNamespacegetFailureTolerancePercentage, getMaxAccountConcurrencyPercentage, getStackSetRegion@Stability(value=Stable) @NotNull StackInstances getStackInstances()
You can specify either AWS Accounts Ids or AWS Organizations Organizational Units.
@Stability(value=Stable) @NotNull String getStackSetName()
@Stability(value=Stable) @Nullable default StackSetParameters getParameterOverrides()
These parameters are shared between all instances added by this action.
Default: - no parameters will be overridden
@Stability(value=Stable) static CloudFormationDeployStackInstancesActionProps.Builder builder()
builder in interface CommonActionPropsbuilder in interface CommonAwsActionPropsbuilder in interface CommonCloudFormationStackSetOptionsCloudFormationDeployStackInstancesActionProps.Builder of CloudFormationDeployStackInstancesActionPropsCopyright © 2022. All rights reserved.