AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.103.0 published on Monday, Apr 22, 2024 by Pulumi
aws-native.kendra.Index
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.103.0 published on Monday, Apr 22, 2024 by Pulumi
A Kendra index
Create Index Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Index(name: string, args: IndexArgs, opts?: CustomResourceOptions);
@overload
def Index(resource_name: str,
args: IndexArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Index(resource_name: str,
opts: Optional[ResourceOptions] = None,
edition: Optional[IndexEdition] = None,
role_arn: Optional[str] = None,
capacity_units: Optional[IndexCapacityUnitsConfigurationArgs] = None,
description: Optional[str] = None,
document_metadata_configurations: Optional[Sequence[IndexDocumentMetadataConfigurationArgs]] = None,
name: Optional[str] = None,
server_side_encryption_configuration: Optional[IndexServerSideEncryptionConfigurationArgs] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None,
user_context_policy: Optional[IndexUserContextPolicy] = None,
user_token_configurations: Optional[Sequence[IndexUserTokenConfigurationArgs]] = None)
func NewIndex(ctx *Context, name string, args IndexArgs, opts ...ResourceOption) (*Index, error)
public Index(string name, IndexArgs args, CustomResourceOptions? opts = null)
type: aws-native:kendra:Index
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args IndexArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args IndexArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args IndexArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IndexArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args IndexArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Example
The following reference example uses placeholder values for all input properties.
Coming soon!
Coming soon!
Coming soon!
Coming soon!
const indexResource = new aws_native.kendra.Index("indexResource", {
edition: aws_native.kendra.IndexEdition.DeveloperEdition,
roleArn: "string",
capacityUnits: {
queryCapacityUnits: 0,
storageCapacityUnits: 0,
},
description: "string",
documentMetadataConfigurations: [{
name: "string",
type: aws_native.kendra.IndexDocumentAttributeValueType.StringValue,
relevance: {
duration: "string",
freshness: false,
importance: 0,
rankOrder: aws_native.kendra.IndexOrder.Ascending,
valueImportanceItems: [{
key: "string",
value: 0,
}],
},
search: {
displayable: false,
facetable: false,
searchable: false,
sortable: false,
},
}],
name: "string",
serverSideEncryptionConfiguration: {
kmsKeyId: "string",
},
tags: [{
key: "string",
value: "string",
}],
userContextPolicy: aws_native.kendra.IndexUserContextPolicy.AttributeFilter,
userTokenConfigurations: [{
jsonTokenTypeConfiguration: {
groupAttributeField: "string",
userNameAttributeField: "string",
},
jwtTokenTypeConfiguration: {
keyLocation: aws_native.kendra.IndexKeyLocation.Url,
claimRegex: "string",
groupAttributeField: "string",
issuer: "string",
secretManagerArn: "string",
url: "string",
userNameAttributeField: "string",
},
}],
});
Coming soon!
Index Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The Index resource accepts the following input properties:
- Edition
Pulumi.
Aws Native. Kendra. Index Edition - Role
Arn string - Capacity
Units Pulumi.Aws Native. Kendra. Inputs. Index Capacity Units Configuration - Capacity units
- Description string
- A description for the index
- Document
Metadata List<Pulumi.Configurations Aws Native. Kendra. Inputs. Index Document Metadata Configuration> - Document metadata configurations
- Name string
- Server
Side Pulumi.Encryption Configuration Aws Native. Kendra. Inputs. Index Server Side Encryption Configuration - Server side encryption configuration
- List<Pulumi.
Aws Native. Inputs. Tag> - Tags for labeling the index
- User
Context Pulumi.Policy Aws Native. Kendra. Index User Context Policy - User
Token List<Pulumi.Configurations Aws Native. Kendra. Inputs. Index User Token Configuration>
- Edition
Index
Edition - Role
Arn string - Capacity
Units IndexCapacity Units Configuration Args - Capacity units
- Description string
- A description for the index
- Document
Metadata []IndexConfigurations Document Metadata Configuration Args - Document metadata configurations
- Name string
- Server
Side IndexEncryption Configuration Server Side Encryption Configuration Args - Server side encryption configuration
- Tag
Args - Tags for labeling the index
- User
Context IndexPolicy User Context Policy - User
Token []IndexConfigurations User Token Configuration Args
- edition
Index
Edition - role
Arn String - capacity
Units IndexCapacity Units Configuration - Capacity units
- description String
- A description for the index
- document
Metadata List<IndexConfigurations Document Metadata Configuration> - Document metadata configurations
- name String
- server
Side IndexEncryption Configuration Server Side Encryption Configuration - Server side encryption configuration
- List<Tag>
- Tags for labeling the index
- user
Context IndexPolicy User Context Policy - user
Token List<IndexConfigurations User Token Configuration>
- edition
Index
Edition - role
Arn string - capacity
Units IndexCapacity Units Configuration - Capacity units
- description string
- A description for the index
- document
Metadata IndexConfigurations Document Metadata Configuration[] - Document metadata configurations
- name string
- server
Side IndexEncryption Configuration Server Side Encryption Configuration - Server side encryption configuration
- Tag[]
- Tags for labeling the index
- user
Context IndexPolicy User Context Policy - user
Token IndexConfigurations User Token Configuration[]
- edition
Index
Edition - role_
arn str - capacity_
units IndexCapacity Units Configuration Args - Capacity units
- description str
- A description for the index
- document_
metadata_ Sequence[Indexconfigurations Document Metadata Configuration Args] - Document metadata configurations
- name str
- server_
side_ Indexencryption_ configuration Server Side Encryption Configuration Args - Server side encryption configuration
- Sequence[Tag
Args] - Tags for labeling the index
- user_
context_ Indexpolicy User Context Policy - user_
token_ Sequence[Indexconfigurations User Token Configuration Args]
- edition "DEVELOPER_EDITION" | "ENTERPRISE_EDITION"
- role
Arn String - capacity
Units Property Map - Capacity units
- description String
- A description for the index
- document
Metadata List<Property Map>Configurations - Document metadata configurations
- name String
- server
Side Property MapEncryption Configuration - Server side encryption configuration
- List<Property Map>
- Tags for labeling the index
- user
Context "ATTRIBUTE_FILTER" | "USER_TOKEN"Policy - user
Token List<Property Map>Configurations
Outputs
All input properties are implicitly available as output properties. Additionally, the Index resource produces the following output properties:
Supporting Types
IndexCapacityUnitsConfiguration, IndexCapacityUnitsConfigurationArgs
- query
Capacity IntegerUnits - storage
Capacity IntegerUnits
- query
Capacity numberUnits - storage
Capacity numberUnits
- query
Capacity NumberUnits - storage
Capacity NumberUnits
IndexDocumentAttributeValueType, IndexDocumentAttributeValueTypeArgs
- String
Value - STRING_VALUE
- String
List Value - STRING_LIST_VALUE
- Long
Value - LONG_VALUE
- Date
Value - DATE_VALUE
- Index
Document Attribute Value Type String Value - STRING_VALUE
- Index
Document Attribute Value Type String List Value - STRING_LIST_VALUE
- Index
Document Attribute Value Type Long Value - LONG_VALUE
- Index
Document Attribute Value Type Date Value - DATE_VALUE
- String
Value - STRING_VALUE
- String
List Value - STRING_LIST_VALUE
- Long
Value - LONG_VALUE
- Date
Value - DATE_VALUE
- String
Value - STRING_VALUE
- String
List Value - STRING_LIST_VALUE
- Long
Value - LONG_VALUE
- Date
Value - DATE_VALUE
- STRING_VALUE
- STRING_VALUE
- STRING_LIST_VALUE
- STRING_LIST_VALUE
- LONG_VALUE
- LONG_VALUE
- DATE_VALUE
- DATE_VALUE
- "STRING_VALUE"
- STRING_VALUE
- "STRING_LIST_VALUE"
- STRING_LIST_VALUE
- "LONG_VALUE"
- LONG_VALUE
- "DATE_VALUE"
- DATE_VALUE
IndexDocumentMetadataConfiguration, IndexDocumentMetadataConfigurationArgs
IndexEdition, IndexEditionArgs
- Developer
Edition - DEVELOPER_EDITION
- Enterprise
Edition - ENTERPRISE_EDITION
- Index
Edition Developer Edition - DEVELOPER_EDITION
- Index
Edition Enterprise Edition - ENTERPRISE_EDITION
- Developer
Edition - DEVELOPER_EDITION
- Enterprise
Edition - ENTERPRISE_EDITION
- Developer
Edition - DEVELOPER_EDITION
- Enterprise
Edition - ENTERPRISE_EDITION
- DEVELOPER_EDITION
- DEVELOPER_EDITION
- ENTERPRISE_EDITION
- ENTERPRISE_EDITION
- "DEVELOPER_EDITION"
- DEVELOPER_EDITION
- "ENTERPRISE_EDITION"
- ENTERPRISE_EDITION
IndexJsonTokenTypeConfiguration, IndexJsonTokenTypeConfigurationArgs
- Group
Attribute stringField - User
Name stringAttribute Field
- Group
Attribute stringField - User
Name stringAttribute Field
- group
Attribute StringField - user
Name StringAttribute Field
- group
Attribute stringField - user
Name stringAttribute Field
- group
Attribute StringField - user
Name StringAttribute Field
IndexJwtTokenTypeConfiguration, IndexJwtTokenTypeConfigurationArgs
- Key
Location Pulumi.Aws Native. Kendra. Index Key Location - Claim
Regex string - Group
Attribute stringField - Issuer string
- Secret
Manager stringArn - Url string
- User
Name stringAttribute Field
- Key
Location IndexKey Location - Claim
Regex string - Group
Attribute stringField - Issuer string
- Secret
Manager stringArn - Url string
- User
Name stringAttribute Field
- key
Location IndexKey Location - claim
Regex String - group
Attribute StringField - issuer String
- secret
Manager StringArn - url String
- user
Name StringAttribute Field
- key
Location IndexKey Location - claim
Regex string - group
Attribute stringField - issuer string
- secret
Manager stringArn - url string
- user
Name stringAttribute Field
- key
Location "URL" | "SECRET_MANAGER" - claim
Regex String - group
Attribute StringField - issuer String
- secret
Manager StringArn - url String
- user
Name StringAttribute Field
IndexKeyLocation, IndexKeyLocationArgs
- Url
- URL
- Secret
Manager - SECRET_MANAGER
- Index
Key Location Url - URL
- Index
Key Location Secret Manager - SECRET_MANAGER
- Url
- URL
- Secret
Manager - SECRET_MANAGER
- Url
- URL
- Secret
Manager - SECRET_MANAGER
- URL
- URL
- SECRET_MANAGER
- SECRET_MANAGER
- "URL"
- URL
- "SECRET_MANAGER"
- SECRET_MANAGER
IndexOrder, IndexOrderArgs
- Ascending
- ASCENDING
- Descending
- DESCENDING
- Index
Order Ascending - ASCENDING
- Index
Order Descending - DESCENDING
- Ascending
- ASCENDING
- Descending
- DESCENDING
- Ascending
- ASCENDING
- Descending
- DESCENDING
- ASCENDING
- ASCENDING
- DESCENDING
- DESCENDING
- "ASCENDING"
- ASCENDING
- "DESCENDING"
- DESCENDING
IndexRelevance, IndexRelevanceArgs
- duration String
- freshness Boolean
- importance Integer
- rank
Order IndexOrder - value
Importance List<IndexItems Value Importance Item>
- duration string
- freshness boolean
- importance number
- rank
Order IndexOrder - value
Importance IndexItems Value Importance Item[]
IndexSearch, IndexSearchArgs
- Displayable bool
- Facetable bool
- Searchable bool
- Sortable bool
- Displayable bool
- Facetable bool
- Searchable bool
- Sortable bool
- displayable Boolean
- facetable Boolean
- searchable Boolean
- sortable Boolean
- displayable boolean
- facetable boolean
- searchable boolean
- sortable boolean
- displayable bool
- facetable bool
- searchable bool
- sortable bool
- displayable Boolean
- facetable Boolean
- searchable Boolean
- sortable Boolean
IndexServerSideEncryptionConfiguration, IndexServerSideEncryptionConfigurationArgs
- Kms
Key stringId
- Kms
Key stringId
- kms
Key StringId
- kms
Key stringId
- kms_
key_ strid
- kms
Key StringId
IndexUserContextPolicy, IndexUserContextPolicyArgs
- Attribute
Filter - ATTRIBUTE_FILTER
- User
Token - USER_TOKEN
- Index
User Context Policy Attribute Filter - ATTRIBUTE_FILTER
- Index
User Context Policy User Token - USER_TOKEN
- Attribute
Filter - ATTRIBUTE_FILTER
- User
Token - USER_TOKEN
- Attribute
Filter - ATTRIBUTE_FILTER
- User
Token - USER_TOKEN
- ATTRIBUTE_FILTER
- ATTRIBUTE_FILTER
- USER_TOKEN
- USER_TOKEN
- "ATTRIBUTE_FILTER"
- ATTRIBUTE_FILTER
- "USER_TOKEN"
- USER_TOKEN
IndexUserTokenConfiguration, IndexUserTokenConfigurationArgs
IndexValueImportanceItem, IndexValueImportanceItemArgs
Tag, TagArgs
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.103.0 published on Monday, Apr 22, 2024 by Pulumi