[aws-appsync] Adding AuthorizationConfig within construction HttpDataSource of the appsync module.
See original GitHub issueAdding AuthorizationConfig within construction HttpDataSource of the appsync module.
Use Case
Integrating AWS StepFunctions to the appsync as HTTP Datasource. Current(24, August 2021) AWS CDK can not configure the authorizationConfig during creating data source. Currently, That can do only from the AWS-CLI. (create-data-source command) https://docs.aws.amazon.com/cli/latest/reference/appsync/create-data-source.html
Related AWS Blogs. https://aws.amazon.com/blogs/mobile/invoke-aws-services-directly-from-aws-appsync/
Proposed Solution
I’d like to call the addHttpDataSource method with authorizationConfig object.
api.addHttpDataSource('ds', endpoint, {
name: 'custom',
description: 'custom description',
authorizationConfig: {
authorizationType: 'AWS_IAM',
awsIamConfig: {
signingRegion: 'us-east-1',
signingServiceName: 'states'
}
}
});
Other
- 👋 I may be able to implement this feature request
- ⚠️ This feature might incur a breaking change
This is a 🚀 Feature Request
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:7 (7 by maintainers)
Top Results From Across the Web
AWS::AppSync::DataSource AuthorizationConfig
The AuthorizationConfig property type specifies the authorization type and configuration for an AWS AppSync http data source.
Read more >appsync to appsync integration - http datasource - AWS IAM
Question: How to setup the role / roles / appsync so it's working when module A and module B are in different AWS...
Read more >Lessons learned: AWS AppSync Subscriptions
We are using AppSync in our Purple Apps to power application APIs. Learn more in Purple Stack API docs. The AppSync Subscriptions. First...
Read more >terraform-aws-modules/appsync/aws
Terraform module to create AWS AppSync resources ... aims to simplify all operations when working with the serverless in Terraform.
Read more >AWS AppSync: Implementing the Simple Web Service - AWS Tip
The popular Simple Web Service pattern in Serverless is typically implemented with a RESTful API Gateway endpoint, a Lambda proxy integration and a...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@BryanPan342 I added PR for this issue. I need to fix some CI checks. I will fix it later.
https://github.com/aws/aws-cdk/pull/9971
nvm it looks like you did it already