-
Notifications
You must be signed in to change notification settings - Fork 0
/
sc-product-elasticbeanstalk.json
65 lines (64 loc) · 2.45 KB
/
sc-product-elasticbeanstalk.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
{
"AWSTemplateFormatVersion": "2010-09-09",
"Description": "AWS Elastic Beanstalk Service Catalog product. (fdp-1qj64b371)",
"Parameters":
{
"PortfolioProvider": {
"Type":"String",
"Description":"Owner and Distributor Name"
},
"LaunchConstraintRole": {
"Type":"String",
"Description":"ARN of the launch constraint role for Beanstalk products."
},
"PortfolioId":{
"Type":"String",
"Description":"The ServiceCatalog portfolio this product will be attached to."
},
"RepoRootURL": {
"Type":"String",
"Description":"Root url for the repo containing the product templates."
}
},
"Resources": {
"scbeanstalkproduct": {
"Type": "AWS::ServiceCatalog::CloudFormationProduct",
"Properties": {
"Name": "AWS Elastic Beanstalk application",
"Description": "This product creates an Elastic Beanstalk application.",
"Owner": {"Ref":"PortfolioProvider"},
"Distributor": {"Ref":"PortfolioProvider"},
"SupportDescription": "Operations Team",
"SupportEmail": "[email protected]",
"AcceptLanguage": "en",
"SupportUrl": "http://helpdesk.yourcompany.com",
"ProvisioningArtifactParameters": [
{
"Description": "baseline version",
"Info": {
"LoadTemplateFromURL": {"Fn::Sub": "${RepoRootURL}elasticbeanstalk/sc-elasticbeanstalk-ra.json"}
},
"Name": "v1.0"
}
]
}
},
"Associatebeanstalk":{
"Type" : "AWS::ServiceCatalog::PortfolioProductAssociation",
"Properties" : {
"PortfolioId" : {"Ref":"PortfolioId"},
"ProductId" : {"Ref":"scbeanstalkproduct"}
}
},
"constraintbeanstalk":{
"Type" : "AWS::ServiceCatalog::LaunchRoleConstraint",
"DependsOn" : "Associatebeanstalk",
"Properties" : {
"PortfolioId" : {"Ref":"PortfolioId"},
"ProductId" : {"Ref":"scbeanstalkproduct"},
"LocalRoleName" : {"Ref":"LaunchConstraintRole"},
"Description": {"Ref":"LaunchConstraintRole"}
}
}
}
}