Skip to content

Commit ce52c7e

Browse files
authored
feat(opensearchservice): cold storage option (#29387)
Closes #29366. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent 11621e7 commit ce52c7e

12 files changed

+569
-0
lines changed

packages/@aws-cdk-testing/framework-integ/test/aws-opensearchservice/test/integ.opensearch.coldstorage.js.snapshot/OpenSearchColdStorageIntegDefaultTestDeployAssert73848187.assets.json

+19
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@aws-cdk-testing/framework-integ/test/aws-opensearchservice/test/integ.opensearch.coldstorage.js.snapshot/OpenSearchColdStorageIntegDefaultTestDeployAssert73848187.template.json

+36
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@aws-cdk-testing/framework-integ/test/aws-opensearchservice/test/integ.opensearch.coldstorage.js.snapshot/cdk-integ-opensearch-coldstorage.assets.json

+19
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
{
2+
"Resources": {
3+
"Domain66AC69E0": {
4+
"Type": "AWS::OpenSearchService::Domain",
5+
"Properties": {
6+
"ClusterConfig": {
7+
"ColdStorageOptions": {
8+
"Enabled": true
9+
},
10+
"DedicatedMasterCount": 2,
11+
"DedicatedMasterEnabled": true,
12+
"DedicatedMasterType": "r5.large.search",
13+
"InstanceCount": 1,
14+
"InstanceType": "r5.large.search",
15+
"MultiAZWithStandbyEnabled": false,
16+
"WarmCount": 2,
17+
"WarmEnabled": true,
18+
"WarmType": "ultrawarm1.medium.search",
19+
"ZoneAwarenessEnabled": false
20+
},
21+
"DomainEndpointOptions": {
22+
"EnforceHTTPS": false,
23+
"TLSSecurityPolicy": "Policy-Min-TLS-1-0-2019-07"
24+
},
25+
"EBSOptions": {
26+
"EBSEnabled": true,
27+
"VolumeSize": 10,
28+
"VolumeType": "gp2"
29+
},
30+
"EncryptionAtRestOptions": {
31+
"Enabled": false
32+
},
33+
"EngineVersion": "Elasticsearch_7.10",
34+
"LogPublishingOptions": {},
35+
"NodeToNodeEncryptionOptions": {
36+
"Enabled": false
37+
}
38+
},
39+
"UpdateReplacePolicy": "Delete",
40+
"DeletionPolicy": "Delete"
41+
}
42+
},
43+
"Parameters": {
44+
"BootstrapVersion": {
45+
"Type": "AWS::SSM::Parameter::Value<String>",
46+
"Default": "/cdk-bootstrap/hnb659fds/version",
47+
"Description": "Version of the CDK Bootstrap resources in this environment, automatically retrieved from SSM Parameter Store. [cdk:skip]"
48+
}
49+
},
50+
"Rules": {
51+
"CheckBootstrapVersion": {
52+
"Assertions": [
53+
{
54+
"Assert": {
55+
"Fn::Not": [
56+
{
57+
"Fn::Contains": [
58+
[
59+
"1",
60+
"2",
61+
"3",
62+
"4",
63+
"5"
64+
],
65+
{
66+
"Ref": "BootstrapVersion"
67+
}
68+
]
69+
}
70+
]
71+
},
72+
"AssertDescription": "CDK bootstrap stack version 6 required. Please run 'cdk bootstrap' with a recent version of the CDK CLI."
73+
}
74+
]
75+
}
76+
}
77+
}

packages/@aws-cdk-testing/framework-integ/test/aws-opensearchservice/test/integ.opensearch.coldstorage.js.snapshot/cdk.out

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@aws-cdk-testing/framework-integ/test/aws-opensearchservice/test/integ.opensearch.coldstorage.js.snapshot/integ.json

+13
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@aws-cdk-testing/framework-integ/test/aws-opensearchservice/test/integ.opensearch.coldstorage.js.snapshot/manifest.json

+113
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)