-
Notifications
You must be signed in to change notification settings - Fork 0
/
sc-enduser-iam.yml
35 lines (33 loc) · 1.02 KB
/
sc-enduser-iam.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
Description: "ServiceCatalog End User policy and group (fdp-1p4dlgcp7)"
Resources:
SCEnduserGroup:
Type: AWS::IAM::Group
Properties:
GroupName: ServiceCatalogEndusers
ManagedPolicyArns:
- arn:aws:iam::aws:policy/AWSServiceCatalogEndUserFullAccess
Path: /
SCEnduserRole:
Type: AWS::IAM::Role
Properties:
RoleName: ServiceCatalogEndusers
ManagedPolicyArns:
- arn:aws:iam::aws:policy/AWSServiceCatalogEndUserFullAccess
Path: /
AssumeRolePolicyDocument:
Version: 2012-10-17
Statement:
- Effect: Allow
Principal:
AWS: !Sub 'arn:aws:iam::${AWS::AccountId}:root'
Action:
- 'sts:AssumeRole'
Outputs:
EndUserGroupArn:
Value: !GetAtt SCEnduserGroup.Arn
EndUserGroupName:
Value: !Ref SCEnduserGroup
EndUserRoleArn:
Value: !GetAtt SCEnduserRole.Arn
EndUserRoleName:
Value: !Ref SCEnduserRole