Skip to content

Commit b69b85d

Browse files
vasinovmarkpeek
authored andcommitted
Update fis.py (#1887)
Even though the CF docs say [1] that FIS resource keys are in camelCase they are actually in PascalCase (just like any other standard AWS resource). It's easily testable by submitting a CF template. I'm contacting AWS to notify them about this discrepancy. 1. https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fis-experimenttemplate-experimenttemplateaction.html
1 parent 23a112c commit b69b85d

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

troposphere/fis.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,19 @@
1313

1414
class ExperimentTemplateStopCondition(AWSProperty):
1515
props = {
16-
'source': (basestring, True),
17-
'value': (basestring, False),
16+
"Source": (str, True),
17+
"Value": (str, False),
1818
}
1919

2020

2121
class ExperimentTemplate(AWSObject):
2222
resource_type = "AWS::FIS::ExperimentTemplate"
2323

2424
props = {
25-
'actions': (dict, False),
26-
'description': (basestring, True),
27-
'roleArn': (basestring, True),
28-
'stopConditions': ([ExperimentTemplateStopCondition], True),
29-
'tags': (dict, True),
30-
'targets': (dict, True),
25+
"Actions": (dict, False),
26+
"Description": (str, True),
27+
"RoleArn": (str, True),
28+
"StopConditions": ([ExperimentTemplateStopCondition], True),
29+
"Tags": (dict, True),
30+
"Targets": (dict, True),
3131
}

0 commit comments

Comments
 (0)