elasticsearch

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 6, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

nolint: lll Package elasticsearch exports types, functions, subpackages for provisioning elasticsearch resources.

> This provider is a derived work of the [Terraform Provider](https://github.com/terraform-providers/terraform-provider-aws) > distributed under [MPL 2.0](https://www.mozilla.org/en-US/MPL/2.0/). If you encounter a bug or missing feature, > first check the [`pulumi/pulumi-aws` repo](https://github.com/pulumi/pulumi-aws/issues); however, if that doesn't turn up anything, > please consult the source [`terraform-providers/terraform-provider-aws` repo](https://github.com/terraform-providers/terraform-provider-aws/issues).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Domain

type Domain struct {
	// contains filtered or unexported fields
}

Manages an AWS Elasticsearch Domain.

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/elasticsearch_domain.html.markdown.

func GetDomain

func GetDomain(ctx *pulumi.Context,
	name string, id pulumi.ID, state *DomainState, opts ...pulumi.ResourceOpt) (*Domain, error)

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).

func NewDomain

func NewDomain(ctx *pulumi.Context,
	name string, args *DomainArgs, opts ...pulumi.ResourceOpt) (*Domain, error)

NewDomain registers a new resource with the given unique name, arguments, and options.

func (*Domain) AccessPolicies

func (r *Domain) AccessPolicies() *pulumi.StringOutput

IAM policy document specifying the access policies for the domain

func (*Domain) AdvancedOptions

func (r *Domain) AdvancedOptions() *pulumi.MapOutput

Key-value string pairs to specify advanced configuration options. Note that the values for these configuration options must be strings (wrapped in quotes) or they may be wrong and cause a perpetual diff, causing this provider to want to recreate your Elasticsearch domain on every apply.

func (*Domain) Arn

func (r *Domain) Arn() *pulumi.StringOutput

Amazon Resource Name (ARN) of the domain.

func (*Domain) ClusterConfig

func (r *Domain) ClusterConfig() *pulumi.Output

Cluster configuration of the domain, see below.

func (*Domain) CognitoOptions added in v0.15.1

func (r *Domain) CognitoOptions() *pulumi.Output

func (*Domain) DomainId

func (r *Domain) DomainId() *pulumi.StringOutput

Unique identifier for the domain.

func (*Domain) DomainName

func (r *Domain) DomainName() *pulumi.StringOutput

Name of the domain.

func (*Domain) EbsOptions

func (r *Domain) EbsOptions() *pulumi.Output

EBS related options, may be required based on chosen [instance size](https://aws.amazon.com/elasticsearch-service/pricing/). See below.

func (*Domain) ElasticsearchVersion

func (r *Domain) ElasticsearchVersion() *pulumi.StringOutput

The version of Elasticsearch to deploy. Defaults to `1.5`

func (*Domain) EncryptAtRest

func (r *Domain) EncryptAtRest() *pulumi.Output

Encrypt at rest options. Only available for [certain instance types](http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/aes-supported-instance-types.html). See below.

func (*Domain) Endpoint

func (r *Domain) Endpoint() *pulumi.StringOutput

Domain-specific endpoint used to submit index, search, and data upload requests.

func (*Domain) ID

func (r *Domain) ID() *pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*Domain) KibanaEndpoint

func (r *Domain) KibanaEndpoint() *pulumi.StringOutput

Domain-specific endpoint for kibana without https scheme. * `vpc_options.0.availability_zones` - If the domain was created inside a VPC, the names of the availability zones the configured `subnetIds` were created inside. * `vpc_options.0.vpc_id` - If the domain was created inside a VPC, the ID of the VPC.

func (*Domain) LogPublishingOptions

func (r *Domain) LogPublishingOptions() *pulumi.ArrayOutput

Options for publishing slow logs to CloudWatch Logs.

func (*Domain) NodeToNodeEncryption added in v0.16.1

func (r *Domain) NodeToNodeEncryption() *pulumi.Output

Node-to-node encryption options. See below.

func (*Domain) SnapshotOptions

