Interface CloudFormationDeployStackInstancesActionProps
- All Superinterfaces:
CommonActionProps,CommonAwsActionProps,CommonCloudFormationStackSetOptions,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CloudFormationDeployStackInstancesActionProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:48.371Z")
@Stability(Stable)
public interface CloudFormationDeployStackInstancesActionProps
extends software.amazon.jsii.JsiiSerializable, CommonAwsActionProps, CommonCloudFormationStackSetOptions
Properties for the CloudFormationDeployStackInstancesAction.
Example:
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());
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCloudFormationDeployStackInstancesActionPropsstatic final classAn implementation forCloudFormationDeployStackInstancesActionProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StackSetParametersParameter values that only apply to the current Stack Instances.Specify where to create or update Stack Instances.The name of the StackSet we are adding instances to.Methods inherited from interface software.amazon.awscdk.services.codepipeline.CommonActionProps
getActionName, getRunOrder, getVariablesNamespaceMethods inherited from interface software.amazon.awscdk.services.codepipeline.CommonAwsActionProps
getRoleMethods inherited from interface software.amazon.awscdk.services.codepipeline.actions.CommonCloudFormationStackSetOptions
getFailureTolerancePercentage, getMaxAccountConcurrencyPercentage, getStackSetRegionMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getStackInstances
Specify where to create or update Stack Instances.You can specify either AWS Accounts Ids or AWS Organizations Organizational Units.
-
getStackSetName
The name of the StackSet we are adding instances to. -
getParameterOverrides
Parameter values that only apply to the current Stack Instances.These parameters are shared between all instances added by this action.
Default: - no parameters will be overridden
-
builder
-