Skip to content

Unable to specify List as return type for Mapping #38

@NOtherDev

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.

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