[
    {
        "Filename": "test/fixtures/templates/integration/dynamic-references.yaml",
        "Id": "cd495ac4-96f2-a8c9-0e47-f2b7710e1d3b",
        "Level": "Error",
        "Location": {
            "End": {
                "ColumnNumber": 21,
                "LineNumber": 16
            },
            "Path": [
                "Resources",
                "SESEventSourceMappingBadDynamicReference",
                "Properties",
                "EventSourceArn"
            ],
            "Start": {
                "ColumnNumber": 7,
                "LineNumber": 16
            }
        },
        "Message": "'{{:ssm:/SQS_Queue/SQS_ARN}}' does not match 'arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\\\\-])+:((eusc-)?[a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\\\\d{1})?:(\\\\d{12})?:(.*)'",
        "ParentId": null,
        "Rule": {
            "Description": "Check if properties have a valid value in case of a pattern (Regular Expression)",
            "Id": "E3031",
            "ShortDescription": "Check if property values adhere to a specific pattern",
            "Source": "https://github.com/aws-cloudformation/cfn-lint/blob/main/docs/cfn-schema-specification.md#pattern"
        }
    },
    {
        "Filename": "test/fixtures/templates/integration/dynamic-references.yaml",
        "Id": "477ff95e-7c8c-ed10-6221-7bce06ffb0bc",
        "Level": "Warning",
        "Location": {
            "End": {
                "ColumnNumber": 21,
                "LineNumber": 37
            },
            "Path": [
                "Resources",
                "SESEventSourceMappingSpaces",
                "Properties",
                "EventSourceArn"
            ],
            "Start": {
                "ColumnNumber": 7,
                "LineNumber": 37
            }
        },
        "Message": "'{{ resolve:ssm:/SQS_Queue/SQS_ARN }}' has spaces and will not be resolved as a dynamic reference. Remove spaces from '{{resolve:...}}'",
        "ParentId": null,
        "Rule": {
            "Description": "Dynamic references with spaces between '{{' and 'resolve' will not be resolved by CloudFormation and will be treated as a literal string",
            "Id": "W1053",
            "ShortDescription": "Dynamic references should not contain spaces",
            "Source": "https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/dynamic-references.html"
        }
    }
]
