|
1 | 1 | from typing import Any, Dict, List, Optional
|
2 | 2 |
|
3 |
| -from samtranslator.model import PropertyType, Resource |
| 3 | +from samtranslator.model import GeneratedProperty, Resource |
4 | 4 | from samtranslator.model.intrinsics import fnGetAtt, ref
|
5 |
| -from samtranslator.model.types import IS_DICT, IS_STR, list_of |
6 | 5 |
|
7 | 6 |
|
8 | 7 | class StepFunctionsStateMachine(Resource):
|
9 | 8 | resource_type = "AWS::StepFunctions::StateMachine"
|
10 | 9 | property_types = {
|
11 |
| - "Definition": PropertyType(False, IS_DICT), |
12 |
| - "DefinitionString": PropertyType(False, IS_STR), |
13 |
| - "DefinitionS3Location": PropertyType(False, IS_DICT), |
14 |
| - "LoggingConfiguration": PropertyType(False, IS_DICT), |
15 |
| - "RoleArn": PropertyType(True, IS_STR), |
16 |
| - "StateMachineName": PropertyType(False, IS_STR), |
17 |
| - "StateMachineType": PropertyType(False, IS_STR), |
18 |
| - "Tags": PropertyType(False, list_of(IS_DICT)), |
19 |
| - "DefinitionSubstitutions": PropertyType(False, IS_DICT), |
20 |
| - "TracingConfiguration": PropertyType(False, IS_DICT), |
| 10 | + "Definition": GeneratedProperty(), |
| 11 | + "DefinitionString": GeneratedProperty(), |
| 12 | + "DefinitionS3Location": GeneratedProperty(), |
| 13 | + "LoggingConfiguration": GeneratedProperty(), |
| 14 | + "RoleArn": GeneratedProperty(), |
| 15 | + "StateMachineName": GeneratedProperty(), |
| 16 | + "StateMachineType": GeneratedProperty(), |
| 17 | + "Tags": GeneratedProperty(), |
| 18 | + "DefinitionSubstitutions": GeneratedProperty(), |
| 19 | + "TracingConfiguration": GeneratedProperty(), |
21 | 20 | }
|
22 | 21 |
|
23 | 22 | Definition: Optional[Dict[str, Any]]
|
|
0 commit comments