-
Notifications
You must be signed in to change notification settings - Fork 0
/
sc-product-emrsparkhbase.json
65 lines (64 loc) · 2.43 KB
/
sc-product-emrsparkhbase.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": "EMR Spark Hbase ServiceCatalog product. (fdp-1p4dlgco4)",
"Parameters":
{
"PortfolioProvider": {
"Type":"String",
"Description":"Owner and Distributor Name"
},
"LaunchConstraintARN": {
"Type":"String",
"Description":"ARN of the launch constraint role for EMR 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": {
"scemrproduct": {
"Type": "AWS::ServiceCatalog::CloudFormationProduct",
"Properties": {
"Name": "EMR cluster for Spark or S3 backed Hbase",
"Description": "This product builds an Amazon Elastic MapReduce cluster for Spark or S3 backed Hbase best practices.",
"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}emr/sc-emr-SparkHbase.json"}
},
"Name": "v1.1"
}
]
}
},
"Associateemr":{
"Type" : "AWS::ServiceCatalog::PortfolioProductAssociation",
"Properties" : {
"PortfolioId" : {"Ref":"PortfolioId"},
"ProductId" : {"Ref":"scemrproduct"}
}
},
"constraintecemr":{
"Type" : "AWS::ServiceCatalog::LaunchRoleConstraint",
"DependsOn" : "Associateemr",
"Properties" : {
"PortfolioId" : {"Ref":"PortfolioId"},
"ProductId" : {"Ref":"scemrproduct"},
"RoleArn" : {"Ref":"LaunchConstraintARN"},
"Description": {"Ref":"LaunchConstraintARN"}
}
}
}
}