Skip to content

Unable to specify List as return type for Mapping #38

Description

@NOtherDev

Specifying List type as a value in Mapping is supported by CloudFormation:

Mapping: {
    Certificates: {
        stage: {
            ARNs: [
                {CertificateArn: "ASDF"},
                {CertificateArn: "GHJK"},
            ]
        }
    }
}

This is a valid construct, but cloudform rejects it expecting string | number | string[] as the 2nd-level value.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions