awslabs / goformation

GoFormation is a Go library for working with CloudFormation templates.
Apache License 2.0
846 stars 196 forks source link

The property `UpdatedBy` of `AWS::SecurityHub::AutomationRule.NoteUpdate` should be string, not object #679

Open dafujii opened 4 months ago

dafujii commented 4 months ago

The document says that UpdatedBy is Type: String.

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrule-noteupdate.html#cfn-securityhub-automationrule-noteupdate-updatedby

UpdatedBy
    The principal that updated the note.
    Type: String
    Pattern: .*\S.*
    Required: Yes

But goformation says that UpdatedBy is object.

https://github.com/awslabs/goformation/blob/master/cloudformation/securityhub/aws-securityhub-automationrule_noteupdate.go#L21 (created in #601.)