1. Packages
  2. AWS Native
  3. API Docs
  4. kendra
  5. Index

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 logo

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)
    public Index(String name, IndexArgs args)
    public Index(String name, IndexArgs args, CustomResourceOptions options)
    
    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:

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Index resource produces the following output properties:

    Arn string
    AwsId string
    Id string
    The provider-assigned unique ID for this managed resource.
    Arn string
    AwsId string
    Id string
    The provider-assigned unique ID for this managed resource.
    arn String
    awsId String
    id String
    The provider-assigned unique ID for this managed resource.
    arn string
    awsId string
    id string
    The provider-assigned unique ID for this managed resource.
    arn str
    aws_id str
    id str
    The provider-assigned unique ID for this managed resource.
    arn String
    awsId String
    id String
    The provider-assigned unique ID for this managed resource.

    Supporting Types

    IndexCapacityUnitsConfiguration, IndexCapacityUnitsConfigurationArgs

    IndexDocumentAttributeValueType, IndexDocumentAttributeValueTypeArgs

    StringValue
    STRING_VALUE
    StringListValue
    STRING_LIST_VALUE
    LongValue
    LONG_VALUE
    DateValue
    DATE_VALUE
    IndexDocumentAttributeValueTypeStringValue
    STRING_VALUE
    IndexDocumentAttributeValueTypeStringListValue
    STRING_LIST_VALUE
    IndexDocumentAttributeValueTypeLongValue
    LONG_VALUE
    IndexDocumentAttributeValueTypeDateValue
    DATE_VALUE
    StringValue
    STRING_VALUE
    StringListValue
    STRING_LIST_VALUE
    LongValue
    LONG_VALUE
    DateValue
    DATE_VALUE
    StringValue
    STRING_VALUE
    StringListValue
    STRING_LIST_VALUE
    LongValue
    LONG_VALUE
    DateValue
    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

    DeveloperEdition
    DEVELOPER_EDITION
    EnterpriseEdition
    ENTERPRISE_EDITION
    IndexEditionDeveloperEdition
    DEVELOPER_EDITION
    IndexEditionEnterpriseEdition
    ENTERPRISE_EDITION
    DeveloperEdition
    DEVELOPER_EDITION
    EnterpriseEdition
    ENTERPRISE_EDITION
    DeveloperEdition
    DEVELOPER_EDITION
    EnterpriseEdition
    ENTERPRISE_EDITION
    DEVELOPER_EDITION
    DEVELOPER_EDITION
    ENTERPRISE_EDITION
    ENTERPRISE_EDITION
    "DEVELOPER_EDITION"
    DEVELOPER_EDITION
    "ENTERPRISE_EDITION"
    ENTERPRISE_EDITION

    IndexJsonTokenTypeConfiguration, IndexJsonTokenTypeConfigurationArgs

    IndexJwtTokenTypeConfiguration, IndexJwtTokenTypeConfigurationArgs

    IndexKeyLocation, IndexKeyLocationArgs

    Url
    URL
    SecretManager
    SECRET_MANAGER
    IndexKeyLocationUrl
    URL
    IndexKeyLocationSecretManager
    SECRET_MANAGER
    Url
    URL
    SecretManager
    SECRET_MANAGER
    Url
    URL
    SecretManager
    SECRET_MANAGER
    URL
    URL
    SECRET_MANAGER
    SECRET_MANAGER
    "URL"
    URL
    "SECRET_MANAGER"
    SECRET_MANAGER

    IndexOrder, IndexOrderArgs

    Ascending
    ASCENDING
    Descending
    DESCENDING
    IndexOrderAscending
    ASCENDING
    IndexOrderDescending
    DESCENDING
    Ascending
    ASCENDING
    Descending
    DESCENDING
    Ascending
    ASCENDING
    Descending
    DESCENDING
    ASCENDING
    ASCENDING
    DESCENDING
    DESCENDING
    "ASCENDING"
    ASCENDING
    "DESCENDING"
    DESCENDING

    IndexRelevance, IndexRelevanceArgs

    IndexSearch, IndexSearchArgs

    displayable Boolean
    facetable Boolean
    searchable Boolean
    sortable Boolean
    displayable boolean
    facetable boolean
    searchable boolean
    sortable boolean
    displayable Boolean
    facetable Boolean
    searchable Boolean
    sortable Boolean

    IndexServerSideEncryptionConfiguration, IndexServerSideEncryptionConfigurationArgs

    KmsKeyId string
    KmsKeyId string
    kmsKeyId String
    kmsKeyId string
    kmsKeyId String

    IndexUserContextPolicy, IndexUserContextPolicyArgs

    AttributeFilter
    ATTRIBUTE_FILTER
    UserToken
    USER_TOKEN
    IndexUserContextPolicyAttributeFilter
    ATTRIBUTE_FILTER
    IndexUserContextPolicyUserToken
    USER_TOKEN
    AttributeFilter
    ATTRIBUTE_FILTER
    UserToken
    USER_TOKEN
    AttributeFilter
    ATTRIBUTE_FILTER
    UserToken
    USER_TOKEN
    ATTRIBUTE_FILTER
    ATTRIBUTE_FILTER
    USER_TOKEN
    USER_TOKEN
    "ATTRIBUTE_FILTER"
    ATTRIBUTE_FILTER
    "USER_TOKEN"
    USER_TOKEN

    IndexUserTokenConfiguration, IndexUserTokenConfigurationArgs

    IndexValueImportanceItem, IndexValueImportanceItemArgs

    Key string
    Value int
    Key string
    Value int
    key String
    value Integer
    key string
    value number
    key str
    value int
    key String
    value Number

    Tag, TagArgs

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.103.0 published on Monday, Apr 22, 2024 by Pulumi