| Modifier and Type | Method and Description |
|---|---|
CfnIndex |
build() |
CfnIndex.Builder |
capacityUnits(CfnIndex.CapacityUnitsConfigurationProperty capacityUnits)
Specifies capacity units configured for your index.
|
CfnIndex.Builder |
capacityUnits(IResolvable capacityUnits)
Specifies capacity units configured for your index.
|
static CfnIndex.Builder |
create(software.constructs.Construct scope,
String id) |
CfnIndex.Builder |
description(String description)
A description of the index.
|
CfnIndex.Builder |
documentMetadataConfigurations(IResolvable documentMetadataConfigurations)
Specifies the properties of an index field.
|
CfnIndex.Builder |
documentMetadataConfigurations(List<? extends Object> documentMetadataConfigurations)
Specifies the properties of an index field.
|
CfnIndex.Builder |
edition(String edition)
Indicates whether the index is a enterprise edition index or a developer edition index.
|
CfnIndex.Builder |
name(String name)
The identifier of the index.
|
CfnIndex.Builder |
roleArn(String roleArn)
An IAM role that gives Amazon Kendra permissions to access your Amazon CloudWatch logs and metrics.
|
CfnIndex.Builder |
serverSideEncryptionConfiguration(CfnIndex.ServerSideEncryptionConfigurationProperty serverSideEncryptionConfiguration)
The identifier of the AWS KMS customer managed key (CMK) to use to encrypt data indexed by Amazon Kendra.
|
CfnIndex.Builder |
serverSideEncryptionConfiguration(IResolvable serverSideEncryptionConfiguration)
The identifier of the AWS KMS customer managed key (CMK) to use to encrypt data indexed by Amazon Kendra.
|
CfnIndex.Builder |
tags(List<? extends CfnTag> tags)
An array of key-value pairs to apply to this resource.
|
CfnIndex.Builder |
userContextPolicy(String userContextPolicy)
The user context policy.
|
CfnIndex.Builder |
userTokenConfigurations(IResolvable userTokenConfigurations)
Defines the type of user token used for the index.
|
CfnIndex.Builder |
userTokenConfigurations(List<? extends Object> userTokenConfigurations)
Defines the type of user token used for the index.
|
@Stability(value=Stable) public static CfnIndex.Builder create(software.constructs.Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnIndex.CapacityUnitsConfigurationProperty.Builder.@Stability(value=Stable) public CfnIndex.Builder edition(String edition)
Valid values are DEVELOPER_EDITION and ENTERPRISE_EDITION .
edition - Indicates whether the index is a enterprise edition index or a developer edition index. This parameter is required.this@Stability(value=Stable) public CfnIndex.Builder name(String name)
name - The identifier of the index. This parameter is required.this@Stability(value=Stable) public CfnIndex.Builder roleArn(String roleArn)
This is also the role used when you use the BatchPutDocument operation to index documents from an Amazon S3 bucket.
roleArn - An IAM role that gives Amazon Kendra permissions to access your Amazon CloudWatch logs and metrics. This parameter is required.this@Stability(value=Stable) public CfnIndex.Builder capacityUnits(CfnIndex.CapacityUnitsConfigurationProperty capacityUnits)
You can add and remove capacity units to tune an index to your requirements. You can set capacity units only for Enterprise edition indexes.
capacityUnits - Specifies capacity units configured for your index. This parameter is required.this@Stability(value=Stable) public CfnIndex.Builder capacityUnits(IResolvable capacityUnits)
You can add and remove capacity units to tune an index to your requirements. You can set capacity units only for Enterprise edition indexes.
capacityUnits - Specifies capacity units configured for your index. This parameter is required.this@Stability(value=Stable) public CfnIndex.Builder description(String description)
description - A description of the index. This parameter is required.this@Stability(value=Stable) public CfnIndex.Builder documentMetadataConfigurations(IResolvable documentMetadataConfigurations)
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.
documentMetadataConfigurations - Specifies the properties of an index field. This parameter is required.this@Stability(value=Stable) public CfnIndex.Builder documentMetadataConfigurations(List<? extends Object> documentMetadataConfigurations)
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.
documentMetadataConfigurations - Specifies the properties of an index field. This parameter is required.this@Stability(value=Stable) public CfnIndex.Builder serverSideEncryptionConfiguration(CfnIndex.ServerSideEncryptionConfigurationProperty serverSideEncryptionConfiguration)
Amazon Kendra doesn't support asymmetric CMKs.
serverSideEncryptionConfiguration - The identifier of the AWS KMS customer managed key (CMK) to use to encrypt data indexed by Amazon Kendra. This parameter is required.this@Stability(value=Stable) public CfnIndex.Builder serverSideEncryptionConfiguration(IResolvable serverSideEncryptionConfiguration)
Amazon Kendra doesn't support asymmetric CMKs.
serverSideEncryptionConfiguration - The identifier of the AWS KMS customer managed key (CMK) to use to encrypt data indexed by Amazon Kendra. This parameter is required.this@Stability(value=Stable) public CfnIndex.Builder tags(List<? extends CfnTag> tags)
For more information, see Tag .
tags - An array of key-value pairs to apply to this resource. This parameter is required.this@Stability(value=Stable) public CfnIndex.Builder userContextPolicy(String userContextPolicy)
ATTRIBUTE_FILTER
USER_TOKEN
userContextPolicy - The user context policy. This parameter is required.this@Stability(value=Stable) public CfnIndex.Builder userTokenConfigurations(IResolvable userTokenConfigurations)
userTokenConfigurations - Defines the type of user token used for the index. This parameter is required.this@Stability(value=Stable) public CfnIndex.Builder userTokenConfigurations(List<? extends Object> userTokenConfigurations)
userTokenConfigurations - Defines the type of user token used for the index. This parameter is required.thisCopyright © 2022. All rights reserved.