-
Notifications
You must be signed in to change notification settings - Fork 0
/
sc-product-rds-postgresql.json
65 lines (64 loc) · 2.46 KB
/
sc-product-rds-postgresql.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": "Linux RDS Postgres ServiceCatalog product. (fdp-1p4dlgcpr)",
"Parameters":
{
"PortfolioProvider": {
"Type":"String",
"Description":"Owner and Distributor Name"
},
"LaunchConstraintARN": {
"Type":"String",
"Description":"ARN of the launch constraint role for RDS 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": {
"scrdsproduct": {
"Type": "AWS::ServiceCatalog::CloudFormationProduct",
"Properties": {
"Name": "Amazon RDS PostgreSQL Database",
"Description": "This product builds an Amazon AWS RDS PostgreSQL master database instance with options for a single instance or multi-az instances.",
"Owner": {"Ref":"PortfolioProvider"},
"Distributor": {"Ref":"PortfolioProvider"},
"SupportDescription": "Operations Team",
"SupportEmail": "support@yourcompany.com",
"AcceptLanguage": "en",
"SupportUrl": "http://helpdesk.yourcompany.com",
"ProvisioningArtifactParameters": [
{
"Description": "baseline version",
"Info": {
"LoadTemplateFromURL": {"Fn::Sub": "${RepoRootURL}rds/sc-rds-postgresql-ra.json"}
},
"Name": "v1.0"
}
]
}
},
"Associaterds":{
"Type" : "AWS::ServiceCatalog::PortfolioProductAssociation",
"Properties" : {
"PortfolioId" : {"Ref":"PortfolioId"},
"ProductId" : {"Ref":"scrdsproduct"}
}
},
"constraintrds":{
"Type" : "AWS::ServiceCatalog::LaunchRoleConstraint",
"DependsOn" : "Associaterds",
"Properties" : {
"PortfolioId" : {"Ref":"PortfolioId"},
"ProductId" : {"Ref":"scrdsproduct"},
"RoleArn" : {"Ref":"LaunchConstraintARN"},
"Description": {"Ref":"LaunchConstraintARN"}
}
}
}
}