-
Notifications
You must be signed in to change notification settings - Fork 227
/
Copy pathsc-launchrole-createall.json
68 lines (68 loc) · 2.38 KB
/
sc-launchrole-createall.json
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
{
"AWSTemplateFormatVersion": "2010-09-09",
"Description": "Create all Roles for ServiceCatalog RA launch constraints. (fdp-1p5rtpgm8)",
"Parameters":
{
"RepoRootURL": {
"Type":"String",
"Description":"Root url for the repo containing the product templates.",
"Default":"https://s3.amazonaws.com/aws-service-catalog-reference-architectures/"
}
},
"Resources": {
"ec2vpcCLaunchConstraintRole": {
"Type" : "AWS::CloudFormation::Stack",
"Properties" : {
"TemplateURL" : {"Fn::Sub": "${RepoRootURL}iam/sc-ec2vpc-launchrole.yml"},
"TimeoutInMinutes" : 5
}
},
"emrLaunchConstraintRole": {
"Type" : "AWS::CloudFormation::Stack",
"Properties" : {
"TemplateURL" : {"Fn::Sub": "${RepoRootURL}iam/sc-emr-launchrole.yml"},
"TimeoutInMinutes" : 5
}
},
"rdsLaunchConstraintRole": {
"Type" : "AWS::CloudFormation::Stack",
"Properties" : {
"TemplateURL" : {"Fn::Sub": "${RepoRootURL}iam/sc-rds-launchrole.yml"},
"TimeoutInMinutes" : 5
}
},
"s3LaunchConstraintRole": {
"Type" : "AWS::CloudFormation::Stack",
"Properties" : {
"TemplateURL" : {"Fn::Sub": "${RepoRootURL}iam/sc-s3-launchrole.yml"},
"TimeoutInMinutes" : 5
}
}
},
"Outputs": {
"ec2vpcLaunchConstraintRoleARN":{
"Value": { "Fn::GetAtt":["ec2vpcCLaunchConstraintRole", "Outputs.LaunchRoleArn"] },
"Export" : {
"Name" : "sc-ec2vpc-launchconstraint-role"
}
},
"s3LaunchConstraintRoleARN":{
"Value": { "Fn::GetAtt":["s3LaunchConstraintRole", "Outputs.LaunchRoleArn"] },
"Export" : {
"Name" : "sc-s3-launchconstraint-role"
}
},
"rdsLaunchConstraintRoleARN":{
"Value": { "Fn::GetAtt":["rdsLaunchConstraintRole", "Outputs.LaunchRoleArn"] },
"Export" : {
"Name" : "sc-rds-launchconstraint-role"
}
},
"emrLaunchConstraintRoleARN":{
"Value": { "Fn::GetAtt":["emrLaunchConstraintRole", "Outputs.LaunchRoleArn"] },
"Export" : {
"Name" : "sc-emr-launchconstraint-role"
}
}
}
}