AWS Classic

Pulumi Official
Package maintained by Pulumi
v5.9.2 published on Friday, Jun 24, 2022 by Pulumi

Domain

Import

CloudSearch Domains can be imported using the name, e.g.,

 $ pulumi import aws:cloudsearch/domain:Domain example example-domain

Example Usage

using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
    public MyStack()
    {
        var example = new Aws.CloudSearch.Domain("example", new Aws.CloudSearch.DomainArgs
        {
            IndexFields = 
            {
                new Aws.CloudSearch.Inputs.DomainIndexFieldArgs
                {
                    AnalysisScheme = "_en_default_",
                    Highlight = false,
                    Name = "headline",
                    Return = true,
                    Search = true,
                    Sort = true,
                    Type = "text",
                },
                new Aws.CloudSearch.Inputs.DomainIndexFieldArgs
                {
                    Facet = true,
                    Name = "price",
                    Return = true,
                    Search = true,
                    Sort = true,
                    SourceFields = "headline",
                    Type = "double",
                },
            },
            ScalingParameters = new Aws.CloudSearch.Inputs.DomainScalingParametersArgs
            {
                DesiredInstanceType = "search.medium",
            },
        });
    }

}
package main

import (
	"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/cloudsearch"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cloudsearch.NewDomain(ctx, "example", &cloudsearch.DomainArgs{
			IndexFields: cloudsearch.DomainIndexFieldArray{
				&cloudsearch.DomainIndexFieldArgs{
					AnalysisScheme: pulumi.String("_en_default_"),
					Highlight:      pulumi.Bool(false),
					Name:           pulumi.String("headline"),
					Return:         pulumi.Bool(true),
					Search:         pulumi.Bool(true),
					Sort:           pulumi.Bool(true),
					Type:           pulumi.String("text"),
				},
				&cloudsearch.DomainIndexFieldArgs{
					Facet:        pulumi.Bool(true),
					Name:         pulumi.String("price"),
					Return:       pulumi.Bool(true),
					Search:       pulumi.Bool(true),
					Sort:         pulumi.Bool(true),
					SourceFields: pulumi.String("headline"),
					Type:         pulumi.String("double"),
				},
			},
			ScalingParameters: &cloudsearch.DomainScalingParametersArgs{
				DesiredInstanceType: pulumi.String("search.medium"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import java.util.*;
import java.io.*;
import java.nio.*;
import com.pulumi.*;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var example = new Domain("example", DomainArgs.builder()        
            .indexFields(            
                DomainIndexFieldArgs.builder()
                    .analysisScheme("_en_default_")
                    .highlight(false)
                    .name("headline")
                    .return_(true)
                    .search(true)
                    .sort(true)
                    .type("text")
                    .build(),
                DomainIndexFieldArgs.builder()
                    .facet(true)
                    .name("price")
                    .return_(true)
                    .search(true)
                    .sort(true)
                    .sourceFields("headline")
                    .type("double")
                    .build())
            .scalingParameters(DomainScalingParametersArgs.builder()
                .desiredInstanceType("search.medium")
                .build())
            .build());

    }
}
import pulumi
import pulumi_aws as aws

example = aws.cloudsearch.Domain("example",
    index_fields=[
        aws.cloudsearch.DomainIndexFieldArgs(
            analysis_scheme="_en_default_",
            highlight=False,
            name="headline",
            return_=True,
            search=True,
            sort=True,
            type="text",
        ),
        aws.cloudsearch.DomainIndexFieldArgs(
            facet=True,
            name="price",
            return_=True,
            search=True,
            sort=True,
            source_fields="headline",
            type="double",
        ),
    ],
    scaling_parameters=aws.cloudsearch.DomainScalingParametersArgs(
        desired_instance_type="search.medium",
    ))
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const example = new aws.cloudsearch.Domain("example", {
    indexFields: [
        {
            analysisScheme: "_en_default_",
            highlight: false,
            name: "headline",
            return: true,
            search: true,
            sort: true,
            type: "text",
        },
        {
            facet: true,
            name: "price",
            return: true,
            search: true,
            sort: true,
            sourceFields: "headline",
            type: "double",
        },
    ],
    scalingParameters: {
        desiredInstanceType: "search.medium",
    },
});
resources:
  example:
    type: aws:cloudsearch:Domain
    properties:
      indexFields:
        - analysisScheme: _en_default_
          highlight: false
          name: headline
          return: true
          search: true
          sort: true
          type: text
        - facet: true
          name: price
          return: true
          search: true
          sort: true
          sourceFields: headline
          type: double
      scalingParameters:
        desiredInstanceType: search.medium

Create a Domain Resource

new Domain(name: string, args?: DomainArgs, opts?: CustomResourceOptions);
@overload
def Domain(resource_name: str,
           opts: Optional[ResourceOptions] = None,
           endpoint_options: Optional[DomainEndpointOptionsArgs] = None,
           index_fields: Optional[Sequence[DomainIndexFieldArgs]] = None,
           multi_az: Optional[bool] = None,
           name: Optional[str] = None,
           scaling_parameters: Optional[DomainScalingParametersArgs] = None)
@overload
def Domain(resource_name: str,
           args: Optional[DomainArgs] = None,
           opts: Optional[ResourceOptions] = None)
func NewDomain(ctx *Context, name string, args *DomainArgs, opts ...ResourceOption) (*Domain, error)
public Domain(string name, DomainArgs? args = null, CustomResourceOptions? opts = null)
public Domain(String name, DomainArgs args)
public Domain(String name, DomainArgs args, CustomResourceOptions options)
type: aws:cloudsearch:Domain
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args DomainArgs
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 DomainArgs
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 DomainArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args DomainArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args DomainArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Domain 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 Domain resource accepts the following input properties:

EndpointOptions DomainEndpointOptionsArgs

Domain endpoint options. Documented below.

IndexFields List<DomainIndexFieldArgs>

The index fields for documents added to the domain. Documented below.

MultiAz bool

Whether or not to maintain extra instances for the domain in a second Availability Zone to ensure high availability.

Name string

A unique name for the field. Field names must begin with a letter and be at least 3 and no more than 64 characters long. The allowed characters are: a-z (lower-case letters), 0-9, and _ (underscore). The name score is reserved and cannot be used as a field name.

ScalingParameters DomainScalingParametersArgs

Domain scaling parameters. Documented below.

EndpointOptions DomainEndpointOptionsArgs

Domain endpoint options. Documented below.

IndexFields []DomainIndexFieldArgs

The index fields for documents added to the domain. Documented below.

MultiAz bool

Whether or not to maintain extra instances for the domain in a second Availability Zone to ensure high availability.

Name string

A unique name for the field. Field names must begin with a letter and be at least 3 and no more than 64 characters long. The allowed characters are: a-z (lower-case letters), 0-9, and _ (underscore). The name score is reserved and cannot be used as a field name.

ScalingParameters DomainScalingParametersArgs

Domain scaling parameters. Documented below.

endpointOptions DomainEndpointOptionsArgs

Domain endpoint options. Documented below.

indexFields List<DomainIndexFieldArgs>

The index fields for documents added to the domain. Documented below.

multiAz Boolean

Whether or not to maintain extra instances for the domain in a second Availability Zone to ensure high availability.

name String

A unique name for the field. Field names must begin with a letter and be at least 3 and no more than 64 characters long. The allowed characters are: a-z (lower-case letters), 0-9, and _ (underscore). The name score is reserved and cannot be used as a field name.

scalingParameters DomainScalingParametersArgs

Domain scaling parameters. Documented below.

endpointOptions DomainEndpointOptionsArgs

Domain endpoint options. Documented below.

indexFields DomainIndexFieldArgs[]

The index fields for documents added to the domain. Documented below.

multiAz boolean

Whether or not to maintain extra instances for the domain in a second Availability Zone to ensure high availability.

name string

A unique name for the field. Field names must begin with a letter and be at least 3 and no more than 64 characters long. The allowed characters are: a-z (lower-case letters), 0-9, and _ (underscore). The name score is reserved and cannot be used as a field name.

scalingParameters DomainScalingParametersArgs

Domain scaling parameters. Documented below.

endpoint_options DomainEndpointOptionsArgs

Domain endpoint options. Documented below.

index_fields Sequence[DomainIndexFieldArgs]

The index fields for documents added to the domain. Documented below.

multi_az bool

Whether or not to maintain extra instances for the domain in a second Availability Zone to ensure high availability.

name str

A unique name for the field. Field names must begin with a letter and be at least 3 and no more than 64 characters long. The allowed characters are: a-z (lower-case letters), 0-9, and _ (underscore). The name score is reserved and cannot be used as a field name.

scaling_parameters DomainScalingParametersArgs

Domain scaling parameters. Documented below.

endpointOptions Property Map

Domain endpoint options. Documented below.

indexFields List<Property Map>

The index fields for documents added to the domain. Documented below.

multiAz Boolean

Whether or not to maintain extra instances for the domain in a second Availability Zone to ensure high availability.

name String

A unique name for the field. Field names must begin with a letter and be at least 3 and no more than 64 characters long. The allowed characters are: a-z (lower-case letters), 0-9, and _ (underscore). The name score is reserved and cannot be used as a field name.

scalingParameters Property Map

Domain scaling parameters. Documented below.

Outputs

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

Arn string

The domain's ARN.

DocumentServiceEndpoint string

The service endpoint for updating documents in a search domain.

DomainId string

An internally generated unique identifier for the domain.

Id string

The provider-assigned unique ID for this managed resource.

SearchServiceEndpoint string

The service endpoint for requesting search results from a search domain.

Arn string

The domain's ARN.

DocumentServiceEndpoint string

The service endpoint for updating documents in a search domain.

DomainId string

An internally generated unique identifier for the domain.

Id string

The provider-assigned unique ID for this managed resource.

SearchServiceEndpoint string

The service endpoint for requesting search results from a search domain.

arn String

The domain's ARN.

documentServiceEndpoint String

The service endpoint for updating documents in a search domain.

domainId String

An internally generated unique identifier for the domain.

id String

The provider-assigned unique ID for this managed resource.

searchServiceEndpoint String

The service endpoint for requesting search results from a search domain.

arn string

The domain's ARN.

documentServiceEndpoint string

The service endpoint for updating documents in a search domain.

domainId string

An internally generated unique identifier for the domain.

id string

The provider-assigned unique ID for this managed resource.

searchServiceEndpoint string

The service endpoint for requesting search results from a search domain.

arn str

The domain's ARN.

document_service_endpoint str

The service endpoint for updating documents in a search domain.

domain_id str

An internally generated unique identifier for the domain.

id str

The provider-assigned unique ID for this managed resource.

search_service_endpoint str

The service endpoint for requesting search results from a search domain.

arn String

The domain's ARN.

documentServiceEndpoint String

The service endpoint for updating documents in a search domain.

domainId String

An internally generated unique identifier for the domain.

id String

The provider-assigned unique ID for this managed resource.

searchServiceEndpoint String

The service endpoint for requesting search results from a search domain.

Look up an Existing Domain Resource

Get an existing Domain resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: DomainState, opts?: CustomResourceOptions): Domain
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        arn: Optional[str] = None,
        document_service_endpoint: Optional[str] = None,
        domain_id: Optional[str] = None,
        endpoint_options: Optional[DomainEndpointOptionsArgs] = None,
        index_fields: Optional[Sequence[DomainIndexFieldArgs]] = None,
        multi_az: Optional[bool] = None,
        name: Optional[str] = None,
        scaling_parameters: Optional[DomainScalingParametersArgs] = None,
        search_service_endpoint: Optional[str] = None) -> Domain
func GetDomain(ctx *Context, name string, id IDInput, state *DomainState, opts ...ResourceOption) (*Domain, error)
public static Domain Get(string name, Input<string> id, DomainState? state, CustomResourceOptions? opts = null)
public static Domain get(String name, Output<String> id, DomainState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
Arn string

The domain's ARN.

DocumentServiceEndpoint string

The service endpoint for updating documents in a search domain.

DomainId string

An internally generated unique identifier for the domain.

EndpointOptions DomainEndpointOptionsArgs

Domain endpoint options. Documented below.

IndexFields List<DomainIndexFieldArgs>

The index fields for documents added to the domain. Documented below.

MultiAz bool

Whether or not to maintain extra instances for the domain in a second Availability Zone to ensure high availability.

Name string

A unique name for the field. Field names must begin with a letter and be at least 3 and no more than 64 characters long. The allowed characters are: a-z (lower-case letters), 0-9, and _ (underscore). The name score is reserved and cannot be used as a field name.

ScalingParameters DomainScalingParametersArgs

Domain scaling parameters. Documented below.

SearchServiceEndpoint string

The service endpoint for requesting search results from a search domain.

Arn string

The domain's ARN.

DocumentServiceEndpoint string

The service endpoint for updating documents in a search domain.

DomainId string

An internally generated unique identifier for the domain.

EndpointOptions DomainEndpointOptionsArgs

Domain endpoint options. Documented below.

IndexFields []DomainIndexFieldArgs

The index fields for documents added to the domain. Documented below.

MultiAz bool

Whether or not to maintain extra instances for the domain in a second Availability Zone to ensure high availability.

Name string

A unique name for the field. Field names must begin with a letter and be at least 3 and no more than 64 characters long. The allowed characters are: a-z (lower-case letters), 0-9, and _ (underscore). The name score is reserved and cannot be used as a field name.

ScalingParameters DomainScalingParametersArgs

Domain scaling parameters. Documented below.

SearchServiceEndpoint string

The service endpoint for requesting search results from a search domain.

arn String

The domain's ARN.

documentServiceEndpoint String

The service endpoint for updating documents in a search domain.

domainId String

An internally generated unique identifier for the domain.

endpointOptions DomainEndpointOptionsArgs

Domain endpoint options. Documented below.

indexFields List<DomainIndexFieldArgs>

The index fields for documents added to the domain. Documented below.

multiAz Boolean

Whether or not to maintain extra instances for the domain in a second Availability Zone to ensure high availability.

name String

A unique name for the field. Field names must begin with a letter and be at least 3 and no more than 64 characters long. The allowed characters are: a-z (lower-case letters), 0-9, and _ (underscore). The name score is reserved and cannot be used as a field name.

scalingParameters DomainScalingParametersArgs

Domain scaling parameters. Documented below.

searchServiceEndpoint String

The service endpoint for requesting search results from a search domain.

arn string

The domain's ARN.

documentServiceEndpoint string

The service endpoint for updating documents in a search domain.

domainId string

An internally generated unique identifier for the domain.

endpointOptions DomainEndpointOptionsArgs

Domain endpoint options. Documented below.

indexFields DomainIndexFieldArgs[]

The index fields for documents added to the domain. Documented below.

multiAz boolean

Whether or not to maintain extra instances for the domain in a second Availability Zone to ensure high availability.

name string

A unique name for the field. Field names must begin with a letter and be at least 3 and no more than 64 characters long. The allowed characters are: a-z (lower-case letters), 0-9, and _ (underscore). The name score is reserved and cannot be used as a field name.

scalingParameters DomainScalingParametersArgs

Domain scaling parameters. Documented below.

searchServiceEndpoint string

The service endpoint for requesting search results from a search domain.

arn str

The domain's ARN.

document_service_endpoint str

The service endpoint for updating documents in a search domain.

domain_id str

An internally generated unique identifier for the domain.

endpoint_options DomainEndpointOptionsArgs

Domain endpoint options. Documented below.

index_fields Sequence[DomainIndexFieldArgs]

The index fields for documents added to the domain. Documented below.

multi_az bool

Whether or not to maintain extra instances for the domain in a second Availability Zone to ensure high availability.

name str

A unique name for the field. Field names must begin with a letter and be at least 3 and no more than 64 characters long. The allowed characters are: a-z (lower-case letters), 0-9, and _ (underscore). The name score is reserved and cannot be used as a field name.

scaling_parameters DomainScalingParametersArgs

Domain scaling parameters. Documented below.

search_service_endpoint str

The service endpoint for requesting search results from a search domain.

arn String

The domain's ARN.

documentServiceEndpoint String

The service endpoint for updating documents in a search domain.

domainId String

An internally generated unique identifier for the domain.

endpointOptions Property Map

Domain endpoint options. Documented below.

indexFields List<Property Map>

The index fields for documents added to the domain. Documented below.

multiAz Boolean

Whether or not to maintain extra instances for the domain in a second Availability Zone to ensure high availability.

name String

A unique name for the field. Field names must begin with a letter and be at least 3 and no more than 64 characters long. The allowed characters are: a-z (lower-case letters), 0-9, and _ (underscore). The name score is reserved and cannot be used as a field name.

scalingParameters Property Map

Domain scaling parameters. Documented below.

searchServiceEndpoint String

The service endpoint for requesting search results from a search domain.

Supporting Types

DomainEndpointOptions

EnforceHttps bool

Enables or disables the requirement that all requests to the domain arrive over HTTPS.

TlsSecurityPolicy string

The minimum required TLS version. See the AWS documentation for valid values.

EnforceHttps bool

Enables or disables the requirement that all requests to the domain arrive over HTTPS.

TlsSecurityPolicy string

The minimum required TLS version. See the AWS documentation for valid values.

enforceHttps Boolean

Enables or disables the requirement that all requests to the domain arrive over HTTPS.

tlsSecurityPolicy String

The minimum required TLS version. See the AWS documentation for valid values.

enforceHttps boolean

Enables or disables the requirement that all requests to the domain arrive over HTTPS.

tlsSecurityPolicy string

The minimum required TLS version. See the AWS documentation for valid values.

enforce_https bool

Enables or disables the requirement that all requests to the domain arrive over HTTPS.

tls_security_policy str

The minimum required TLS version. See the AWS documentation for valid values.

enforceHttps Boolean

Enables or disables the requirement that all requests to the domain arrive over HTTPS.

tlsSecurityPolicy String

The minimum required TLS version. See the AWS documentation for valid values.

DomainIndexField

Name string

A unique name for the field. Field names must begin with a letter and be at least 3 and no more than 64 characters long. The allowed characters are: a-z (lower-case letters), 0-9, and _ (underscore). The name score is reserved and cannot be used as a field name.

Type string

The field type. Valid values: date, date-array, double, double-array, int, int-array, literal, literal-array, text, text-array.

AnalysisScheme string

The analysis scheme you want to use for a text field. The analysis scheme specifies the language-specific text processing options that are used during indexing.

DefaultValue string

The default value for the field. This value is used when no value is specified for the field in the document data.

Facet bool

You can get facet information by enabling this.

Highlight bool

You can highlight information.

Return bool

You can enable returning the value of all searchable fields.

Search bool

You can set whether this index should be searchable or not.

Sort bool

You can enable the property to be sortable.

SourceFields string

A comma-separated list of source fields to map to the field. Specifying a source field copies data from one field to another, enabling you to use the same source data in different ways by configuring different options for the fields.

Name string

A unique name for the field. Field names must begin with a letter and be at least 3 and no more than 64 characters long. The allowed characters are: a-z (lower-case letters), 0-9, and _ (underscore). The name score is reserved and cannot be used as a field name.

Type string

The field type. Valid values: date, date-array, double, double-array, int, int-array, literal, literal-array, text, text-array.

AnalysisScheme string

The analysis scheme you want to use for a text field. The analysis scheme specifies the language-specific text processing options that are used during indexing.

DefaultValue string

The default value for the field. This value is used when no value is specified for the field in the document data.

Facet bool

You can get facet information by enabling this.

Highlight bool

You can highlight information.

Return bool

You can enable returning the value of all searchable fields.

Search bool

You can set whether this index should be searchable or not.

Sort bool

You can enable the property to be sortable.

SourceFields string

A comma-separated list of source fields to map to the field. Specifying a source field copies data from one field to another, enabling you to use the same source data in different ways by configuring different options for the fields.

name String

A unique name for the field. Field names must begin with a letter and be at least 3 and no more than 64 characters long. The allowed characters are: a-z (lower-case letters), 0-9, and _ (underscore). The name score is reserved and cannot be used as a field name.

type String

The field type. Valid values: date, date-array, double, double-array, int, int-array, literal, literal-array, text, text-array.

analysisScheme String

The analysis scheme you want to use for a text field. The analysis scheme specifies the language-specific text processing options that are used during indexing.

defaultValue String

The default value for the field. This value is used when no value is specified for the field in the document data.

facet Boolean

You can get facet information by enabling this.

highlight Boolean

You can highlight information.

return_ Boolean

You can enable returning the value of all searchable fields.

search Boolean

You can set whether this index should be searchable or not.

sort Boolean

You can enable the property to be sortable.

sourceFields String

A comma-separated list of source fields to map to the field. Specifying a source field copies data from one field to another, enabling you to use the same source data in different ways by configuring different options for the fields.

name string

A unique name for the field. Field names must begin with a letter and be at least 3 and no more than 64 characters long. The allowed characters are: a-z (lower-case letters), 0-9, and _ (underscore). The name score is reserved and cannot be used as a field name.

type string

The field type. Valid values: date, date-array, double, double-array, int, int-array, literal, literal-array, text, text-array.

analysisScheme string

The analysis scheme you want to use for a text field. The analysis scheme specifies the language-specific text processing options that are used during indexing.

defaultValue string

The default value for the field. This value is used when no value is specified for the field in the document data.

facet boolean

You can get facet information by enabling this.

highlight boolean

You can highlight information.

return boolean

You can enable returning the value of all searchable fields.

search boolean

You can set whether this index should be searchable or not.

sort boolean

You can enable the property to be sortable.

sourceFields string

A comma-separated list of source fields to map to the field. Specifying a source field copies data from one field to another, enabling you to use the same source data in different ways by configuring different options for the fields.

name str

A unique name for the field. Field names must begin with a letter and be at least 3 and no more than 64 characters long. The allowed characters are: a-z (lower-case letters), 0-9, and _ (underscore). The name score is reserved and cannot be used as a field name.

type str

The field type. Valid values: date, date-array, double, double-array, int, int-array, literal, literal-array, text, text-array.

analysis_scheme str

The analysis scheme you want to use for a text field. The analysis scheme specifies the language-specific text processing options that are used during indexing.

default_value str

The default value for the field. This value is used when no value is specified for the field in the document data.

facet bool

You can get facet information by enabling this.

highlight bool

You can highlight information.

return_ bool

You can enable returning the value of all searchable fields.

search bool

You can set whether this index should be searchable or not.

sort bool

You can enable the property to be sortable.

source_fields str

A comma-separated list of source fields to map to the field. Specifying a source field copies data from one field to another, enabling you to use the same source data in different ways by configuring different options for the fields.

name String

A unique name for the field. Field names must begin with a letter and be at least 3 and no more than 64 characters long. The allowed characters are: a-z (lower-case letters), 0-9, and _ (underscore). The name score is reserved and cannot be used as a field name.

type String

The field type. Valid values: date, date-array, double, double-array, int, int-array, literal, literal-array, text, text-array.

analysisScheme String

The analysis scheme you want to use for a text field. The analysis scheme specifies the language-specific text processing options that are used during indexing.

defaultValue String

The default value for the field. This value is used when no value is specified for the field in the document data.

facet Boolean

You can get facet information by enabling this.

highlight Boolean

You can highlight information.

return Boolean

You can enable returning the value of all searchable fields.

search Boolean

You can set whether this index should be searchable or not.

sort Boolean

You can enable the property to be sortable.

sourceFields String

A comma-separated list of source fields to map to the field. Specifying a source field copies data from one field to another, enabling you to use the same source data in different ways by configuring different options for the fields.

DomainScalingParameters

DesiredInstanceType string

The instance type that you want to preconfigure for your domain. See the AWS documentation for valid values.

DesiredPartitionCount int

The number of partitions you want to preconfigure for your domain. Only valid when you select search.2xlarge as the instance type.

DesiredReplicationCount int

The number of replicas you want to preconfigure for each index partition.

DesiredInstanceType string

The instance type that you want to preconfigure for your domain. See the AWS documentation for valid values.

DesiredPartitionCount int

The number of partitions you want to preconfigure for your domain. Only valid when you select search.2xlarge as the instance type.

DesiredReplicationCount int

The number of replicas you want to preconfigure for each index partition.

desiredInstanceType String

The instance type that you want to preconfigure for your domain. See the AWS documentation for valid values.

desiredPartitionCount Integer

The number of partitions you want to preconfigure for your domain. Only valid when you select search.2xlarge as the instance type.

desiredReplicationCount Integer

The number of replicas you want to preconfigure for each index partition.

desiredInstanceType string

The instance type that you want to preconfigure for your domain. See the AWS documentation for valid values.

desiredPartitionCount number

The number of partitions you want to preconfigure for your domain. Only valid when you select search.2xlarge as the instance type.

desiredReplicationCount number

The number of replicas you want to preconfigure for each index partition.

desired_instance_type str

The instance type that you want to preconfigure for your domain. See the AWS documentation for valid values.

desired_partition_count int

The number of partitions you want to preconfigure for your domain. Only valid when you select search.2xlarge as the instance type.

desired_replication_count int

The number of replicas you want to preconfigure for each index partition.

desiredInstanceType String

The instance type that you want to preconfigure for your domain. See the AWS documentation for valid values.

desiredPartitionCount Number

The number of partitions you want to preconfigure for your domain. Only valid when you select search.2xlarge as the instance type.

desiredReplicationCount Number

The number of replicas you want to preconfigure for each index partition.

Package Details

Repository
https://github.com/pulumi/pulumi-aws
License
Apache-2.0
Notes

This Pulumi package is based on the aws Terraform Provider.