Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(core): RemovalPolicies.of(scope) #32283

Open
wants to merge 39 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
70f9e43
1.0
watany-dev Nov 26, 2024
47a41f1
integ first
watany-dev Dec 19, 2024
5d76562
integ
watany-dev Dec 19, 2024
3770eb8
readme
watany-dev Dec 19, 2024
d4a2db3
types
watany-dev Dec 19, 2024
2437d3c
exit resource
watany-dev Dec 19, 2024
3ca49c8
type check
watany-dev Dec 20, 2024
e0db4c8
integ
watany-dev Dec 20, 2024
42b82fd
rename
watany-dev Dec 21, 2024
710c35e
RemovalPolicys to RemovalPolicies
watany-dev Dec 21, 2024
2d90ae7
integ
watany-dev Dec 21, 2024
f8d1734
enum like class
watany-dev Dec 21, 2024
af4e0ff
miss spell
watany-dev Dec 22, 2024
5f6197c
adding `anyL1Type).CFN_RESOURCE_TYPE_NAME`
watany-dev Dec 22, 2024
c0d4fd7
remove try-catch
watany-dev Dec 22, 2024
f2df86d
Merge remote-tracking branch 'origin/main' into removalpolicy-all
watany-dev Dec 26, 2024
dec21e2
AspectPriority
watany-dev Dec 26, 2024
da6b4c5
readme updated
watany-dev Dec 26, 2024
467ebbd
integ
watany-dev Dec 26, 2024
c0733be
adding overwrite and priority
watany-dev Dec 27, 2024
bf5eff9
integ
watany-dev Dec 27, 2024
93fa6de
Update packages/aws-cdk-lib/core/lib/removal-policies.ts
watany-dev Dec 31, 2024
c1adaef
Update packages/aws-cdk-lib/core/README.md
watany-dev Dec 31, 2024
3da50fa
Update packages/aws-cdk-lib/core/test/removal-policies.test.ts
watany-dev Dec 31, 2024
832e33e
Update packages/aws-cdk-lib/core/test/removal-policies.test.ts
watany-dev Dec 31, 2024
f1fda5a
Update packages/aws-cdk-lib/core/test/removal-policies.test.ts
watany-dev Dec 31, 2024
9612fce
Update packages/aws-cdk-lib/core/test/removal-policies.test.ts
watany-dev Dec 31, 2024
5ee5ef2
Update packages/aws-cdk-lib/core/test/removal-policies.test.ts
watany-dev Dec 31, 2024
5a4a584
Update packages/aws-cdk-lib/core/test/removal-policies.test.ts
watany-dev Dec 31, 2024
baef89d
Update packages/aws-cdk-lib/core/test/removal-policies.test.ts
watany-dev Dec 31, 2024
cfe62be
Update packages/aws-cdk-lib/core/test/removal-policies.test.ts
watany-dev Dec 31, 2024
68436bf
Update packages/aws-cdk-lib/core/test/removal-policies.test.ts
watany-dev Dec 31, 2024
112f0f6
Update packages/aws-cdk-lib/core/test/removal-policies.test.ts
watany-dev Dec 31, 2024
94a454f
Update packages/aws-cdk-lib/core/test/removal-policies.test.ts
watany-dev Dec 31, 2024
f73db08
Merge branch 'main' into removalpolicy-all
watany-dev Jan 1, 2025
40d7a5f
Update packages/@aws-cdk-testing/framework-integ/test/core/test/integ…
watany-dev Jan 6, 2025
1876ce9
Update packages/aws-cdk-lib/core/lib/removal-policies.ts
watany-dev Jan 6, 2025
7c3e579
Merge branch 'main' into removalpolicy-all
watany-dev Jan 6, 2025
9436df3
remove import
watany-dev Jan 6, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
{
"Resources": {
"TestBucket560B80BC": {
"Type": "AWS::S3::Bucket",
"UpdateReplacePolicy": "Retain",
"DeletionPolicy": "Retain"
},
"TestTable5769773A": {
"Type": "AWS::DynamoDB::Table",
"Properties": {
"AttributeDefinitions": [
{
"AttributeName": "id",
"AttributeType": "S"
}
],
"KeySchema": [
{
"AttributeName": "id",
"KeyType": "HASH"
}
],
"ProvisionedThroughput": {
"ReadCapacityUnits": 5,
"WriteCapacityUnits": 5
}
},
"UpdateReplacePolicy": "Retain",
"DeletionPolicy": "Retain"
},
"TestUser6A619381": {
"Type": "AWS::IAM::User",
"UpdateReplacePolicy": "Retain",
"DeletionPolicy": "Retain"
},
"DestroyBucket924C7F03": {
"Type": "AWS::S3::Bucket",
"UpdateReplacePolicy": "Delete",
"DeletionPolicy": "Delete"
}
},
"Parameters": {
"BootstrapVersion": {
"Type": "AWS::SSM::Parameter::Value<String>",
"Default": "/cdk-bootstrap/hnb659fds/version",
"Description": "Version of the CDK Bootstrap resources in this environment, automatically retrieved from SSM Parameter Store. [cdk:skip]"
}
},
"Rules": {
"CheckBootstrapVersion": {
"Assertions": [
{
"Assert": {
"Fn::Not": [
{
"Fn::Contains": [
[
"1",
"2",
"3",
"4",
"5"
],
{
"Ref": "BootstrapVersion"
}
]
}
]
},
"AssertDescription": "CDK bootstrap stack version 6 required. Please run 'cdk bootstrap' with a recent version of the CDK CLI."
}
]
}
}
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading