@@ -32,31 +32,27 @@ type Topic struct {
3232
3333// ResourceIndex - The resource index for a nitric stack
3434type ResourceIndex struct {
35- Buckets map [string ]AwsResourceArn `json:"buckets"`
36- Topics map [string ]Topic `json:"topics"`
37- KvStores map [string ]AwsResourceArn `json:"kvStores"`
38- Queues map [string ]AwsResourceArn `json:"queues"`
39- Secrets map [string ]AwsResourceArn `json:"secrets"`
40- Apis map [string ]ApiGateway `json:"apis"`
41- HttpProxies map [string ]ApiGateway `json:"httpProxies"`
42- Websockets map [string ]ApiGateway `json:"websockets"`
43- Schedules map [string ]AwsResourceArn `json:"schedules"`
44- Distributions map [string ]AwsResourceArn `json:"distributions"`
45- WebsiteBuckets map [string ]AwsResourceArn `json:"websiteBuckets"`
35+ Buckets map [string ]AwsResourceArn `json:"buckets"`
36+ Topics map [string ]Topic `json:"topics"`
37+ KvStores map [string ]AwsResourceArn `json:"kvStores"`
38+ Queues map [string ]AwsResourceArn `json:"queues"`
39+ Secrets map [string ]AwsResourceArn `json:"secrets"`
40+ Apis map [string ]ApiGateway `json:"apis"`
41+ HttpProxies map [string ]ApiGateway `json:"httpProxies"`
42+ Websockets map [string ]ApiGateway `json:"websockets"`
43+ Schedules map [string ]AwsResourceArn `json:"schedules"`
4644}
4745
4846func NewResourceIndex () * ResourceIndex {
4947 return & ResourceIndex {
50- Buckets : make (map [string ]AwsResourceName ),
51- Topics : make (map [string ]Topic ),
52- KvStores : make (map [string ]AwsResourceArn ),
53- Queues : make (map [string ]AwsResourceArn ),
54- Secrets : make (map [string ]AwsResourceArn ),
55- Apis : make (map [string ]ApiGateway ),
56- HttpProxies : make (map [string ]ApiGateway ),
57- Websockets : make (map [string ]ApiGateway ),
58- Schedules : make (map [string ]AwsResourceArn ),
59- Distributions : make (map [string ]AwsResourceArn ),
60- WebsiteBuckets : make (map [string ]AwsResourceArn ),
48+ Buckets : make (map [string ]AwsResourceName ),
49+ Topics : make (map [string ]Topic ),
50+ KvStores : make (map [string ]AwsResourceArn ),
51+ Queues : make (map [string ]AwsResourceArn ),
52+ Secrets : make (map [string ]AwsResourceArn ),
53+ Apis : make (map [string ]ApiGateway ),
54+ HttpProxies : make (map [string ]ApiGateway ),
55+ Websockets : make (map [string ]ApiGateway ),
56+ Schedules : make (map [string ]AwsResourceArn ),
6157 }
6258}
0 commit comments