@Generated(value="jsii-pacmak/1.60.0 (build ebcefe6)",
date="2022-07-01T09:58:31.753Z")
public interface CfnIndexProps
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.kendra.*; CfnIndexProps cfnIndexProps = CfnIndexProps.builder() .edition("edition") .name("name") .roleArn("roleArn") // the properties below are optional .capacityUnits(CapacityUnitsConfigurationProperty.builder() .queryCapacityUnits(123) .storageCapacityUnits(123) .build()) .description("description") .documentMetadataConfigurations(List.of(DocumentMetadataConfigurationProperty.builder() .name("name") .type("type") // the properties below are optional .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()) .build())) .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() .keyLocation("keyLocation") // the properties below are optional .claimRegex("claimRegex") .groupAttributeField("groupAttributeField") .issuer("issuer") .secretManagerArn("secretManagerArn") .url("url") .userNameAttributeField("userNameAttributeField") .build()) .build())) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnIndexProps.Builder
A builder for
CfnIndexProps |
static class |
CfnIndexProps.Jsii$Proxy
An implementation for
CfnIndexProps |
Modifier and Type | Method and Description |
---|---|
static CfnIndexProps.Builder |
builder() |
default java.lang.Object |
getCapacityUnits()
Specifies capacity units configured for your index.
|
default java.lang.String |
getDescription()
A description of the index.
|
default java.lang.Object |
getDocumentMetadataConfigurations()
Specifies the properties of an index field.
|
java.lang.String |
getEdition()
Indicates whether the index is a enterprise edition index or a developer edition index.
|
java.lang.String |
getName()
The identifier of the index.
|
java.lang.String |
getRoleArn()
An IAM role that gives Amazon Kendra permissions to access your Amazon CloudWatch logs and metrics.
|
default java.lang.Object |
getServerSideEncryptionConfiguration()
The identifier of the AWS KMS customer managed key (CMK) to use to encrypt data indexed by Amazon Kendra.
|
default java.util.List<CfnTag> |
getTags()
An array of key-value pairs to apply to this resource.
|
default java.lang.String |
getUserContextPolicy()
The user context policy.
|
default java.lang.Object |
getUserTokenConfigurations()
Defines the type of user token used for the index.
|
java.lang.String getEdition()
Valid values are DEVELOPER_EDITION
and ENTERPRISE_EDITION
.
java.lang.String getName()
java.lang.String getRoleArn()
This is also the role used when you use the BatchPutDocument operation to index documents from an Amazon S3 bucket.
default java.lang.Object getCapacityUnits()
You can add and remove capacity units to tune an index to your requirements. You can set capacity units only for Enterprise edition indexes.
default java.lang.String getDescription()
default java.lang.Object getDocumentMetadataConfigurations()
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.
default java.lang.Object getServerSideEncryptionConfiguration()
Amazon Kendra doesn't support asymmetric CMKs.
default java.util.List<CfnTag> getTags()
For more information, see Tag .
default java.lang.String getUserContextPolicy()
ATTRIBUTE_FILTER
USER_TOKEN
default java.lang.Object getUserTokenConfigurations()
static CfnIndexProps.Builder builder()
CfnIndexProps.Builder
of CfnIndexProps