We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The CloudFormation Resource type schema https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-type-schema.html allows to define properties required. Smithy currently does not mark top-level non-optional properties in the required section:
required
{ ... "properties": { "propertyName": { "description": "string", "type": "string", . . . }, }, }, "required": [ // not added in Smithy "propertyName" ], ...
The text was updated successfully, but these errors were encountered:
Looks like we'll need to add support for determining this field and the new conditionalCreateOnlyProperties field.
conditionalCreateOnlyProperties
For now, you can set these properties directly with the jsonAdd configuration setting:
jsonAdd
"jsonAdd": { "smithy.example#Queue": { "/required": [ "propertyName" ] } }
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
The CloudFormation Resource type schema https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-type-schema.html allows to define properties required. Smithy currently does not mark top-level non-optional properties in the
required
section:The text was updated successfully, but these errors were encountered: