generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
Hello,
I wanted to open a pull request to provide support for OperationPreferences.ConcurrencyMode[1] but it seems that the pinned version of aws-cdk-lib doesn't support that. Is there a plan to upgrade the package version?
export interface OperationPreferences {
readonly concurrencyMode?: ConcurrencyMode;
readonly failureToleranceCount?: number;
readonly failureTolerancePercentage?: number;
readonly maxConcurrentCount?: number;
readonly maxConcurrentPercentage?: number;
readonly regionConcurrencyType?: RegionConcurrencyType;
readonly regionOrder?: string[];
}
/**
* Specifies how the concurrency level behaves during the operation execution
*/
export enum ConcurrencyMode {
STRICT_FAILURE_TOLERANCE = 'STRICT_FAILURE_TOLERANCE',
SOFT_FAILURE_TOLERANCE = 'SOFT_FAILURE_TOLERANCE',
}
// ...
const stackSet = new cfn.CfnStackSet(this, 'Resource', {
// ...
operationPreferences: undefinedIfNoKeys({
concurrencyMode: props.operationPreferences?.concurrencyMode,
regionConcurrencyType: props.operationPreferences?.regionConcurrencyType,
maxConcurrentPercentage: props.operationPreferences?.maxConcurrentPercentage,
failureTolerancePercentage: props.operationPreferences?.failureTolerancePercentage,
}),However, the generated template doesn't contain the parameter. I suspect that it's caused by the outdated aws-cdk-lib version.
dannysteenman and Guslington
Metadata
Metadata
Assignees
Labels
No labels