Skip to content

Commit cb9298d

Browse files
comcalviGavinZZ
authored andcommitted
chore(custom-resources): add @experimental decorator to CustomResourceConfig (#31177)
### Reason for this change Follow the style we use for it here, for consistency: https://github.com/aws/aws-cdk/blob/76e7af6f232655fed60619e2a5f9c629f1a46d1c/packages/aws-cdk/lib/api/plugin/plugin.ts#L125 ### Description of changes Added the decorator. ### Description of how you validated changes Comment only change, no tests modified or run. ### Checklist - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md) ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent d23ade7 commit cb9298d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

packages/aws-cdk-lib/custom-resources/lib/custom-resource-config/custom-resource-config.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ export const CUSTOM_RESOURCE_SINGLETON_LOG_RETENTION = 'aws:cdk:is-custom-resour
1212

1313
/**
1414
* Manages AWS-vended Custom Resources
15+
*
1516
* This feature is currently experimental.
1617
*/
1718
export class CustomResourceConfig {
@@ -42,6 +43,8 @@ export class CustomResourceConfig {
4243

4344
/**
4445
* Manages log retention for AWS-vended custom resources.
46+
*
47+
* This feature is currently experimental.
4548
*/
4649
export class CustomResourceLogRetention implements IAspect {
4750
private readonly logRetention: logs.RetentionDays;
@@ -89,6 +92,8 @@ export class CustomResourceLogRetention implements IAspect {
8992

9093
/**
9194
* Manages removal policy for AWS-vended custom resources.
95+
*
96+
* This feature is currently experimental.
9297
*/
9398
export class CustomResourceRemovalPolicy implements IAspect {
9499
private readonly removalPolicy: RemovalPolicy;

0 commit comments

Comments
 (0)