46 lines
1.9 KiB
TypeScript
46 lines
1.9 KiB
TypeScript
import type { Construct } from 'constructs';
|
|
import type { CommonCloudFormationStackSetOptions, StackInstances, StackSetParameters } from './stackset-types';
|
|
import * as codepipeline from '../../../aws-codepipeline';
|
|
import { Action } from '../action';
|
|
/**
|
|
* Properties for the CloudFormationDeployStackInstancesAction
|
|
*/
|
|
export interface CloudFormationDeployStackInstancesActionProps extends codepipeline.CommonAwsActionProps, CommonCloudFormationStackSetOptions {
|
|
/**
|
|
* The name of the StackSet we are adding instances to
|
|
*/
|
|
readonly stackSetName: string;
|
|
/**
|
|
* Specify where to create or update Stack Instances
|
|
*
|
|
* You can specify either AWS Accounts Ids or AWS Organizations Organizational Units.
|
|
*/
|
|
readonly stackInstances: StackInstances;
|
|
/**
|
|
* 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
|
|
*/
|
|
readonly parameterOverrides?: StackSetParameters;
|
|
}
|
|
/**
|
|
* CodePipeline action to create/update Stack Instances of a StackSet
|
|
*
|
|
* After the initial creation of a stack set, you can add new stack instances by
|
|
* using CloudFormationStackInstances. Template parameter values can be
|
|
* overridden at the stack instance level during create or update stack set
|
|
* instance operations.
|
|
*
|
|
* Each stack set has one template and set of template parameters. When you
|
|
* update the template or template parameters, you update them for the entire
|
|
* set. Then all instance statuses are set to OUTDATED until the changes are
|
|
* deployed to that instance.
|
|
*/
|
|
export declare class CloudFormationDeployStackInstancesAction extends Action {
|
|
private readonly props;
|
|
constructor(props: CloudFormationDeployStackInstancesActionProps);
|
|
protected bound(scope: Construct, _stage: codepipeline.IStage, options: codepipeline.ActionBindOptions): codepipeline.ActionConfig;
|
|
}
|