Skip to content

Commit 4355652

Browse files
committed
Auto-generate CE
1 parent b7ffc65 commit 4355652

File tree

1 file changed

+25
-7
lines changed

1 file changed

+25
-7
lines changed

troposphere/ce.py

Lines changed: 25 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,24 @@
1-
# Copyright (c) 2012-2021, Mark Peek <mark@peek.org>
1+
# Copyright (c) 2012-2022, Mark Peek <mark@peek.org>
22
# All rights reserved.
33
#
44
# See LICENSE file for full license.
55
#
66
# *** Do not modify - this file is autogenerated ***
7-
# Resource specification version: 31.0.0
7+
# Resource specification version: 51.0.0
88

99

10-
from . import AWSObject, AWSProperty
10+
from . import AWSObject, AWSProperty, PropsDictType
1111
from .validators import double
1212

1313

1414
class AnomalyMonitor(AWSObject):
15+
"""
16+
`AnomalyMonitor <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ce-anomalymonitor.html>`__
17+
"""
18+
1519
resource_type = "AWS::CE::AnomalyMonitor"
1620

17-
props = {
21+
props: PropsDictType = {
1822
"MonitorDimension": (str, False),
1923
"MonitorName": (str, True),
2024
"MonitorSpecification": (str, False),
@@ -23,17 +27,25 @@ class AnomalyMonitor(AWSObject):
2327

2428

2529
class Subscriber(AWSProperty):
26-
props = {
30+
"""
31+
`Subscriber <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ce-anomalysubscription-subscriber.html>`__
32+
"""
33+
34+
props: PropsDictType = {
2735
"Address": (str, True),
2836
"Status": (str, False),
2937
"Type": (str, True),
3038
}
3139

3240

3341
class AnomalySubscription(AWSObject):
42+
"""
43+
`AnomalySubscription <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ce-anomalysubscription.html>`__
44+
"""
45+
3446
resource_type = "AWS::CE::AnomalySubscription"
3547

36-
props = {
48+
props: PropsDictType = {
3749
"Frequency": (str, True),
3850
"MonitorArnList": ([str], True),
3951
"Subscribers": ([Subscriber], True),
@@ -43,10 +55,16 @@ class AnomalySubscription(AWSObject):
4355

4456

4557
class CostCategory(AWSObject):
58+
"""
59+
`CostCategory <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ce-costcategory.html>`__
60+
"""
61+
4662
resource_type = "AWS::CE::CostCategory"
4763

48-
props = {
64+
props: PropsDictType = {
65+
"DefaultValue": (str, False),
4966
"Name": (str, True),
5067
"RuleVersion": (str, True),
5168
"Rules": (str, True),
69+
"SplitChargeRules": (str, False),
5270
}

0 commit comments

Comments
 (0)