Class CfnCollectionGroup
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.opensearchserverless.CfnCollectionGroup
- All Implemented Interfaces:
IInspectable,IEnvironmentAware,ICollectionGroupRef,ITaggableV2,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-11T13:19:48.233Z")
@Stability(Stable)
public class CfnCollectionGroup
extends CfnResource
implements IInspectable, ICollectionGroupRef, ITaggableV2
Resource Type definition for AWS::OpenSearchServerless::CollectionGroup.
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.*;
CfnCollectionGroup cfnCollectionGroup = CfnCollectionGroup.Builder.create(this, "MyCfnCollectionGroup")
.name("name")
.standbyReplicas("standbyReplicas")
// the properties below are optional
.capacityLimits(CapacityLimitsProperty.builder()
.maxIndexingCapacityInOcu(123)
.maxSearchCapacityInOcu(123)
.minIndexingCapacityInOcu(123)
.minSearchCapacityInOcu(123)
.build())
.description("description")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnCollectionGroup.static interfaceExample:Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.opensearchserverless.ICollectionGroupRef
ICollectionGroupRef.Jsii$Default, ICollectionGroupRef.Jsii$ProxyNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnCollectionGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnCollectionGroup(software.amazon.jsii.JsiiObjectRef objRef) CfnCollectionGroup(software.constructs.Construct scope, String id, CfnCollectionGroupProps props) Create a newAWS::OpenSearchServerless::CollectionGroup. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringarnForCollectionGroup(ICollectionGroupRef resource) static ICollectionGroupReffromCollectionGroupArn(software.constructs.Construct scope, String id, String arn) Creates a new ICollectionGroupRef from an ARN.static ICollectionGroupReffromCollectionGroupId(software.constructs.Construct scope, String id, String collectionGroupId) Creates a new ICollectionGroupRef from a collectionGroupId.The Amazon Resource Name (ARN) of the collection group.The unique identifier of the collection group.Returns union: eitherIResolvableorCfnCollectionGroup.CapacityLimitsPropertyTag Manager which manages the tags for this resource.A reference to a CollectionGroup resource.The description of the collection group.getName()The name of the collection group.Indicates whether standby replicas are used for the collection group.getTags()An array of key-value pairs to apply to this resource.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnCollectionGroup.renderProperties(Map<String, Object> props) voidsetCapacityLimits(IResolvable value) voidvoidsetDescription(String value) The description of the collection group.voidThe name of the collection group.voidsetStandbyReplicas(String value) Indicates whether standby replicas are used for the collection group.voidAn array of key-value pairs to apply to this resource.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId, withMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNode, withMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnCollectionGroup
protected CfnCollectionGroup(software.amazon.jsii.JsiiObjectRef objRef) -
CfnCollectionGroup
protected CfnCollectionGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnCollectionGroup
@Stability(Stable) public CfnCollectionGroup(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnCollectionGroupProps props) Create a newAWS::OpenSearchServerless::CollectionGroup.- Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties. This parameter is required.
-
-
Method Details
-
arnForCollectionGroup
@Stability(Stable) @NotNull public static String arnForCollectionGroup(@NotNull ICollectionGroupRef resource) - Parameters:
resource- This parameter is required.
-
fromCollectionGroupArn
@Stability(Stable) @NotNull public static ICollectionGroupRef fromCollectionGroupArn(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String arn) Creates a new ICollectionGroupRef from an ARN.- Parameters:
scope- This parameter is required.id- This parameter is required.arn- This parameter is required.
-
fromCollectionGroupId
@Stability(Stable) @NotNull public static ICollectionGroupRef fromCollectionGroupId(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String collectionGroupId) Creates a new ICollectionGroupRef from a collectionGroupId.- Parameters:
scope- This parameter is required.id- This parameter is required.collectionGroupId- This parameter is required.
-
isCfnCollectionGroup
Checks whether the given object is a CfnCollectionGroup.- Parameters:
x- This parameter is required.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrArn
The Amazon Resource Name (ARN) of the collection group. -
getAttrId
The unique identifier of the collection group. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getCollectionGroupRef
A reference to a CollectionGroup resource.- Specified by:
getCollectionGroupRefin interfaceICollectionGroupRef
-
getName
The name of the collection group. -
setName
The name of the collection group. -
getStandbyReplicas
Indicates whether standby replicas are used for the collection group. -
setStandbyReplicas
Indicates whether standby replicas are used for the collection group. -
getCapacityLimits
Returns union: eitherIResolvableorCfnCollectionGroup.CapacityLimitsProperty -
setCapacityLimits
-
setCapacityLimits
@Stability(Stable) public void setCapacityLimits(@Nullable CfnCollectionGroup.CapacityLimitsProperty value) -
getDescription
The description of the collection group. -
setDescription
The description of the collection group. -
getTags
An array of key-value pairs to apply to this resource. -
setTags
An array of key-value pairs to apply to this resource.
-