-
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
CfnAuthorizer: name is required by CloudFormation #5678
Labels
@aws-cdk/aws-apigateway
Related to Amazon API Gateway
bug
This issue is a bug.
needs-triage
This issue or PR still needs to be triaged.
Comments
thantos
added
bug
This issue is a bug.
needs-triage
This issue or PR still needs to be triaged.
labels
Jan 7, 2020
This was referenced Jan 7, 2020
Internal reference: issues/CFN-30099 |
nija-at
pushed a commit
that referenced
this issue
Jan 9, 2020
The authorizer name property is marked as optional in CloudFormation docs but is actually not. Use the TokenAuthorizer node's uniquId as the default. fixes #5678
mergify bot
added a commit
that referenced
this issue
Jan 9, 2020
The authorizer name property is marked as optional in CloudFormation docs but is actually not. Use the TokenAuthorizer node's uniquId as the default. fixes #5678 Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
charlesguse
added a commit
to charlesguse/aws-cloudformation-user-guide
that referenced
this issue
Dec 7, 2020
The docs show Name as optional. When trying to leave name out, CloudFormation gives the error "1 validation error detected: Value null at 'createAuthorizerInput.name' failed to satisfy constraint: Member must not be null" We can see a thread in the aws-cdk that tackles this topic for the CDK docs specifically. aws/aws-cdk#5678 aws/aws-cdk@4c1db33
This seems to be an issue again in the 2.0 CDK library, I just ran into this issue. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
@aws-cdk/aws-apigateway
Related to Amazon API Gateway
bug
This issue is a bug.
needs-triage
This issue or PR still needs to be triaged.
CDK type
CfnAuthorizer
'sname
property is optional, but stack deployment fails when omitted. On adding a name, the deployment succeeded.cdk: https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-apigateway.CfnAuthorizer.html
cfn: https://docs.aws.amazon.com/apigateway/api-reference/resource/authorizer/
Reproduction Steps
Error Log
Environment
1.19.0 (build 5597bbe)
v12.14.0
Windows 10
Typescript
Other
After adding a name...
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered: