Skip to content

Conversation

@dzchen22
Copy link

Issue # (if applicable)

Closes #.

Reason for this change

Allows customers to create custom configuration profile types not defined in the configuration profile enum.

Description of changes

Added a typeAsString property to the AppConfig configuration interfaces as an escape hatch that allows specifying custom configuration types as strings.

What code changes did you make?

  • Added typeAsString?: string property to configuration interfaces
  • Implemented effectiveType() method with precedence logic
  • Updated CloudFormation resource creation to use effectiveType()

Why do these changes address the issue?

  • Provides escape hatch for custom configuration types beyond predefined enum

What design decisions have you made?

  • Precedence: typeAsString overrides type when both specified

Describe any new or updated permissions being added

Description of how you validated changes

Yes

Checklist


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

beginning-contributor [Pilot] contributed between 0-2 PRs to the CDK p2

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant