Interface CfnIndexMixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnIndexMixinProps.Jsii$Proxy
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.kendra.*;
CfnIndexMixinProps cfnIndexMixinProps = CfnIndexMixinProps.builder()
.capacityUnits(CapacityUnitsConfigurationProperty.builder()
.queryCapacityUnits(123)
.storageCapacityUnits(123)
.build())
.description("description")
.documentMetadataConfigurations(List.of(DocumentMetadataConfigurationProperty.builder()
.name("name")
.relevance(RelevanceProperty.builder()
.duration("duration")
.freshness(false)
.importance(123)
.rankOrder("rankOrder")
.valueImportanceItems(List.of(ValueImportanceItemProperty.builder()
.key("key")
.value(123)
.build()))
.build())
.search(SearchProperty.builder()
.displayable(false)
.facetable(false)
.searchable(false)
.sortable(false)
.build())
.type("type")
.build()))
.edition("edition")
.name("name")
.roleArn("roleArn")
.serverSideEncryptionConfiguration(ServerSideEncryptionConfigurationProperty.builder()
.kmsKeyId("kmsKeyId")
.build())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.userContextPolicy("userContextPolicy")
.userTokenConfigurations(List.of(UserTokenConfigurationProperty.builder()
.jsonTokenTypeConfiguration(JsonTokenTypeConfigurationProperty.builder()
.groupAttributeField("groupAttributeField")
.userNameAttributeField("userNameAttributeField")
.build())
.jwtTokenTypeConfiguration(JwtTokenTypeConfigurationProperty.builder()
.claimRegex("claimRegex")
.groupAttributeField("groupAttributeField")
.issuer("issuer")
.keyLocation("keyLocation")
.secretManagerArn("secretManagerArn")
.url("url")
.userNameAttributeField("userNameAttributeField")
.build())
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnIndexMixinPropsstatic final classAn implementation forCfnIndexMixinProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnIndexMixinProps.Builderbuilder()default ObjectSpecifies additional capacity units configured for your Enterprise Edition index.default StringA description for the index.default ObjectSpecifies the properties of an index field.default StringIndicates whether the index is a Enterprise Edition index, a Developer Edition index, or a GenAI Enterprise Edition index.default StringgetName()The name of the index.default ObjectAn IAM role that gives Amazon Kendra permissions to access your Amazon CloudWatch logs and metrics.default ObjectThe identifier of the AWS KMS customer managed key (CMK) to use to encrypt data indexed by Amazon Kendra.getTags()An array of key-value pairs to apply to this resource.default StringThe user context policy.default ObjectDefines the type of user token used for the index.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCapacityUnits
Specifies additional capacity units configured for your Enterprise Edition index.You can add and remove capacity units to fit your usage requirements.
Returns union: either
IResolvableorCfnIndexPropsMixin.CapacityUnitsConfigurationProperty- See Also:
-
getDescription
A description for the index.- See Also:
-
getDocumentMetadataConfigurations
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.
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnIndexPropsMixin.DocumentMetadataConfigurationProperty>- See Also:
-
getEdition
Indicates whether the index is a Enterprise Edition index, a Developer Edition index, or a GenAI Enterprise Edition index.- See Also:
-
getName
The name of the index.- See Also:
-
getRoleArn
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.
- See Also:
-
getServerSideEncryptionConfiguration
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.
Returns union: either
IResolvableorCfnIndexPropsMixin.ServerSideEncryptionConfigurationProperty- See Also:
-
getTags
An array of key-value pairs to apply to this resource.For more information, see Tag .
- See Also:
-
getUserContextPolicy
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.
- 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
-
getUserTokenConfigurations
Defines the type of user token used for the index.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnIndexPropsMixin.UserTokenConfigurationProperty>- See Also:
-
builder
- Returns:
- a
CfnIndexMixinProps.BuilderofCfnIndexMixinProps
-