Try AWS Native preview for resources not in the classic version.
aws.cloudsearch.Domain
Explore with Pulumi AI
Try AWS Native preview for resources not in the classic version.
Provides an CloudSearch domain resource.
The provider waits for the domain to become Active
when applying a configuration.
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.CloudSearch.Domain("example", new()
{
IndexFields = new[]
{
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/v6/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 com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.cloudsearch.Domain;
import com.pulumi.aws.cloudsearch.DomainArgs;
import com.pulumi.aws.cloudsearch.inputs.DomainIndexFieldArgs;
import com.pulumi.aws.cloudsearch.inputs.DomainScalingParametersArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
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 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:
- Endpoint
Options DomainEndpoint Options Domain endpoint options. Documented below.
- Index
Fields List<DomainIndex Field> 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 string
The name of the CloudSearch domain.
- Scaling
Parameters DomainScaling Parameters Domain scaling parameters. Documented below.
- Endpoint
Options DomainEndpoint Options Args Domain endpoint options. Documented below.
- Index
Fields []DomainIndex Field Args 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 string
The name of the CloudSearch domain.
- Scaling
Parameters DomainScaling Parameters Args Domain scaling parameters. Documented below.
- endpoint
Options DomainEndpoint Options Domain endpoint options. Documented below.
- index
Fields List<DomainIndex Field> The index fields for documents added to the domain. Documented below.
- multi
Az Boolean Whether or not to maintain extra instances for the domain in a second Availability Zone to ensure high availability.
- name String
The name of the CloudSearch domain.
- scaling
Parameters DomainScaling Parameters Domain scaling parameters. Documented below.
- endpoint
Options DomainEndpoint Options Domain endpoint options. Documented below.
- index
Fields DomainIndex Field[] The index fields for documents added to the domain. Documented below.
- multi
Az boolean Whether or not to maintain extra instances for the domain in a second Availability Zone to ensure high availability.
- name string
The name of the CloudSearch domain.
- scaling
Parameters DomainScaling Parameters Domain scaling parameters. Documented below.
- endpoint_
options DomainEndpoint Options Args Domain endpoint options. Documented below.
- index_
fields Sequence[DomainIndex Field Args] 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
The name of the CloudSearch domain.
- scaling_
parameters DomainScaling Parameters Args Domain scaling parameters. Documented below.
- endpoint
Options Property Map Domain endpoint options. Documented below.
- index
Fields List<Property Map> The index fields for documents added to the domain. Documented below.
- multi
Az Boolean Whether or not to maintain extra instances for the domain in a second Availability Zone to ensure high availability.
- name String
The name of the CloudSearch domain.
- scaling
Parameters 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.
- Document
Service stringEndpoint The service endpoint for updating documents in a search domain.
- Domain
Id string An internally generated unique identifier for the domain.
- Id string
The provider-assigned unique ID for this managed resource.
- Search
Service stringEndpoint The service endpoint for requesting search results from a search domain.
- Arn string
The domain's ARN.
- Document
Service stringEndpoint The service endpoint for updating documents in a search domain.
- Domain
Id string An internally generated unique identifier for the domain.
- Id string
The provider-assigned unique ID for this managed resource.
- Search
Service stringEndpoint The service endpoint for requesting search results from a search domain.
- arn String
The domain's ARN.
- document
Service StringEndpoint The service endpoint for updating documents in a search domain.
- domain
Id String An internally generated unique identifier for the domain.
- id String
The provider-assigned unique ID for this managed resource.
- search
Service StringEndpoint The service endpoint for requesting search results from a search domain.
- arn string
The domain's ARN.
- document
Service stringEndpoint The service endpoint for updating documents in a search domain.
- domain
Id string An internally generated unique identifier for the domain.
- id string
The provider-assigned unique ID for this managed resource.
- search
Service stringEndpoint The service endpoint for requesting search results from a search domain.
- arn str
The domain's ARN.
- document_
service_ strendpoint 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_ strendpoint The service endpoint for requesting search results from a search domain.
- arn String
The domain's ARN.
- document
Service StringEndpoint The service endpoint for updating documents in a search domain.
- domain
Id String An internally generated unique identifier for the domain.
- id String
The provider-assigned unique ID for this managed resource.
- search
Service StringEndpoint The service endpoint for requesting search results from a search domain.
Look up 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.
- Arn string
The domain's ARN.
- Document
Service stringEndpoint The service endpoint for updating documents in a search domain.
- Domain
Id string An internally generated unique identifier for the domain.
- Endpoint
Options DomainEndpoint Options Domain endpoint options. Documented below.
- Index
Fields List<DomainIndex Field> 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 string
The name of the CloudSearch domain.
- Scaling
Parameters DomainScaling Parameters Domain scaling parameters. Documented below.
- Search
Service stringEndpoint The service endpoint for requesting search results from a search domain.
- Arn string
The domain's ARN.
- Document
Service stringEndpoint The service endpoint for updating documents in a search domain.
- Domain
Id string An internally generated unique identifier for the domain.
- Endpoint
Options DomainEndpoint Options Args Domain endpoint options. Documented below.
- Index
Fields []DomainIndex Field Args 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 string
The name of the CloudSearch domain.
- Scaling
Parameters DomainScaling Parameters Args Domain scaling parameters. Documented below.
- Search
Service stringEndpoint The service endpoint for requesting search results from a search domain.
- arn String
The domain's ARN.
- document
Service StringEndpoint The service endpoint for updating documents in a search domain.
- domain
Id String An internally generated unique identifier for the domain.
- endpoint
Options DomainEndpoint Options Domain endpoint options. Documented below.
- index
Fields List<DomainIndex Field> The index fields for documents added to the domain. Documented below.
- multi
Az Boolean Whether or not to maintain extra instances for the domain in a second Availability Zone to ensure high availability.
- name String
The name of the CloudSearch domain.
- scaling
Parameters DomainScaling Parameters Domain scaling parameters. Documented below.
- search
Service StringEndpoint The service endpoint for requesting search results from a search domain.
- arn string
The domain's ARN.
- document
Service stringEndpoint The service endpoint for updating documents in a search domain.
- domain
Id string An internally generated unique identifier for the domain.
- endpoint
Options DomainEndpoint Options Domain endpoint options. Documented below.
- index
Fields DomainIndex Field[] The index fields for documents added to the domain. Documented below.
- multi
Az boolean Whether or not to maintain extra instances for the domain in a second Availability Zone to ensure high availability.
- name string
The name of the CloudSearch domain.
- scaling
Parameters DomainScaling Parameters Domain scaling parameters. Documented below.
- search
Service stringEndpoint The service endpoint for requesting search results from a search domain.
- arn str
The domain's ARN.
- document_
service_ strendpoint The service endpoint for updating documents in a search domain.
- domain_
id str An internally generated unique identifier for the domain.
- endpoint_
options DomainEndpoint Options Args Domain endpoint options. Documented below.
- index_
fields Sequence[DomainIndex Field Args] 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
The name of the CloudSearch domain.
- scaling_
parameters DomainScaling Parameters Args Domain scaling parameters. Documented below.
- search_
service_ strendpoint The service endpoint for requesting search results from a search domain.
- arn String
The domain's ARN.
- document
Service StringEndpoint The service endpoint for updating documents in a search domain.
- domain
Id String An internally generated unique identifier for the domain.
- endpoint
Options Property Map Domain endpoint options. Documented below.
- index
Fields List<Property Map> The index fields for documents added to the domain. Documented below.
- multi
Az Boolean Whether or not to maintain extra instances for the domain in a second Availability Zone to ensure high availability.
- name String
The name of the CloudSearch domain.
- scaling
Parameters Property Map Domain scaling parameters. Documented below.
- search
Service StringEndpoint The service endpoint for requesting search results from a search domain.
Supporting Types
DomainEndpointOptions, DomainEndpointOptionsArgs
- Enforce
Https bool Enables or disables the requirement that all requests to the domain arrive over HTTPS.
- Tls
Security stringPolicy 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 stringPolicy The minimum required TLS version. See the AWS documentation for valid values.
- enforce
Https Boolean Enables or disables the requirement that all requests to the domain arrive over HTTPS.
- tls
Security StringPolicy The minimum required TLS version. See the AWS documentation for valid values.
- enforce
Https boolean Enables or disables the requirement that all requests to the domain arrive over HTTPS.
- tls
Security stringPolicy 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_ strpolicy The minimum required TLS version. See the AWS documentation for valid values.
- enforce
Https Boolean Enables or disables the requirement that all requests to the domain arrive over HTTPS.
- tls
Security StringPolicy The minimum required TLS version. See the AWS documentation for valid values.
DomainIndexField, DomainIndexFieldArgs
- 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 namescore
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
.- Analysis
Scheme 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.- Default
Value 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.
- Source
Fields 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 namescore
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
.- Analysis
Scheme 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.- Default
Value 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.
- Source
Fields 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 namescore
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
.- analysis
Scheme 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.- default
Value 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.
- source
Fields 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 namescore
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
.- analysis
Scheme 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.- default
Value 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.
- source
Fields 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 namescore
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 namescore
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
.- analysis
Scheme 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.- default
Value 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.
- source
Fields 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, DomainScalingParametersArgs
- Desired
Instance stringType The instance type that you want to preconfigure for your domain. See the AWS documentation for valid values.
- Desired
Partition intCount The number of partitions you want to preconfigure for your domain. Only valid when you select
search.2xlarge
as the instance type.- Desired
Replication intCount The number of replicas you want to preconfigure for each index partition.
- Desired
Instance stringType The instance type that you want to preconfigure for your domain. See the AWS documentation for valid values.
- Desired
Partition intCount The number of partitions you want to preconfigure for your domain. Only valid when you select
search.2xlarge
as the instance type.- Desired
Replication intCount The number of replicas you want to preconfigure for each index partition.
- desired
Instance StringType The instance type that you want to preconfigure for your domain. See the AWS documentation for valid values.
- desired
Partition IntegerCount The number of partitions you want to preconfigure for your domain. Only valid when you select
search.2xlarge
as the instance type.- desired
Replication IntegerCount The number of replicas you want to preconfigure for each index partition.
- desired
Instance stringType The instance type that you want to preconfigure for your domain. See the AWS documentation for valid values.
- desired
Partition numberCount The number of partitions you want to preconfigure for your domain. Only valid when you select
search.2xlarge
as the instance type.- desired
Replication numberCount The number of replicas you want to preconfigure for each index partition.
- desired_
instance_ strtype The instance type that you want to preconfigure for your domain. See the AWS documentation for valid values.
- desired_
partition_ intcount The number of partitions you want to preconfigure for your domain. Only valid when you select
search.2xlarge
as the instance type.- desired_
replication_ intcount The number of replicas you want to preconfigure for each index partition.
- desired
Instance StringType The instance type that you want to preconfigure for your domain. See the AWS documentation for valid values.
- desired
Partition NumberCount The number of partitions you want to preconfigure for your domain. Only valid when you select
search.2xlarge
as the instance type.- desired
Replication NumberCount The number of replicas you want to preconfigure for each index partition.
Import
Using pulumi import
, import CloudSearch Domains using the name
. For example:
$ pulumi import aws:cloudsearch/domain:Domain example example-domain
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
aws
Terraform Provider.
Try AWS Native preview for resources not in the classic version.