# Functions
No description provided by the author
No description provided by the author
GetDomain gets an existing Domain resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
GetDomainServiceAccessPolicy gets an existing DomainServiceAccessPolicy resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
NewDomain registers a new resource with the given unique name, arguments, and options.
NewDomainServiceAccessPolicy registers a new resource with the given unique name, arguments, and options.
# Structs
## Example Usage
```go package main
import ( "github.com/pulumi/pulumi-aws/sdk/v4/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), Type: pulumi.String("double"), }, }, ScalingParameters: &cloudsearch.DomainScalingParametersArgs{ DesiredInstanceType: pulumi.String("search.medium"), }, }) if err != nil { return err } return nil }) } ```
## Import
CloudSearch Domains can be imported using the `name`, e.g.,
```sh $ pulumi import aws:cloudsearch/domain:Domain example example-domain ```.
The set of arguments for constructing a Domain resource.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
## Example Usage
```go package main
import ( "fmt"
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/cloudsearch" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" )
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleDomain, err := cloudsearch.NewDomain(ctx, "exampleDomain", nil) if err != nil { return err } _, err = cloudsearch.NewDomainServiceAccessPolicy(ctx, "exampleDomainServiceAccessPolicy", &cloudsearch.DomainServiceAccessPolicyArgs{ DomainName: exampleDomain.ID(), AccessPolicy: pulumi.String(fmt.Sprintf("%v%v%v%v%v%v%v%v%v%v%v%v%v", "{\n", " \"Version\":\"2012-10-17\",\n", " \"Statement\":[{\n", " \"Sid\":\"search_only\",\n", " \"Effect\":\"Allow\",\n", " \"Principal\":\"*\",\n", " \"Action\":[\n", " \"cloudsearch:search\",\n", " \"cloudsearch:document\"\n", " ],\n", " \"Condition\":{\"IpAddress\":{\"aws:SourceIp\":\"192.0.2.0/32\"}}\n", " }]\n", "}\n")), }) if err != nil { return err } return nil }) } ```
## Import
CloudSearch domain service access policies can be imported using the domain name, e.g.,
```sh $ pulumi import aws:cloudsearch/domainServiceAccessPolicy:DomainServiceAccessPolicy example example-domain ```.
The set of arguments for constructing a DomainServiceAccessPolicy resource.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Interfaces
DomainArrayInput is an input type that accepts DomainArray and DomainArrayOutput values.
DomainEndpointOptionsInput is an input type that accepts DomainEndpointOptionsArgs and DomainEndpointOptionsOutput values.
DomainEndpointOptionsPtrInput is an input type that accepts DomainEndpointOptionsArgs, DomainEndpointOptionsPtr and DomainEndpointOptionsPtrOutput values.
DomainIndexFieldArrayInput is an input type that accepts DomainIndexFieldArray and DomainIndexFieldArrayOutput values.
DomainIndexFieldInput is an input type that accepts DomainIndexFieldArgs and DomainIndexFieldOutput values.
No description provided by the author
DomainMapInput is an input type that accepts DomainMap and DomainMapOutput values.
DomainScalingParametersInput is an input type that accepts DomainScalingParametersArgs and DomainScalingParametersOutput values.
DomainScalingParametersPtrInput is an input type that accepts DomainScalingParametersArgs, DomainScalingParametersPtr and DomainScalingParametersPtrOutput values.
DomainServiceAccessPolicyArrayInput is an input type that accepts DomainServiceAccessPolicyArray and DomainServiceAccessPolicyArrayOutput values.
No description provided by the author
DomainServiceAccessPolicyMapInput is an input type that accepts DomainServiceAccessPolicyMap and DomainServiceAccessPolicyMapOutput values.
# Type aliases
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author