@Stability(value=Stable)
public static interface CfnDomain.ColdStorageOptionsProperty
extends software.amazon.jsii.JsiiSerializable
The
AWS::Elasticsearch::Domainresource 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 Object |
getEnabled()
Whether to enable or disable cold storage on the domain.
|
@Stability(value=Stable) @Nullable default Object getEnabled()
You must enable UltraWarm storage in order to enable cold storage.
@Stability(value=Stable) static CfnDomain.ColdStorageOptionsProperty.Builder builder()
Copyright © 2022. All rights reserved.