-
Notifications
You must be signed in to change notification settings - Fork 4.5k
(appconfig-alpha): grant read Configuration #28585
Copy link
Copy link
Closed
Labels
@aws-cdk/aws-iamRelated to AWS Identity and Access ManagementRelated to AWS Identity and Access Managementeffort/mediumMedium work item – several days of effortMedium work item – several days of effortfeature-requestA feature should be added or improved.A feature should be added or improved.p2
Description
Describe the feature
Now appconfig-alpha has no grant method. If grantReadConfig() is implemented, it will be useful.
Use Case
Using AppConfig from application codes.
Proposed Solution
environment.grantReadConfig(lambdaFunction);Other Information
Needed policy is following:
new iam.PolicyStatement({
actions: [
"appconfig:GetLatestConfiguration",
"appconfig:StartConfigurationSession",
],
resources: [`${appConfigEnvironment.environmentArn}/*`],
})see, https://docs.aws.amazon.com/appconfig/latest/userguide/about-data-plane.html
Acknowledgements
- I may be able to implement this feature request
- This feature might incur a breaking change
CDK version used
2.114.1
Environment details (OS name and version, etc.)
Mac OS, Apple silicon, Sonoma 14.2.1
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
@aws-cdk/aws-iamRelated to AWS Identity and Access ManagementRelated to AWS Identity and Access Managementeffort/mediumMedium work item – several days of effortMedium work item – several days of effortfeature-requestA feature should be added or improved.A feature should be added or improved.p2