public static interface CfnDomain.ColdStorageOptionsProperty
The
AWS::Elasticsearch::Domain
resource is being replaced by the AWS::OpenSearchService::Domain resource. While the legacy Elasticsearch resource and options are still supported, we recommend modifying your existing Cloudformation templates to use the new OpenSearch Service resource, which supports both OpenSearch and Elasticsearch. For more information about the service rename, see New resource types in the Amazon OpenSearch Service Developer Guide .
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.elasticsearch.*; ColdStorageOptionsProperty coldStorageOptionsProperty = ColdStorageOptionsProperty.builder() .enabled(false) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnDomain.ColdStorageOptionsProperty.Builder
A builder for
CfnDomain.ColdStorageOptionsProperty |
static class |
CfnDomain.ColdStorageOptionsProperty.Jsii$Proxy
An implementation for
CfnDomain.ColdStorageOptionsProperty |
Modifier and Type | Method and Description |
---|---|
static CfnDomain.ColdStorageOptionsProperty.Builder |
builder() |
default java.lang.Object |
getEnabled()
Whether to enable or disable cold storage on the domain.
|
default java.lang.Object getEnabled()
You must enable UltraWarm storage in order to enable cold storage.
static CfnDomain.ColdStorageOptionsProperty.Builder builder()