You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/@aws-cdk-testing/framework-integ/test/aws-opensearchservice/test/integ.opensearch.js.snapshot/cdk-integ-opensearch.template.json
The domain can be configured to use a daily 10-hour window considered as off-peak hours.
404
+
405
+
Off-peak windows were introduced on February 16, 2023.
406
+
All domains created before this date have the off-peak window disabled by default.
407
+
You must manually enable and configure the off-peak window for these domains.
408
+
All domains created after this date will have the off-peak window enabled by default.
409
+
You can't disable the off-peak window for a domain after it's enabled.
410
+
411
+
> Visit [Defining off-peak windows for Amazon OpenSearch Service](https://docs.aws.amazon.com/opensearch-service/latest/developerguide/off-peak.html) for more details.
412
+
413
+
```ts
414
+
const domain =newDomain(this, 'Domain', {
415
+
version: EngineVersion.OPENSEARCH_1_3,
416
+
offPeakWindowEnabled: true, // can be omitted if offPeakWindowStart is set
417
+
offPeakWindowStart: {
418
+
hours: 20,
419
+
minutes: 0,
420
+
},
421
+
});
422
+
```
423
+
424
+
## Configuring service software updates
425
+
426
+
The domain can be configured to use service software updates.
427
+
428
+
> Visit [Service software updates in Amazon OpenSearch Service](https://docs.aws.amazon.com/opensearch-service/latest/developerguide/service-software.html) for more details.
0 commit comments