opensearch.Provider
Explore with Pulumi AI
The provider type for the opensearch package. By default, resources use package-wide configuration
settings, however an explicit Provider
instance may be created and passed during resource
construction to achieve fine-grained programmatic control over provider settings. See the
documentation for more information.
Create Provider Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Provider(name: string, args: ProviderArgs, opts?: CustomResourceOptions);
@overload
def Provider(resource_name: str,
args: ProviderArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Provider(resource_name: str,
opts: Optional[ResourceOptions] = None,
aws_access_key: Optional[str] = None,
aws_assume_role_arn: Optional[str] = None,
aws_assume_role_external_id: Optional[str] = None,
aws_profile: Optional[str] = None,
aws_region: Optional[str] = None,
aws_secret_key: Optional[str] = None,
aws_signature_service: Optional[str] = None,
aws_token: Optional[str] = None,
cacert_file: Optional[str] = None,
client_cert_path: Optional[str] = None,
client_key_path: Optional[str] = None,
healthcheck: Optional[bool] = None,
host_override: Optional[str] = None,
insecure: Optional[bool] = None,
opensearch_version: Optional[str] = None,
password: Optional[str] = None,
proxy: Optional[str] = None,
sign_aws_requests: Optional[bool] = None,
sniff: Optional[bool] = None,
token: Optional[str] = None,
token_name: Optional[str] = None,
url: Optional[str] = None,
username: Optional[str] = None,
version_ping_timeout: Optional[float] = None)
func NewProvider(ctx *Context, name string, args ProviderArgs, opts ...ResourceOption) (*Provider, error)
public Provider(string name, ProviderArgs args, CustomResourceOptions? opts = null)
public Provider(String name, ProviderArgs args)
public Provider(String name, ProviderArgs args, CustomResourceOptions options)
type: pulumi:providers:opensearch
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 ProviderArgs
- 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 ProviderArgs
- 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 ProviderArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ProviderArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ProviderArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Provider Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Provider resource accepts the following input properties:
- Url string
- OpenSearch URL
- Aws
Access stringKey - The access key for use with AWS OpenSearch Service domains
- Aws
Assume stringRole Arn - Amazon Resource Name of an IAM Role to assume prior to making AWS API calls.
- Aws
Assume stringRole External Id - External ID configured in the IAM policy of the IAM Role to assume prior to making AWS API calls.
- Aws
Profile string - The AWS profile for use with AWS OpenSearch Service domains
- Aws
Region string - The AWS region for use in signing of AWS OpenSearch requests. Must be specified in order to use AWS URL signing with AWS OpenSearch endpoint exposed on a custom DNS domain.
- Aws
Secret stringKey - The secret key for use with AWS OpenSearch Service domains
- Aws
Signature stringService - AWS service name used in the credential scope of signed requests to OpenSearch.
- Aws
Token string - The session token for use with AWS OpenSearch Service domains
- Cacert
File string - A Custom CA certificate
- Client
Cert stringPath - A X509 certificate to connect to OpenSearch
- Client
Key stringPath - A X509 key to connect to OpenSearch
- Healthcheck bool
- Set the client healthcheck option for the OpenSearch client. Healthchecking is designed for direct access to the cluster.
- Host
Override string - If provided, sets the 'Host' header of requests and the 'ServerName' for certificate validation to this value. See the documentation on connecting to OpenSearch via an SSH tunnel.
- Insecure bool
- Disable SSL verification of API calls
- Opensearch
Version string - OpenSearch Version
- Password string
- Password to use to connect to OpenSearch using basic auth
- Proxy string
- Proxy URL to use for requests to OpenSearch.
- Sign
Aws boolRequests - Enable signing of AWS OpenSearch requests. The
url
must refer to AWS ES domain (*.<region>.es.amazonaws.com
), oraws_region
must be specified explicitly. - Sniff bool
- Set the node sniffing option for the OpenSearch client. Client won't work with sniffing if nodes are not routable.
- Token string
- A bearer token or ApiKey for an Authorization header, e.g. Active Directory API key.
- Token
Name string - The type of token, usually ApiKey or Bearer
- Username string
- Username to use to connect to OpenSearch using basic auth
- Version
Ping doubleTimeout - Version ping timeout in seconds
- Url string
- OpenSearch URL
- Aws
Access stringKey - The access key for use with AWS OpenSearch Service domains
- Aws
Assume stringRole Arn - Amazon Resource Name of an IAM Role to assume prior to making AWS API calls.
- Aws
Assume stringRole External Id - External ID configured in the IAM policy of the IAM Role to assume prior to making AWS API calls.
- Aws
Profile string - The AWS profile for use with AWS OpenSearch Service domains
- Aws
Region string - The AWS region for use in signing of AWS OpenSearch requests. Must be specified in order to use AWS URL signing with AWS OpenSearch endpoint exposed on a custom DNS domain.
- Aws
Secret stringKey - The secret key for use with AWS OpenSearch Service domains
- Aws
Signature stringService - AWS service name used in the credential scope of signed requests to OpenSearch.
- Aws
Token string - The session token for use with AWS OpenSearch Service domains
- Cacert
File string - A Custom CA certificate
- Client
Cert stringPath - A X509 certificate to connect to OpenSearch
- Client
Key stringPath - A X509 key to connect to OpenSearch
- Healthcheck bool
- Set the client healthcheck option for the OpenSearch client. Healthchecking is designed for direct access to the cluster.
- Host
Override string - If provided, sets the 'Host' header of requests and the 'ServerName' for certificate validation to this value. See the documentation on connecting to OpenSearch via an SSH tunnel.
- Insecure bool
- Disable SSL verification of API calls
- Opensearch
Version string - OpenSearch Version
- Password string
- Password to use to connect to OpenSearch using basic auth
- Proxy string
- Proxy URL to use for requests to OpenSearch.
- Sign
Aws boolRequests - Enable signing of AWS OpenSearch requests. The
url
must refer to AWS ES domain (*.<region>.es.amazonaws.com
), oraws_region
must be specified explicitly. - Sniff bool
- Set the node sniffing option for the OpenSearch client. Client won't work with sniffing if nodes are not routable.
- Token string
- A bearer token or ApiKey for an Authorization header, e.g. Active Directory API key.
- Token
Name string - The type of token, usually ApiKey or Bearer
- Username string
- Username to use to connect to OpenSearch using basic auth
- Version
Ping float64Timeout - Version ping timeout in seconds
- url String
- OpenSearch URL
- aws
Access StringKey - The access key for use with AWS OpenSearch Service domains
- aws
Assume StringRole Arn - Amazon Resource Name of an IAM Role to assume prior to making AWS API calls.
- aws
Assume StringRole External Id - External ID configured in the IAM policy of the IAM Role to assume prior to making AWS API calls.
- aws
Profile String - The AWS profile for use with AWS OpenSearch Service domains
- aws
Region String - The AWS region for use in signing of AWS OpenSearch requests. Must be specified in order to use AWS URL signing with AWS OpenSearch endpoint exposed on a custom DNS domain.
- aws
Secret StringKey - The secret key for use with AWS OpenSearch Service domains
- aws
Signature StringService - AWS service name used in the credential scope of signed requests to OpenSearch.
- aws
Token String - The session token for use with AWS OpenSearch Service domains
- cacert
File String - A Custom CA certificate
- client
Cert StringPath - A X509 certificate to connect to OpenSearch
- client
Key StringPath - A X509 key to connect to OpenSearch
- healthcheck Boolean
- Set the client healthcheck option for the OpenSearch client. Healthchecking is designed for direct access to the cluster.
- host
Override String - If provided, sets the 'Host' header of requests and the 'ServerName' for certificate validation to this value. See the documentation on connecting to OpenSearch via an SSH tunnel.
- insecure Boolean
- Disable SSL verification of API calls
- opensearch
Version String - OpenSearch Version
- password String
- Password to use to connect to OpenSearch using basic auth
- proxy String
- Proxy URL to use for requests to OpenSearch.
- sign
Aws BooleanRequests - Enable signing of AWS OpenSearch requests. The
url
must refer to AWS ES domain (*.<region>.es.amazonaws.com
), oraws_region
must be specified explicitly. - sniff Boolean
- Set the node sniffing option for the OpenSearch client. Client won't work with sniffing if nodes are not routable.
- token String
- A bearer token or ApiKey for an Authorization header, e.g. Active Directory API key.
- token
Name String - The type of token, usually ApiKey or Bearer
- username String
- Username to use to connect to OpenSearch using basic auth
- version
Ping DoubleTimeout - Version ping timeout in seconds
- url string
- OpenSearch URL
- aws
Access stringKey - The access key for use with AWS OpenSearch Service domains
- aws
Assume stringRole Arn - Amazon Resource Name of an IAM Role to assume prior to making AWS API calls.
- aws
Assume stringRole External Id - External ID configured in the IAM policy of the IAM Role to assume prior to making AWS API calls.
- aws
Profile string - The AWS profile for use with AWS OpenSearch Service domains
- aws
Region string - The AWS region for use in signing of AWS OpenSearch requests. Must be specified in order to use AWS URL signing with AWS OpenSearch endpoint exposed on a custom DNS domain.
- aws
Secret stringKey - The secret key for use with AWS OpenSearch Service domains
- aws
Signature stringService - AWS service name used in the credential scope of signed requests to OpenSearch.
- aws
Token string - The session token for use with AWS OpenSearch Service domains
- cacert
File string - A Custom CA certificate
- client
Cert stringPath - A X509 certificate to connect to OpenSearch
- client
Key stringPath - A X509 key to connect to OpenSearch
- healthcheck boolean
- Set the client healthcheck option for the OpenSearch client. Healthchecking is designed for direct access to the cluster.
- host
Override string - If provided, sets the 'Host' header of requests and the 'ServerName' for certificate validation to this value. See the documentation on connecting to OpenSearch via an SSH tunnel.
- insecure boolean
- Disable SSL verification of API calls
- opensearch
Version string - OpenSearch Version
- password string
- Password to use to connect to OpenSearch using basic auth
- proxy string
- Proxy URL to use for requests to OpenSearch.
- sign
Aws booleanRequests - Enable signing of AWS OpenSearch requests. The
url
must refer to AWS ES domain (*.<region>.es.amazonaws.com
), oraws_region
must be specified explicitly. - sniff boolean
- Set the node sniffing option for the OpenSearch client. Client won't work with sniffing if nodes are not routable.
- token string
- A bearer token or ApiKey for an Authorization header, e.g. Active Directory API key.
- token
Name string - The type of token, usually ApiKey or Bearer
- username string
- Username to use to connect to OpenSearch using basic auth
- version
Ping numberTimeout - Version ping timeout in seconds
- url str
- OpenSearch URL
- aws_
access_ strkey - The access key for use with AWS OpenSearch Service domains
- aws_
assume_ strrole_ arn - Amazon Resource Name of an IAM Role to assume prior to making AWS API calls.
- aws_
assume_ strrole_ external_ id - External ID configured in the IAM policy of the IAM Role to assume prior to making AWS API calls.
- aws_
profile str - The AWS profile for use with AWS OpenSearch Service domains
- aws_
region str - The AWS region for use in signing of AWS OpenSearch requests. Must be specified in order to use AWS URL signing with AWS OpenSearch endpoint exposed on a custom DNS domain.
- aws_
secret_ strkey - The secret key for use with AWS OpenSearch Service domains
- aws_
signature_ strservice - AWS service name used in the credential scope of signed requests to OpenSearch.
- aws_
token str - The session token for use with AWS OpenSearch Service domains
- cacert_
file str - A Custom CA certificate
- client_
cert_ strpath - A X509 certificate to connect to OpenSearch
- client_
key_ strpath - A X509 key to connect to OpenSearch
- healthcheck bool
- Set the client healthcheck option for the OpenSearch client. Healthchecking is designed for direct access to the cluster.
- host_
override str - If provided, sets the 'Host' header of requests and the 'ServerName' for certificate validation to this value. See the documentation on connecting to OpenSearch via an SSH tunnel.
- insecure bool
- Disable SSL verification of API calls
- opensearch_
version str - OpenSearch Version
- password str
- Password to use to connect to OpenSearch using basic auth
- proxy str
- Proxy URL to use for requests to OpenSearch.
- sign_
aws_ boolrequests - Enable signing of AWS OpenSearch requests. The
url
must refer to AWS ES domain (*.<region>.es.amazonaws.com
), oraws_region
must be specified explicitly. - sniff bool
- Set the node sniffing option for the OpenSearch client. Client won't work with sniffing if nodes are not routable.
- token str
- A bearer token or ApiKey for an Authorization header, e.g. Active Directory API key.
- token_
name str - The type of token, usually ApiKey or Bearer
- username str
- Username to use to connect to OpenSearch using basic auth
- version_
ping_ floattimeout - Version ping timeout in seconds
- url String
- OpenSearch URL
- aws
Access StringKey - The access key for use with AWS OpenSearch Service domains
- aws
Assume StringRole Arn - Amazon Resource Name of an IAM Role to assume prior to making AWS API calls.
- aws
Assume StringRole External Id - External ID configured in the IAM policy of the IAM Role to assume prior to making AWS API calls.
- aws
Profile String - The AWS profile for use with AWS OpenSearch Service domains
- aws
Region String - The AWS region for use in signing of AWS OpenSearch requests. Must be specified in order to use AWS URL signing with AWS OpenSearch endpoint exposed on a custom DNS domain.
- aws
Secret StringKey - The secret key for use with AWS OpenSearch Service domains
- aws
Signature StringService - AWS service name used in the credential scope of signed requests to OpenSearch.
- aws
Token String - The session token for use with AWS OpenSearch Service domains
- cacert
File String - A Custom CA certificate
- client
Cert StringPath - A X509 certificate to connect to OpenSearch
- client
Key StringPath - A X509 key to connect to OpenSearch
- healthcheck Boolean
- Set the client healthcheck option for the OpenSearch client. Healthchecking is designed for direct access to the cluster.
- host
Override String - If provided, sets the 'Host' header of requests and the 'ServerName' for certificate validation to this value. See the documentation on connecting to OpenSearch via an SSH tunnel.
- insecure Boolean
- Disable SSL verification of API calls
- opensearch
Version String - OpenSearch Version
- password String
- Password to use to connect to OpenSearch using basic auth
- proxy String
- Proxy URL to use for requests to OpenSearch.
- sign
Aws BooleanRequests - Enable signing of AWS OpenSearch requests. The
url
must refer to AWS ES domain (*.<region>.es.amazonaws.com
), oraws_region
must be specified explicitly. - sniff Boolean
- Set the node sniffing option for the OpenSearch client. Client won't work with sniffing if nodes are not routable.
- token String
- A bearer token or ApiKey for an Authorization header, e.g. Active Directory API key.
- token
Name String - The type of token, usually ApiKey or Bearer
- username String
- Username to use to connect to OpenSearch using basic auth
- version
Ping NumberTimeout - Version ping timeout in seconds
Outputs
All input properties are implicitly available as output properties. Additionally, the Provider resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Package Details
- Repository
- opensearch opensearch-project/terraform-provider-opensearch
- License
- Notes
- This Pulumi package is based on the
opensearch
Terraform Provider.