From 89dabbc8355bada91a860e1bfe5e61781f063d6c Mon Sep 17 00:00:00 2001 From: Thomas Rhoads Date: Tue, 17 Nov 2020 16:28:04 -0500 Subject: [PATCH] Adding in additional SecurityServicePolicyData sub-class. --- troposphere/fms.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/troposphere/fms.py b/troposphere/fms.py index 858683608..581305411 100644 --- a/troposphere/fms.py +++ b/troposphere/fms.py @@ -28,7 +28,7 @@ class Policy(AWSObject): 'ResourceTags': (Tags, False), 'ResourceType': (basestring, True), 'ResourceTypeList': ([basestring], True), - 'SecurityServicePolicyData': (json_checker, True), + 'SecurityServicePolicyData': (SecurityServicePolicyData, True), 'Tags': (Tags, False), } @@ -40,3 +40,10 @@ class NotificationChannel(AWSObject): 'SnsRoleName': (basestring, True), 'SnsTopicArn': (basestring, True), } + + +class SecurityServicePolicyData(AWSProperty): + props = { + 'Type': (basestring, True), + 'ManagedServiceData': (basestring, True) + }