func (r *Domain) SnapshotOptions() *pulumi.Output

Snapshot related options, see below.

func (*Domain) Tags

func (r *Domain) Tags() *pulumi.MapOutput

A mapping of tags to assign to the resource

func (*Domain) URN

func (r *Domain) URN() *pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

func (*Domain) VpcOptions

func (r *Domain) VpcOptions() *pulumi.Output

VPC related options, see below. Adding or removing this configuration forces a new resource ([documentation](https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-vpc.html#es-vpc-limitations)).

type DomainArgs

type DomainArgs struct {
	// IAM policy document specifying the access policies for the domain
	AccessPolicies interface{}
	// Key-value string pairs to specify advanced configuration options.
	// Note that the values for these configuration options must be strings (wrapped in quotes) or they
	// may be wrong and cause a perpetual diff, causing this provider to want to recreate your Elasticsearch
	// domain on every apply.
	AdvancedOptions interface{}
	// Cluster configuration of the domain, see below.
	ClusterConfig  interface{}
	CognitoOptions interface{}
	// Name of the domain.
	DomainName interface{}
	// EBS related options, may be required based on chosen [instance size](https://aws.amazon.com/elasticsearch-service/pricing/). See below.
	EbsOptions interface{}
	// The version of Elasticsearch to deploy. Defaults to `1.5`
	ElasticsearchVersion interface{}
	// Encrypt at rest options. Only available for [certain instance types](http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/aes-supported-instance-types.html). See below.
	EncryptAtRest interface{}
	// Options for publishing slow logs to CloudWatch Logs.
	LogPublishingOptions interface{}
	// Node-to-node encryption options. See below.
	NodeToNodeEncryption interface{}
	// Snapshot related options, see below.
	SnapshotOptions interface{}
	// A mapping of tags to assign to the resource
	Tags interface{}
	// VPC related options, see below. Adding or removing this configuration forces a new resource ([documentation](https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-vpc.html#es-vpc-limitations)).
	VpcOptions interface{}
}

The set of arguments for constructing a Domain resource.

type DomainPolicy

type DomainPolicy struct {
	// contains filtered or unexported fields
}

Allows setting policy to an Elasticsearch domain while referencing domain attributes (e.g. ARN)

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/elasticsearch_domain_policy.html.markdown.

func GetDomainPolicy

func GetDomainPolicy(ctx *pulumi.Context,
	name string, id pulumi.ID, state *DomainPolicyState, opts ...pulumi.ResourceOpt) (*DomainPolicy, error)

GetDomainPolicy gets an existing DomainPolicy resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewDomainPolicy

func NewDomainPolicy(ctx *pulumi.Context,
	name string, args *DomainPolicyArgs, opts ...pulumi.ResourceOpt) (*DomainPolicy, error)

NewDomainPolicy registers a new resource with the given unique name, arguments, and options.

func (*DomainPolicy) AccessPolicies

func (r *DomainPolicy) AccessPolicies() *pulumi.StringOutput

IAM policy document specifying the access policies for the domain

func (*DomainPolicy) DomainName

func (r *DomainPolicy) DomainName() *pulumi.StringOutput

Name of the domain.

func (*DomainPolicy) ID

func (r *DomainPolicy) ID() *pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*DomainPolicy) URN

func (r *DomainPolicy) URN() *pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

type DomainPolicyArgs

type DomainPolicyArgs struct {
	// IAM policy document specifying the access policies for the domain
	AccessPolicies interface{}
	// Name of the domain.
	DomainName interface{}
}

The set of arguments for constructing a DomainPolicy resource.

type DomainPolicyState

type DomainPolicyState struct {
	// IAM policy document specifying the access policies for the domain
	AccessPolicies interface{}
	// Name of the domain.
	DomainName interface{}
}

Input properties used for looking up and filtering DomainPolicy resources.

type DomainState

type DomainState struct {
	// IAM policy document specifying the access policies for the domain
	AccessPolicies interface{}
	// Key-value string pairs to specify advanced configuration options.
	// Note that the values for these configuration options must be strings (wrapped in quotes) or they
	// may be wrong and cause a perpetual diff, causing this provider to want to recreate your Elasticsearch
	// domain on every apply.
	AdvancedOptions interface{}
	// Amazon Resource Name (ARN) of the domain.
	Arn interface{}
	// Cluster configuration of the domain, see below.
	ClusterConfig  interface{}
	CognitoOptions interface{}
	// Unique identifier for the domain.
	DomainId interface{}
	// Name of the domain.
	DomainName interface{}
	// EBS related options, may be required based on chosen [instance size](https://aws.amazon.com/elasticsearch-service/pricing/). See below.
	EbsOptions interface{}
	// The version of Elasticsearch to deploy. Defaults to `1.5`
	ElasticsearchVersion interface{}
	// Encrypt at rest options. Only available for [certain instance types](http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/aes-supported-instance-types.html). See below.
	EncryptAtRest interface{}
	// Domain-specific endpoint used to submit index, search, and data upload requests.
	Endpoint interface{}
	// Domain-specific endpoint for kibana without https scheme.
	// * `vpc_options.0.availability_zones` - If the domain was created inside a VPC, the names of the availability zones the configured `subnetIds` were created inside.
	// * `vpc_options.0.vpc_id` - If the domain was created inside a VPC, the ID of the VPC.
	KibanaEndpoint interface{}
	// Options for publishing slow logs to CloudWatch Logs.
	LogPublishingOptions interface{}
	// Node-to-node encryption options. See below.
	NodeToNodeEncryption interface{}
	// Snapshot related options, see below.
	SnapshotOptions interface{}
	// A mapping of tags to assign to the resource
	Tags interface{}
	// VPC related options, see below. Adding or removing this configuration forces a new resource ([documentation](https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-vpc.html#es-vpc-limitations)).
	VpcOptions interface{}
}

Input properties used for looking up and filtering Domain resources.

type GetDomainArgs added in v1.0.0

type GetDomainArgs struct {
	// Name of the domain.
	DomainName interface{}
	Tags       interface{}
}

A collection of arguments for invoking getDomain.

type GetDomainResult added in v1.0.0

type GetDomainResult struct {
	// The policy document attached to the domain.
	AccessPolicies interface{}
	// Key-value string pairs to specify advanced configuration options.
	AdvancedOptions interface{}
	// The Amazon Resource Name (ARN) of the domain.
	Arn interface{}
	// Cluster configuration of the domain.
	ClusterConfigs interface{}
	// Domain Amazon Cognito Authentication options for Kibana.
	CognitoOptions interface{}
	// Status of the creation of the domain.
	Created interface{}
	// Status of the deletion of the domain.
	Deleted interface{}
	// Unique identifier for the domain.
	DomainId   interface{}
	DomainName interface{}
	// EBS Options for the instances in the domain.
	EbsOptions interface{}
	// ElasticSearch version for the domain.
	ElasticsearchVersion interface{}
	// Domain encryption at rest related options.
	EncryptionAtRests interface{}
	// Domain-specific endpoint used to submit index, search, and data upload requests.
	Endpoint interface{}
	// Domain-specific endpoint used to access the Kibana application.
	KibanaEndpoint interface{}
	// Domain log publishing related options.
	LogPublishingOptions interface{}
	// Domain in transit encryption related options.
	NodeToNodeEncryptions interface{}
	// Status of a configuration change in the domain.
	// * `snapshotOptions` – Domain snapshot related options.
	Processing      interface{}
	SnapshotOptions interface{}
	// The tags assigned to the domain.
	Tags interface{}
	// VPC Options for private Elasticsearch domains.
	VpcOptions interface{}
	// id is the provider-assigned unique ID for this managed resource.
	Id interface{}
}

A collection of values returned by getDomain.

func LookupDomain added in v1.0.0

func LookupDomain(ctx *pulumi.Context, args *GetDomainArgs) (*GetDomainResult, error)

Use this data source to get information about an Elasticsearch Domain

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/d/elasticsearch_domain.html.markdown.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL