generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 69
Closed
Labels
Description
Describe the feature
Add support for the resourceModel parameter to the CcApiContextProviderPlugin to support nested resources
Use Case
I'm working on building a CDK construct lib and want to utilize the CC_API_CONTEXT_PROVIDER, however the current implementation does not allow specifying the resourceModel parameter to the API, thus it won't work with some resources that require those parameters.
For example listing AWS::Connect::HoursOfOperation resources requires ResourceModel be specified with the InstanceArn
Proposed Solution
add a new property to the plugin of resourceModel (Record<string, string>?) and then pass that into the cc.listResources call if specified (json encoded) to the ResourceModel parameter
Other Information
No response
Acknowledgements
- I may be able to implement this feature request
- This feature might incur a breaking change
CDK version used
2.1033.0
Environment details (OS name and version, etc.)
macOS 14.7.5