Conversation
packages/@aws-cdk/aws-pipes-targets-alpha/test/integ.api-gateway.ts
Outdated
Show resolved
Hide resolved
Good shout about the docs. I did create a WebSocket API and it wasn't available in the Console when I tried to create a Pipe target. The CFN docs do state only REST APIs. @redwheeler3, can you confirm if REST APIs are the only type supported here? |
| grantPush(grantee: IRole): void { | ||
| grantee.addToPrincipalPolicy(new PolicyStatement({ | ||
| resources: [this.restApiArn], | ||
| actions: ['execute-api:Invoke'], |
| 'x-header': 'myheader', | ||
| }, | ||
| queryStringParameters: { key: 'USA' }, | ||
| pathParameterValues: ['fiction'], |
There was a problem hiding this comment.
@nmussy I think this is what you're after? fiction replaces the * in path defined above. More coverage..
Pipes does not support WebSocket APIs. |
The |
a254134 to
a253bc6
Compare
|
This PR has been in the MERGE CONFLICTS state for 3 weeks, and looks abandoned. To keep this PR from being closed, please continue work on it. If not, it will automatically be closed in a week. |
81cc179 to
2645f76
Compare
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
|
This PR cannot be merged because it has conflicts. Please resolve them. The PR will be considered stale and closed if it remains in an unmergeable state. |
3 similar comments
|
This PR cannot be merged because it has conflicts. Please resolve them. The PR will be considered stale and closed if it remains in an unmergeable state. |
|
This PR cannot be merged because it has conflicts. Please resolve them. The PR will be considered stale and closed if it remains in an unmergeable state. |
|
This PR cannot be merged because it has conflicts. Please resolve them. The PR will be considered stale and closed if it remains in an unmergeable state. |
|
This PR has been in the MERGE CONFLICTS state for 3 weeks, and looks abandoned. To keep this PR from being closed, please continue work on it. If not, it will automatically be closed in a week. |
|
This PR has been deemed to be abandoned, and will be automatically closed. Please create a new PR for these changes if you think this decision has been made in error. |
|
Comments on closed issues and PRs are hard for our team to see. |
Add API Gateway REST API as a Pipes target.