Class CfnIndexPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnIndexPropsMixin>
- Enclosing class:
CfnIndexPropsMixin
CfnIndexPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Specifies additional capacity units configured for your Enterprise Edition index.capacityUnits(IResolvable capacityUnits) Specifies additional capacity units configured for your Enterprise Edition index.static CfnIndexPropsMixin.Buildercreate()static CfnIndexPropsMixin.Buildercreate(CfnPropertyMixinOptions options) description(String description) A description for the index.documentMetadataConfigurations(List<? extends Object> documentMetadataConfigurations) Specifies the properties of an index field.documentMetadataConfigurations(IResolvable documentMetadataConfigurations) Specifies the properties of an index field.Indicates whether the index is a Enterprise Edition index, a Developer Edition index, or a GenAI Enterprise Edition index.The name of the index.An IAM role that gives Amazon Kendra permissions to access your Amazon CloudWatch logs and metrics.An IAM role that gives Amazon Kendra permissions to access your Amazon CloudWatch logs and metrics.serverSideEncryptionConfiguration(CfnIndexPropsMixin.ServerSideEncryptionConfigurationProperty serverSideEncryptionConfiguration) The identifier of the AWS KMS customer managed key (CMK) to use to encrypt data indexed by Amazon Kendra.serverSideEncryptionConfiguration(IResolvable serverSideEncryptionConfiguration) The identifier of the AWS KMS customer managed key (CMK) to use to encrypt data indexed by Amazon Kendra.An array of key-value pairs to apply to this resource.userContextPolicy(String userContextPolicy) The user context policy.userTokenConfigurations(List<? extends Object> userTokenConfigurations) Defines the type of user token used for the index.userTokenConfigurations(IResolvable userTokenConfigurations) Defines the type of user token used for the index.
-
Method Details
-
create
- Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnIndexPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnIndexPropsMixin.Builder.
-
capacityUnits
Specifies additional capacity units configured for your Enterprise Edition index.You can add and remove capacity units to fit your usage requirements.
- Parameters:
capacityUnits- Specifies additional capacity units configured for your Enterprise Edition index. This parameter is required.- Returns:
this- See Also:
-
capacityUnits
@Stability(Stable) public CfnIndexPropsMixin.Builder capacityUnits(CfnIndexPropsMixin.CapacityUnitsConfigurationProperty capacityUnits) Specifies additional capacity units configured for your Enterprise Edition index.You can add and remove capacity units to fit your usage requirements.
- Parameters:
capacityUnits- Specifies additional capacity units configured for your Enterprise Edition index. This parameter is required.- Returns:
this- See Also:
-
description
A description for the index.- Parameters:
description- A description for the index. This parameter is required.- Returns:
this- See Also:
-
documentMetadataConfigurations
@Stability(Stable) public CfnIndexPropsMixin.Builder documentMetadataConfigurations(IResolvable documentMetadataConfigurations) Specifies the properties of an index field.You can add either a custom or a built-in field. You can add and remove built-in fields at any time. When a built-in field is removed it's configuration reverts to the default for the field. Custom fields can't be removed from an index after they are added.
- Parameters:
documentMetadataConfigurations- Specifies the properties of an index field. This parameter is required.- Returns:
this- See Also:
-
documentMetadataConfigurations
@Stability(Stable) public CfnIndexPropsMixin.Builder documentMetadataConfigurations(List<? extends Object> documentMetadataConfigurations) Specifies the properties of an index field.You can add either a custom or a built-in field. You can add and remove built-in fields at any time. When a built-in field is removed it's configuration reverts to the default for the field. Custom fields can't be removed from an index after they are added.
- Parameters:
documentMetadataConfigurations- Specifies the properties of an index field. This parameter is required.- Returns:
this- See Also:
-
edition
Indicates whether the index is a Enterprise Edition index, a Developer Edition index, or a GenAI Enterprise Edition index.- Parameters:
edition- Indicates whether the index is a Enterprise Edition index, a Developer Edition index, or a GenAI Enterprise Edition index. This parameter is required.- Returns:
this- See Also:
-
name
The name of the index.- Parameters:
name- The name of the index. This parameter is required.- Returns:
this- See Also:
-
roleArn
An IAM role that gives Amazon Kendra permissions to access your Amazon CloudWatch logs and metrics.This is also the role used when you use the BatchPutDocument operation to index documents from an Amazon S3 bucket.
- Parameters:
roleArn- An IAM role that gives Amazon Kendra permissions to access your Amazon CloudWatch logs and metrics. This parameter is required.- Returns:
this- See Also:
-
roleArn
An IAM role that gives Amazon Kendra permissions to access your Amazon CloudWatch logs and metrics.This is also the role used when you use the BatchPutDocument operation to index documents from an Amazon S3 bucket.
- Parameters:
roleArn- An IAM role that gives Amazon Kendra permissions to access your Amazon CloudWatch logs and metrics. This parameter is required.- Returns:
this- See Also:
-
serverSideEncryptionConfiguration
@Stability(Stable) public CfnIndexPropsMixin.Builder serverSideEncryptionConfiguration(IResolvable serverSideEncryptionConfiguration) The identifier of the AWS KMS customer managed key (CMK) to use to encrypt data indexed by Amazon Kendra.Amazon Kendra doesn't support asymmetric CMKs.
- Parameters:
serverSideEncryptionConfiguration- The identifier of the AWS KMS customer managed key (CMK) to use to encrypt data indexed by Amazon Kendra. This parameter is required.- Returns:
this- See Also:
-
serverSideEncryptionConfiguration
@Stability(Stable) public CfnIndexPropsMixin.Builder serverSideEncryptionConfiguration(CfnIndexPropsMixin.ServerSideEncryptionConfigurationProperty serverSideEncryptionConfiguration) The identifier of the AWS KMS customer managed key (CMK) to use to encrypt data indexed by Amazon Kendra.Amazon Kendra doesn't support asymmetric CMKs.
- Parameters:
serverSideEncryptionConfiguration- The identifier of the AWS KMS customer managed key (CMK) to use to encrypt data indexed by Amazon Kendra. This parameter is required.- Returns:
this- See Also:
-
tags
An array of key-value pairs to apply to this resource.For more information, see Tag .
- Parameters:
tags- An array of key-value pairs to apply to this resource. This parameter is required.- Returns:
this- See Also:
-
userContextPolicy
The user context policy.ATTRIBUTE_FILTER
- All indexed content is searchable and displayable for all users. If you want to filter search results on user context, you can use the attribute filters of
_user_idand_group_idsor you can provide user and group information inUserContext.
USER_TOKEN
- Enables token-based user access control to filter search results on user context. All documents with no access control and all documents accessible to the user will be searchable and displayable.
- Parameters:
userContextPolicy- The user context policy. This parameter is required.- Returns:
this- See Also:
- All indexed content is searchable and displayable for all users. If you want to filter search results on user context, you can use the attribute filters of
-
userTokenConfigurations
@Stability(Stable) public CfnIndexPropsMixin.Builder userTokenConfigurations(IResolvable userTokenConfigurations) Defines the type of user token used for the index.- Parameters:
userTokenConfigurations- Defines the type of user token used for the index. This parameter is required.- Returns:
this- See Also:
-
userTokenConfigurations
@Stability(Stable) public CfnIndexPropsMixin.Builder userTokenConfigurations(List<? extends Object> userTokenConfigurations) Defines the type of user token used for the index.- Parameters:
userTokenConfigurations- Defines the type of user token used for the index. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnIndexPropsMixin>- Returns:
- a newly built instance of
CfnIndexPropsMixin.
-