CfnCollectionPropsMixin
Mixin External
Specifies an OpenSearch Serverless collection.
For more information, see Creating and managing Amazon OpenSearch Serverless collections in the Amazon OpenSearch Service Developer Guide .
You must create a matching encryption policy in order for a collection to be created successfully. You can specify the policy resource within the same CloudFormation template as the collection resource if you use the DependsOn attribute. See Examples for a sample template. Otherwise the encryption policy must already exist before you create the collection.
| CloudFormation | AWS::OpenSearchServerless::Collection |
|---|---|
| Source | |
| Type last changed |
Initializer
ts
new CfnCollectionPropsMixin(props: CfnCollectionMixinProps, options?: CfnPropertyMixinOptions)
python
CfnCollectionPropsMixin(props: CfnCollectionMixinProps, options: typing.Optional[CfnPropertyMixinOptions] = None)
java
new CfnCollectionPropsMixin(CfnCollectionMixinProps props, CfnPropertyMixinOptions options)
csharp
new CfnCollectionPropsMixin(CfnCollectionMixinProps props, CfnPropertyMixinOptions? options = null)
go
NewCfnCollectionPropsMixin(Props CfnCollectionMixinProps, Options CfnPropertyMixinOptions)
Methods
applyTo(construct: IConstruct): voiddef apply_to(self, construct: IConstruct) -> Nonepublic void applyTo(IConstruct construct)public void ApplyTo(IConstruct construct)func ApplyTo(Construct IConstruct) #Apply the mixin properties to the construct.
isMixin(x: any): boolean@staticmethod def is_mixin(x: Any) -> boolpublic static Boolean isMixin(Object x)public static bool IsMixin(object x)func IsMixin(X interface{}) *bool static #Checks if `x` is a Mixin.
1 parameter · returns
Parameters
xxxxX— Any object.
Returns: true if x is an object created from a class which extends Mixin.
supports(construct: IConstruct): booleandef supports(self, construct: IConstruct) -> boolpublic Boolean supports(IConstruct construct)public bool Supports(IConstruct construct)func Supports(Construct IConstruct) *bool #Check if this mixin supports the given construct.