From 8ef17267dcad7aa8e84add700e937d77d034f786 Mon Sep 17 00:00:00 2001 From: pinkieee Date: Sun, 31 Jul 2016 20:41:48 -0400 Subject: [PATCH] Add Name attributes for IAM groups and roles (#535) http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-group.html#cfn-iam-group-groupname http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-role.html#cfn-iam-role-rolename --- troposphere/iam.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/troposphere/iam.py b/troposphere/iam.py index cc27629b1..b1cdea080 100644 --- a/troposphere/iam.py +++ b/troposphere/iam.py @@ -56,6 +56,7 @@ def validate_title(self): resource_type = "AWS::IAM::Group" props = { + 'GroupName': (iam_group_name, False), 'ManagedPolicyArns': ([basestring], False), 'Path': (iam_path, False), 'Policies': ([Policy], False), @@ -82,6 +83,7 @@ def validate_title(self): 'ManagedPolicyArns': ([basestring], False), 'Path': (iam_path, False), 'Policies': ([Policy], False), + 'RoleName': (iam_role_name, False), }