Interface CfnCollectionProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCollectionProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-13T16:10:09.930Z")
@Stability(Stable)
public interface CfnCollectionProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnCollection.
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.opensearchserverless.*;
CfnCollectionProps cfnCollectionProps = CfnCollectionProps.builder()
.name("name")
// the properties below are optional
.description("description")
.standbyReplicas("standbyReplicas")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.type("type")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnCollectionPropsstatic final classAn implementation forCfnCollectionProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnCollectionProps.Builderbuilder()default StringA description of the collection.getName()The name of the collection.default StringIndicates whether to use standby replicas for the collection.getTags()An arbitrary set of tags (key–value pairs) to associate with the collection.default StringgetType()The type of collection.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getName
The name of the collection.Collection names must meet the following criteria:
- Starts with a lowercase letter
- Unique to your account and AWS Region
- Contains between 3 and 28 characters
- Contains only lowercase letters a-z, the numbers 0-9, and the hyphen (-)
- See Also:
-
getDescription
A description of the collection.- See Also:
-
getStandbyReplicas
Indicates whether to use standby replicas for the collection.You can't update this property after the collection is already created. If you attempt to modify this property, the collection continues to use the original value.
- See Also:
-
getTags
An arbitrary set of tags (key–value pairs) to associate with the collection.For more information, see Tag .
- See Also:
-
getType
The type of collection.Possible values are
SEARCH,TIMESERIES, andVECTORSEARCH. For more information, see Choosing a collection type .- See Also:
-
builder
- Returns:
- a
CfnCollectionProps.BuilderofCfnCollectionProps
-