@@ -132,7 +132,7 @@ export function override(resources: AmplifyApiGraphQlResourceStackTemplate) {
132132
133133### Example - Configure OpenSearch instance version
134134
135- Override the elasticsearchVersion in the OpenSearch domain created by @searchable
135+ Override the elasticsearchVersion in the OpenSearch domain created by ' @searchable '
136136
137137``` ts
138138import { AmplifyApiGraphQlResourceStackTemplate } from ' @aws-amplify/cli-extensibility-helper' ;
@@ -143,7 +143,7 @@ export function override(resources: AmplifyApiGraphQlResourceStackTemplate) {
143143```
144144### Example - Configure OpenSearch instance type
145145
146- Override the type of instance launched into the OpenSearch domain created by @searchable
146+ Override the type of instance launched into the OpenSearch domain created by ' @searchable '
147147
148148``` ts
149149import { AmplifyApiGraphQlResourceStackTemplate } from ' @aws-amplify/cli-extensibility-helper' ;
@@ -152,12 +152,11 @@ export function override(resources: AmplifyApiGraphQlResourceStackTemplate) {
152152 resources .opensearch .OpenSearchDomain .elasticsearchClusterConfig = {
153153 ... resources .opensearch .OpenSearchDomain .elasticsearchClusterConfig ,
154154 instanceType: " m5.large.search"
155- }
156-
155+ }
157156}
158157```
159158### Example - Configure OpenSearch instance count
160- Override the number of instances launched into the OpenSearch domain created by @searchable
159+ Override the number of instances launched into the OpenSearch domain created by ' @searchable '
161160
162161``` ts
163162import { AmplifyApiGraphQlResourceStackTemplate } from ' @aws-amplify/cli-extensibility-helper' ;
@@ -166,23 +165,21 @@ export function override(resources: AmplifyApiGraphQlResourceStackTemplate) {
166165 resources .opensearch .OpenSearchDomain .elasticsearchClusterConfig = {
167166 ... resources .opensearch .OpenSearchDomain .elasticsearchClusterConfig ,
168167 instanceCount: 2
169- }
170-
168+ }
171169}
172170```
173171
174172### Example - Configure OpenSearch EBS volume size
175- Override the amount of disk space allocated to each instance in the OpenSearch domain created by @searchable
173+ Override the amount of disk space allocated to each instance in the OpenSearch domain created by ' @searchable '
176174
177175``` ts
178176import { AmplifyApiGraphQlResourceStackTemplate } from ' @aws-amplify/cli-extensibility-helper' ;
179177
180178export function override(resources : AmplifyApiGraphQlResourceStackTemplate ) {
181179 resources .opensearch .OpenSearchDomain .ebsOptions = {
182- ... resources .opensearch .OpenSearchDomain .ebsOptions ,
183- volumeSize:10
184- }
185-
180+ ... resources .opensearch .OpenSearchDomain .ebsOptions ,
181+ volumeSize:10
182+ }
186183}
187184```
188185
@@ -265,4 +262,4 @@ To map the CreatePostResolver and the relational resolvers to a stack named 'MyC
265262 "BlogpostsResolver" : "MyCustomStack" ,
266263 "PostblogResolver" : "MyCustomStack" ,
267264}
268- ```
265+ ```
0 commit comments