-
Notifications
You must be signed in to change notification settings - Fork 227
/
sc-product-s3-private-trans.json
65 lines (64 loc) · 2.43 KB
/
sc-product-s3-private-trans.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": "S3 private Transition ServiceCatalog product. (fdp-1p4dlgcks)",
"Parameters":
{
"PortfolioProvider": {
"Type":"String",
"Description":"Owner and Distributor Name"
},
"LaunchConstraintARN": {
"Type":"String",
"Description":"ARN of the launch constraint role for S3 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": {
"scs3product": {
"Type": "AWS::ServiceCatalog::CloudFormationProduct",
"Properties": {
"Name": "Amazon S3 Private Bucket with Transition Ruleset",
"Description": "This product builds an Amazon AWS S3 bucket with a transition ruleset to S3-IA and Glacier.",
"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}s3/sc-s3-transition-ra.json"}
},
"Name": "v1.0"
}
]
}
},
"Associates3":{
"Type" : "AWS::ServiceCatalog::PortfolioProductAssociation",
"Properties" : {
"PortfolioId" : {"Ref":"PortfolioId"},
"ProductId" : {"Ref":"scs3product"}
}
},
"constraintec2linux":{
"Type" : "AWS::ServiceCatalog::LaunchRoleConstraint",
"DependsOn" : "Associates3",
"Properties" : {
"PortfolioId" : {"Ref":"PortfolioId"},
"ProductId" : {"Ref":"scs3product"},
"RoleArn" : {"Ref":"LaunchConstraintARN"},
"Description": {"Ref":"LaunchConstraintARN"}
}
}
}
}