@Stability(value=Stable) public static final class CfnIndexProps.Builder extends Object implements software.amazon.jsii.Builder<CfnIndexProps>
CfnIndexProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnIndexProps.Builder edition(String edition)
CfnIndexProps.getEdition()edition - Indicates whether the index is a enterprise edition index or a developer edition index. This parameter is required.
Valid values are DEVELOPER_EDITION and ENTERPRISE_EDITION .this@Stability(value=Stable) public CfnIndexProps.Builder name(String name)
CfnIndexProps.getName()name - The identifier of the index. This parameter is required.this@Stability(value=Stable) public CfnIndexProps.Builder roleArn(String roleArn)
CfnIndexProps.getRoleArn()roleArn - An IAM role that gives Amazon Kendra permissions to access your Amazon CloudWatch logs and metrics. This parameter is required.
This is also the role used when you use the BatchPutDocument operation to index documents from an Amazon S3 bucket.this@Stability(value=Stable) public CfnIndexProps.Builder capacityUnits(CfnIndex.CapacityUnitsConfigurationProperty capacityUnits)
CfnIndexProps.getCapacityUnits()capacityUnits - Specifies capacity units configured for your index.
You can add and remove capacity units to tune an index to your requirements. You can set capacity units only for Enterprise edition indexes.this@Stability(value=Stable) public CfnIndexProps.Builder capacityUnits(IResolvable capacityUnits)
CfnIndexProps.getCapacityUnits()capacityUnits - Specifies capacity units configured for your index.
You can add and remove capacity units to tune an index to your requirements. You can set capacity units only for Enterprise edition indexes.this@Stability(value=Stable) public CfnIndexProps.Builder description(String description)
CfnIndexProps.getDescription()description - A description of the index.this@Stability(value=Stable) public CfnIndexProps.Builder documentMetadataConfigurations(IResolvable documentMetadataConfigurations)
CfnIndexProps.getDocumentMetadataConfigurations()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.this@Stability(value=Stable) public CfnIndexProps.Builder documentMetadataConfigurations(List<? extends Object> documentMetadataConfigurations)
CfnIndexProps.getDocumentMetadataConfigurations()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.this@Stability(value=Stable) public CfnIndexProps.Builder serverSideEncryptionConfiguration(CfnIndex.ServerSideEncryptionConfigurationProperty serverSideEncryptionConfiguration)
CfnIndexProps.getServerSideEncryptionConfiguration()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.this@Stability(value=Stable) public CfnIndexProps.Builder serverSideEncryptionConfiguration(IResolvable serverSideEncryptionConfiguration)
CfnIndexProps.getServerSideEncryptionConfiguration()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.this@Stability(value=Stable) public CfnIndexProps.Builder tags(List<? extends CfnTag> tags)
CfnIndexProps.getTags()tags - An array of key-value pairs to apply to this resource.
For more information, see Tag .this@Stability(value=Stable) public CfnIndexProps.Builder userContextPolicy(String userContextPolicy)
CfnIndexProps.getUserContextPolicy()userContextPolicy - The user context policy.
ATTRIBUTE_FILTER
USER_TOKEN
this@Stability(value=Stable) public CfnIndexProps.Builder userTokenConfigurations(IResolvable userTokenConfigurations)
CfnIndexProps.getUserTokenConfigurations()userTokenConfigurations - Defines the type of user token used for the index.this@Stability(value=Stable) public CfnIndexProps.Builder userTokenConfigurations(List<? extends Object> userTokenConfigurations)
CfnIndexProps.getUserTokenConfigurations()userTokenConfigurations - Defines the type of user token used for the index.this@Stability(value=Stable) public CfnIndexProps build()
build in interface software.amazon.jsii.Builder<CfnIndexProps>CfnIndexPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.