aws / aws/aws-cdk

(core) Add support for Stack Policies

Open
#13,779 4 comments 9 reactions 0 assignees View on GitHub
@aws-cdk/core effort/large feature-request p2
Dominant language
TypeScript
Stars
12.9k
Forks
4.6k
Avg merge
2d 3h
Merged PRs (30d)
83

Description

## :question: General Issue

### The Question

I need help trying to find the [concepts][1] that exists in CloudFormation UpdateStack wherein you can specify an 'StackPolicy' or 'StackPolicyDuringUpdate'. How does one achieve the same or similar concepts in a CDK engineered solution?

I found concepts such as [DeletionPolicy and UpdateRetentionPolicy][2] and at first glance they seemed like they could be used, but they are not quite the same things. Or the documentation/implementations are not doing what a StackPolicy would do.

[1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_UpdateStack.html
[2]: https://docs.aws.amazon.com/cdk/api/latest/java/software/amazon/awscdk/core/RemovalPolicy.html

Contributor guide

Open the contributing guide

Research direction

Start with the linked CloudFormation UpdateStack API reference and compare StackPolicy and StackPolicyDuringUpdate with the linked CDK RemovalPolicy documentation. Define the desired CDK representation and verify that it preserves the policy semantics during stack updates; the issue provides no repository file or test entry point.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, typescript
Domain
cloud, infrastructure
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.