-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(apigatewayv2): http api - custom domain & stage mapping #8027
Conversation
- add tests - update README
Hi @nija-at I am ready now :-) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems that HttpApiMapping
and DomainName
constructs are common to both Websocket and HTTP APIs. I can't find any properties that are available to one but not the other.
Let's move these to the common/
folder instead so they can be shared.
You may have to create an IApi
interface that will sit between IHttpApi
and IResource
as -
export interface IApi extends IResource {
...
}
export IHttpApi extends IApi {
...
}
Hi @nija-at As there's only one attribute in aws-cdk/packages/@aws-cdk/aws-apigatewayv2/lib/http/api.ts Lines 10 to 16 in 01fa408
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @pahud. Some comments below -
Co-authored-by: Niranjan Jayakar <nija@amazon.com>
Co-authored-by: Niranjan Jayakar <nija@amazon.com>
Co-authored-by: Niranjan Jayakar <nija@amazon.com>
Co-authored-by: Niranjan Jayakar <nija@amazon.com>
Co-authored-by: Niranjan Jayakar <nija@amazon.com>
Co-authored-by: Niranjan Jayakar <nija@amazon.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey Pahud. A few things to take care of and from the previous comments.
Should be easy and this should be ready to go 😊
Co-authored-by: Niranjan Jayakar <nija@amazon.com>
Co-authored-by: Niranjan Jayakar <nija@amazon.com>
@nija-at all comments should be all sorted but my laptop can't build it successfully. I'm still trying to get it sorted. FYI. |
OK I am ready. |
Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
Commit Message
feat(apigatewayv2): http api - custom domain & stage mapping (#8027)
DomainName
andHttpApiMapping
construct classes andaddDomainName()
method forHttpApi
resource.defaultDomainMapping
construct property forHttpApi
domainMapping
attribute foraddStage
Closes #7847
End Commit Message
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license