cloudtools / troposphere

troposphere - Python library to create AWS CloudFormation descriptions
BSD 2-Clause "Simplified" License
4.93k stars 1.45k forks source link

AppConfig support for HostedConfigurationVersion #1868

Closed NikBharrat closed 3 years ago

NikBharrat commented 3 years ago

AppConfig should be updated with the HostedConfigurationVersion resource. See more here https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-hostedconfigurationversion.html

PR created here: https://github.com/cloudtools/troposphere/pull/1870

The code to be added to AppConfig.py would look something like this:


class HostedConfigurationVersion(AWSObject):
    resource_type = "AWS::AppConfig::HostedConfigurationVersion"

    props = {
        'ApplicationId': (basestring, True),
        'ConfigurationProfileId': (basestring, True),
        'Content': (basestring, True),
        'ContentType': (basestring, True),
        'Description': (basestring, False),
        'LatestVersionNumber': (double, False),
    }
markpeek commented 3 years ago

Fixed via #1870. Thanks!