Skip to content

Unclear possible values for contentType in AppConfig CDK #35093

@jeqcho

Description

@jeqcho

/**
* The configuration content type.
*/
public abstract readonly contentType: string;

All constructor methods for ConfigurationContent accept the contentType parameter, but no guidance is found here nor the docs as to which strings are valid (e.g. I found text/plain in the guide, but I can only guess if text/json, text/yaml are also accepted). It will be helpful if this is clarified in the docstring.

Metadata

Metadata

Assignees

No one assigned

    Labels

    @aws-cdk/aws-appconfigRelated to AWS AppConfigdocumentationThis is a problem with documentation.effort/smallSmall work item – less than a day of effortp3

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions