DomainState constructor

const DomainState({
  1. Input? accessPolicies,
  2. Input<Map<String, String>?>? advancedOptions,
  3. Input<DomainAdvancedSecurityOptions?>? advancedSecurityOptions,
  4. Input<String?>? arn,
  5. Input<DomainAutoTuneOptions?>? autoTuneOptions,
  6. Input<DomainClusterConfig?>? clusterConfig,
  7. Input<DomainCognitoOptions?>? cognitoOptions,
  8. Input<DomainDomainEndpointOptions?>? domainEndpointOptions,
  9. Input<String?>? domainId,
  10. Input<String?>? domainName,
  11. Input<DomainEbsOptions?>? ebsOptions,
  12. Input<String?>? elasticsearchVersion,
  13. Input<DomainEncryptAtRest?>? encryptAtRest,
  14. Input<String?>? endpoint,
  15. Input<String?>? kibanaEndpoint,
  16. Input<List<DomainLogPublishingOption>?>? logPublishingOptions,
  17. Input<DomainNodeToNodeEncryption?>? nodeToNodeEncryption,
  18. Input<String?>? region,
  19. Input<DomainSnapshotOptions?>? snapshotOptions,
  20. Input<Map<String, String>?>? tags,
  21. Input<Map<String, String>?>? tagsAll,
  22. Input<DomainVpcOptions?>? vpcOptions,
})

Creates a new DomainState. accessPolicies IAM policy document specifying the access policies for the domain. advancedOptions 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 the provider to want to recreate your Elasticsearch domain on every apply. advancedSecurityOptions Configuration block for fine-grained access control. Detailed below. arn ARN of the domain. autoTuneOptions Configuration block for the Auto-Tune options of the domain. Detailed below. clusterConfig Configuration block for the cluster of the domain. Detailed below. cognitoOptions Configuration block for authenticating Kibana with Cognito. Detailed below. domainEndpointOptions Configuration block for domain endpoint HTTP(S) related options. Detailed below. domainId Unique identifier for the domain. domainName Name of the domain. ebsOptions Configuration block for EBS related options, may be required based on chosen instance size. Detailed below. elasticsearchVersion Version of Elasticsearch to deploy. Defaults to 1.5. encryptAtRest Configuration block for encrypt at rest options. Only available for certain instance types. Detailed below. endpoint Domain-specific endpoint used to submit index, search, and data upload requests. kibanaEndpoint Domain-specific endpoint for kibana without https scheme. logPublishingOptions Configuration block for publishing slow and application logs to CloudWatch Logs. This block can be declared multiple times, for each log_type, within the same resource. Detailed below. nodeToNodeEncryption Configuration block for node-to-node encryption options. Detailed below. region Region where this resource will be managed. Defaults to the Region set in the provider configuration. snapshotOptions Configuration block for snapshot related options. Detailed below. DEPRECATED. For domains running Elasticsearch 5.3 and later, Amazon ES takes hourly automated snapshots, making this setting irrelevant. For domains running earlier versions of Elasticsearch, Amazon ES takes daily automated snapshots. tags Map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level. tagsAll Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block. vpcOptions Configuration block for VPC related options. Adding or removing this configuration forces a new resource (documentation). Detailed below.

Implementation

const DomainState({
  this.accessPolicies,
  this.advancedOptions,
  this.advancedSecurityOptions,
  this.arn,
  this.autoTuneOptions,
  this.clusterConfig,
  this.cognitoOptions,
  this.domainEndpointOptions,
  this.domainId,
  this.domainName,
  this.ebsOptions,
  this.elasticsearchVersion,
  this.encryptAtRest,
  this.endpoint,
  this.kibanaEndpoint,
  this.logPublishingOptions,
  this.nodeToNodeEncryption,
  this.region,
  this.snapshotOptions,
  this.tags,
  this.tagsAll,
  this.vpcOptions,
});