# Copyright (c) 2012-2024, Mark Peek <mark@peek.org>
# All rights reserved.
#
# See LICENSE file for full license.
#
# *** Do not modify - this file is autogenerated ***
from . import AWSObject, AWSProperty, PropsDictType, Tags
from .validators.resourcegroups import resourcequery_type
[docs]class ConfigurationParameter(AWSProperty):
"""
`ConfigurationParameter <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resourcegroups-group-configurationparameter.html>`__
"""
props: PropsDictType = {
"Name": (str, False),
"Values": ([str], False),
}
[docs]class ConfigurationItem(AWSProperty):
"""
`ConfigurationItem <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resourcegroups-group-configurationitem.html>`__
"""
props: PropsDictType = {
"Parameters": ([ConfigurationParameter], False),
"Type": (str, False),
}
[docs]class TagFilter(AWSProperty):
"""
`TagFilter <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resourcegroups-group-tagfilter.html>`__
"""
props: PropsDictType = {
"Key": (str, False),
"Values": ([str], False),
}
[docs]class Query(AWSProperty):
"""
`Query <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resourcegroups-group-query.html>`__
"""
props: PropsDictType = {
"ResourceTypeFilters": ([str], False),
"StackIdentifier": (str, False),
"TagFilters": ([TagFilter], False),
}
[docs]class ResourceQuery(AWSProperty):
"""
`ResourceQuery <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resourcegroups-group-resourcequery.html>`__
"""
props: PropsDictType = {
"Query": (Query, False),
"Type": (resourcequery_type, False),
}
[docs]class Group(AWSObject):
"""
`Group <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-resourcegroups-group.html>`__
"""
resource_type = "AWS::ResourceGroups::Group"
props: PropsDictType = {
"Configuration": ([ConfigurationItem], False),
"Description": (str, False),
"Name": (str, True),
"ResourceQuery": (ResourceQuery, False),
"Resources": ([str], False),
"Tags": (Tags, False),
}