ec.DeploymentElasticsearchKeystore
Explore with Pulumi AI
Example Usage
Basic
import * as pulumi from "@pulumi/pulumi";
import * as ec from "@pulumi/ec";
import * as std from "@pulumi/std";
const latest = ec.getStack({
versionRegex: "latest",
region: "us-east-1",
});
// Create an Elastic Cloud deployment
const exampleKeystore = new ec.Deployment("example_keystore", {
region: "us-east-1",
version: latest.then(latest => latest.version),
deploymentTemplateId: "aws-io-optimized-v2",
elasticsearch: {
hot: {
autoscaling: {},
},
},
});
// Create the keystore secret entry
const gcsCredential = new ec.DeploymentElasticsearchKeystore("gcs_credential", {
deploymentId: exampleKeystore.id,
settingName: "gcs.client.default.credentials_file",
value: std.file({
input: "service-account-key.json",
}).then(invoke => invoke.result),
asFile: true,
});
import pulumi
import pulumi_ec as ec
import pulumi_std as std
latest = ec.get_stack(version_regex="latest",
region="us-east-1")
# Create an Elastic Cloud deployment
example_keystore = ec.Deployment("example_keystore",
region="us-east-1",
version=latest.version,
deployment_template_id="aws-io-optimized-v2",
elasticsearch={
"hot": {
"autoscaling": {},
},
})
# Create the keystore secret entry
gcs_credential = ec.DeploymentElasticsearchKeystore("gcs_credential",
deployment_id=example_keystore.id,
setting_name="gcs.client.default.credentials_file",
value=std.file(input="service-account-key.json").result,
as_file=True)
package main
import (
"github.com/pulumi/pulumi-ec/sdk/go/ec"
"github.com/pulumi/pulumi-std/sdk/go/std"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
latest, err := ec.GetStack(ctx, &ec.GetStackArgs{
VersionRegex: "latest",
Region: "us-east-1",
}, nil)
if err != nil {
return err
}
// Create an Elastic Cloud deployment
exampleKeystore, err := ec.NewDeployment(ctx, "example_keystore", &ec.DeploymentArgs{
Region: pulumi.String("us-east-1"),
Version: pulumi.String(latest.Version),
DeploymentTemplateId: pulumi.String("aws-io-optimized-v2"),
Elasticsearch: &ec.DeploymentElasticsearchArgs{
Hot: &ec.DeploymentElasticsearchHotArgs{
Autoscaling: &ec.DeploymentElasticsearchHotAutoscalingArgs{},
},
},
})
if err != nil {
return err
}
invokeFile, err := std.File(ctx, &std.FileArgs{
Input: "service-account-key.json",
}, nil)
if err != nil {
return err
}
// Create the keystore secret entry
_, err = ec.NewDeploymentElasticsearchKeystore(ctx, "gcs_credential", &ec.DeploymentElasticsearchKeystoreArgs{
DeploymentId: exampleKeystore.ID(),
SettingName: pulumi.String("gcs.client.default.credentials_file"),
Value: pulumi.String(invokeFile.Result),
AsFile: pulumi.Bool(true),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using ElasticCloud = Pulumi.ElasticCloud;
using Std = Pulumi.Std;
return await Deployment.RunAsync(() =>
{
var latest = ElasticCloud.GetStack.Invoke(new()
{
VersionRegex = "latest",
Region = "us-east-1",
});
// Create an Elastic Cloud deployment
var exampleKeystore = new ElasticCloud.Deployment("example_keystore", new()
{
Region = "us-east-1",
Version = latest.Apply(getStackResult => getStackResult.Version),
DeploymentTemplateId = "aws-io-optimized-v2",
Elasticsearch = new ElasticCloud.Inputs.DeploymentElasticsearchArgs
{
Hot = new ElasticCloud.Inputs.DeploymentElasticsearchHotArgs
{
Autoscaling = null,
},
},
});
// Create the keystore secret entry
var gcsCredential = new ElasticCloud.DeploymentElasticsearchKeystore("gcs_credential", new()
{
DeploymentId = exampleKeystore.Id,
SettingName = "gcs.client.default.credentials_file",
Value = Std.File.Invoke(new()
{
Input = "service-account-key.json",
}).Apply(invoke => invoke.Result),
AsFile = true,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ec.EcFunctions;
import com.pulumi.ec.inputs.GetStackArgs;
import com.pulumi.ec.Deployment;
import com.pulumi.ec.DeploymentArgs;
import com.pulumi.ec.inputs.DeploymentElasticsearchArgs;
import com.pulumi.ec.inputs.DeploymentElasticsearchHotArgs;
import com.pulumi.ec.inputs.DeploymentElasticsearchHotAutoscalingArgs;
import com.pulumi.ec.DeploymentElasticsearchKeystore;
import com.pulumi.ec.DeploymentElasticsearchKeystoreArgs;
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) {
final var latest = EcFunctions.getStack(GetStackArgs.builder()
.versionRegex("latest")
.region("us-east-1")
.build());
// Create an Elastic Cloud deployment
var exampleKeystore = new Deployment("exampleKeystore", DeploymentArgs.builder()
.region("us-east-1")
.version(latest.applyValue(getStackResult -> getStackResult.version()))
.deploymentTemplateId("aws-io-optimized-v2")
.elasticsearch(DeploymentElasticsearchArgs.builder()
.hot(DeploymentElasticsearchHotArgs.builder()
.autoscaling()
.build())
.build())
.build());
// Create the keystore secret entry
var gcsCredential = new DeploymentElasticsearchKeystore("gcsCredential", DeploymentElasticsearchKeystoreArgs.builder()
.deploymentId(exampleKeystore.id())
.settingName("gcs.client.default.credentials_file")
.value(StdFunctions.file(FileArgs.builder()
.input("service-account-key.json")
.build()).result())
.asFile(true)
.build());
}
}
resources:
# Create an Elastic Cloud deployment
exampleKeystore:
type: ec:Deployment
name: example_keystore
properties:
region: us-east-1
version: ${latest.version}
deploymentTemplateId: aws-io-optimized-v2
elasticsearch:
hot:
autoscaling: {}
# Create the keystore secret entry
gcsCredential:
type: ec:DeploymentElasticsearchKeystore
name: gcs_credential
properties:
deploymentId: ${exampleKeystore.id}
settingName: gcs.client.default.credentials_file
value:
fn::invoke:
Function: std:file
Arguments:
input: service-account-key.json
Return: result
asFile: true
variables:
latest:
fn::invoke:
Function: ec:getStack
Arguments:
versionRegex: latest
region: us-east-1
Adding credentials to use GCS as a snapshot repository
import * as pulumi from "@pulumi/pulumi";
import * as ec from "@pulumi/ec";
import * as std from "@pulumi/std";
const latest = ec.getStack({
versionRegex: "latest",
region: "us-east-1",
});
// Create an Elastic Cloud deployment
const exampleKeystore = new ec.Deployment("example_keystore", {
region: "us-east-1",
version: latest.then(latest => latest.version),
deploymentTemplateId: "aws-io-optimized-v2",
elasticsearch: {
hot: {
autoscaling: {},
},
},
});
// Create the keystore secret entry
const gcsCredential = new ec.DeploymentElasticsearchKeystore("gcs_credential", {
deploymentId: exampleKeystore.id,
settingName: "gcs.client.default.credentials_file",
value: std.file({
input: "service-account-key.json",
}).then(invoke => invoke.result),
asFile: true,
});
import pulumi
import pulumi_ec as ec
import pulumi_std as std
latest = ec.get_stack(version_regex="latest",
region="us-east-1")
# Create an Elastic Cloud deployment
example_keystore = ec.Deployment("example_keystore",
region="us-east-1",
version=latest.version,
deployment_template_id="aws-io-optimized-v2",
elasticsearch={
"hot": {
"autoscaling": {},
},
})
# Create the keystore secret entry
gcs_credential = ec.DeploymentElasticsearchKeystore("gcs_credential",
deployment_id=example_keystore.id,
setting_name="gcs.client.default.credentials_file",
value=std.file(input="service-account-key.json").result,
as_file=True)
package main
import (
"github.com/pulumi/pulumi-ec/sdk/go/ec"
"github.com/pulumi/pulumi-std/sdk/go/std"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
latest, err := ec.GetStack(ctx, &ec.GetStackArgs{
VersionRegex: "latest",
Region: "us-east-1",
}, nil)
if err != nil {
return err
}
// Create an Elastic Cloud deployment
exampleKeystore, err := ec.NewDeployment(ctx, "example_keystore", &ec.DeploymentArgs{
Region: pulumi.String("us-east-1"),
Version: pulumi.String(latest.Version),
DeploymentTemplateId: pulumi.String("aws-io-optimized-v2"),
Elasticsearch: &ec.DeploymentElasticsearchArgs{
Hot: &ec.DeploymentElasticsearchHotArgs{
Autoscaling: &ec.DeploymentElasticsearchHotAutoscalingArgs{},
},
},
})
if err != nil {
return err
}
invokeFile, err := std.File(ctx, &std.FileArgs{
Input: "service-account-key.json",
}, nil)
if err != nil {
return err
}
// Create the keystore secret entry
_, err = ec.NewDeploymentElasticsearchKeystore(ctx, "gcs_credential", &ec.DeploymentElasticsearchKeystoreArgs{
DeploymentId: exampleKeystore.ID(),
SettingName: pulumi.String("gcs.client.default.credentials_file"),
Value: pulumi.String(invokeFile.Result),
AsFile: pulumi.Bool(true),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using ElasticCloud = Pulumi.ElasticCloud;
using Std = Pulumi.Std;
return await Deployment.RunAsync(() =>
{
var latest = ElasticCloud.GetStack.Invoke(new()
{
VersionRegex = "latest",
Region = "us-east-1",
});
// Create an Elastic Cloud deployment
var exampleKeystore = new ElasticCloud.Deployment("example_keystore", new()
{
Region = "us-east-1",
Version = latest.Apply(getStackResult => getStackResult.Version),
DeploymentTemplateId = "aws-io-optimized-v2",
Elasticsearch = new ElasticCloud.Inputs.DeploymentElasticsearchArgs
{
Hot = new ElasticCloud.Inputs.DeploymentElasticsearchHotArgs
{
Autoscaling = null,
},
},
});
// Create the keystore secret entry
var gcsCredential = new ElasticCloud.DeploymentElasticsearchKeystore("gcs_credential", new()
{
DeploymentId = exampleKeystore.Id,
SettingName = "gcs.client.default.credentials_file",
Value = Std.File.Invoke(new()
{
Input = "service-account-key.json",
}).Apply(invoke => invoke.Result),
AsFile = true,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ec.EcFunctions;
import com.pulumi.ec.inputs.GetStackArgs;
import com.pulumi.ec.Deployment;
import com.pulumi.ec.DeploymentArgs;
import com.pulumi.ec.inputs.DeploymentElasticsearchArgs;
import com.pulumi.ec.inputs.DeploymentElasticsearchHotArgs;
import com.pulumi.ec.inputs.DeploymentElasticsearchHotAutoscalingArgs;
import com.pulumi.ec.DeploymentElasticsearchKeystore;
import com.pulumi.ec.DeploymentElasticsearchKeystoreArgs;
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) {
final var latest = EcFunctions.getStack(GetStackArgs.builder()
.versionRegex("latest")
.region("us-east-1")
.build());
// Create an Elastic Cloud deployment
var exampleKeystore = new Deployment("exampleKeystore", DeploymentArgs.builder()
.region("us-east-1")
.version(latest.applyValue(getStackResult -> getStackResult.version()))
.deploymentTemplateId("aws-io-optimized-v2")
.elasticsearch(DeploymentElasticsearchArgs.builder()
.hot(DeploymentElasticsearchHotArgs.builder()
.autoscaling()
.build())
.build())
.build());
// Create the keystore secret entry
var gcsCredential = new DeploymentElasticsearchKeystore("gcsCredential", DeploymentElasticsearchKeystoreArgs.builder()
.deploymentId(exampleKeystore.id())
.settingName("gcs.client.default.credentials_file")
.value(StdFunctions.file(FileArgs.builder()
.input("service-account-key.json")
.build()).result())
.asFile(true)
.build());
}
}
resources:
# Create an Elastic Cloud deployment
exampleKeystore:
type: ec:Deployment
name: example_keystore
properties:
region: us-east-1
version: ${latest.version}
deploymentTemplateId: aws-io-optimized-v2
elasticsearch:
hot:
autoscaling: {}
# Create the keystore secret entry
gcsCredential:
type: ec:DeploymentElasticsearchKeystore
name: gcs_credential
properties:
deploymentId: ${exampleKeystore.id}
settingName: gcs.client.default.credentials_file
value:
fn::invoke:
Function: std:file
Arguments:
input: service-account-key.json
Return: result
asFile: true
variables:
latest:
fn::invoke:
Function: ec:getStack
Arguments:
versionRegex: latest
region: us-east-1
Create DeploymentElasticsearchKeystore Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DeploymentElasticsearchKeystore(name: string, args: DeploymentElasticsearchKeystoreArgs, opts?: CustomResourceOptions);
@overload
def DeploymentElasticsearchKeystore(resource_name: str,
args: DeploymentElasticsearchKeystoreArgs,
opts: Optional[ResourceOptions] = None)
@overload
def DeploymentElasticsearchKeystore(resource_name: str,
opts: Optional[ResourceOptions] = None,
deployment_id: Optional[str] = None,
setting_name: Optional[str] = None,
value: Optional[str] = None,
as_file: Optional[bool] = None)
func NewDeploymentElasticsearchKeystore(ctx *Context, name string, args DeploymentElasticsearchKeystoreArgs, opts ...ResourceOption) (*DeploymentElasticsearchKeystore, error)
public DeploymentElasticsearchKeystore(string name, DeploymentElasticsearchKeystoreArgs args, CustomResourceOptions? opts = null)
public DeploymentElasticsearchKeystore(String name, DeploymentElasticsearchKeystoreArgs args)
public DeploymentElasticsearchKeystore(String name, DeploymentElasticsearchKeystoreArgs args, CustomResourceOptions options)
type: ec:DeploymentElasticsearchKeystore
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 DeploymentElasticsearchKeystoreArgs
- 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 DeploymentElasticsearchKeystoreArgs
- 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 DeploymentElasticsearchKeystoreArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DeploymentElasticsearchKeystoreArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DeploymentElasticsearchKeystoreArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var deploymentElasticsearchKeystoreResource = new ElasticCloud.DeploymentElasticsearchKeystore("deploymentElasticsearchKeystoreResource", new()
{
DeploymentId = "string",
SettingName = "string",
Value = "string",
AsFile = false,
});
example, err := ec.NewDeploymentElasticsearchKeystore(ctx, "deploymentElasticsearchKeystoreResource", &ec.DeploymentElasticsearchKeystoreArgs{
DeploymentId: pulumi.String("string"),
SettingName: pulumi.String("string"),
Value: pulumi.String("string"),
AsFile: pulumi.Bool(false),
})
var deploymentElasticsearchKeystoreResource = new DeploymentElasticsearchKeystore("deploymentElasticsearchKeystoreResource", DeploymentElasticsearchKeystoreArgs.builder()
.deploymentId("string")
.settingName("string")
.value("string")
.asFile(false)
.build());
deployment_elasticsearch_keystore_resource = ec.DeploymentElasticsearchKeystore("deploymentElasticsearchKeystoreResource",
deployment_id="string",
setting_name="string",
value="string",
as_file=False)
const deploymentElasticsearchKeystoreResource = new ec.DeploymentElasticsearchKeystore("deploymentElasticsearchKeystoreResource", {
deploymentId: "string",
settingName: "string",
value: "string",
asFile: false,
});
type: ec:DeploymentElasticsearchKeystore
properties:
asFile: false
deploymentId: string
settingName: string
value: string
DeploymentElasticsearchKeystore 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 DeploymentElasticsearchKeystore resource accepts the following input properties:
- Deployment
Id string - Deployment ID of the Deployment that holds the Elasticsearch cluster where the keystore setting will be written to.
- Setting
Name string - Name for the keystore setting, if the setting already exists in the Elasticsearch cluster, it will be overridden.
- Value string
- Value of this setting. This can either be a string or a JSON object that is stored as a JSON string in the keystore.
- As
File bool - Indicates the the remote keystore setting should be stored as a file. The default is false, which stores the keystore setting as string when value is a plain string.
- Deployment
Id string - Deployment ID of the Deployment that holds the Elasticsearch cluster where the keystore setting will be written to.
- Setting
Name string - Name for the keystore setting, if the setting already exists in the Elasticsearch cluster, it will be overridden.
- Value string
- Value of this setting. This can either be a string or a JSON object that is stored as a JSON string in the keystore.
- As
File bool - Indicates the the remote keystore setting should be stored as a file. The default is false, which stores the keystore setting as string when value is a plain string.
- deployment
Id String - Deployment ID of the Deployment that holds the Elasticsearch cluster where the keystore setting will be written to.
- setting
Name String - Name for the keystore setting, if the setting already exists in the Elasticsearch cluster, it will be overridden.
- value String
- Value of this setting. This can either be a string or a JSON object that is stored as a JSON string in the keystore.
- as
File Boolean - Indicates the the remote keystore setting should be stored as a file. The default is false, which stores the keystore setting as string when value is a plain string.
- deployment
Id string - Deployment ID of the Deployment that holds the Elasticsearch cluster where the keystore setting will be written to.
- setting
Name string - Name for the keystore setting, if the setting already exists in the Elasticsearch cluster, it will be overridden.
- value string
- Value of this setting. This can either be a string or a JSON object that is stored as a JSON string in the keystore.
- as
File boolean - Indicates the the remote keystore setting should be stored as a file. The default is false, which stores the keystore setting as string when value is a plain string.
- deployment_
id str - Deployment ID of the Deployment that holds the Elasticsearch cluster where the keystore setting will be written to.
- setting_
name str - Name for the keystore setting, if the setting already exists in the Elasticsearch cluster, it will be overridden.
- value str
- Value of this setting. This can either be a string or a JSON object that is stored as a JSON string in the keystore.
- as_
file bool - Indicates the the remote keystore setting should be stored as a file. The default is false, which stores the keystore setting as string when value is a plain string.
- deployment
Id String - Deployment ID of the Deployment that holds the Elasticsearch cluster where the keystore setting will be written to.
- setting
Name String - Name for the keystore setting, if the setting already exists in the Elasticsearch cluster, it will be overridden.
- value String
- Value of this setting. This can either be a string or a JSON object that is stored as a JSON string in the keystore.
- as
File Boolean - Indicates the the remote keystore setting should be stored as a file. The default is false, which stores the keystore setting as string when value is a plain string.
Outputs
All input properties are implicitly available as output properties. Additionally, the DeploymentElasticsearchKeystore 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.
Look up Existing DeploymentElasticsearchKeystore Resource
Get an existing DeploymentElasticsearchKeystore 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?: DeploymentElasticsearchKeystoreState, opts?: CustomResourceOptions): DeploymentElasticsearchKeystore
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
as_file: Optional[bool] = None,
deployment_id: Optional[str] = None,
setting_name: Optional[str] = None,
value: Optional[str] = None) -> DeploymentElasticsearchKeystore
func GetDeploymentElasticsearchKeystore(ctx *Context, name string, id IDInput, state *DeploymentElasticsearchKeystoreState, opts ...ResourceOption) (*DeploymentElasticsearchKeystore, error)
public static DeploymentElasticsearchKeystore Get(string name, Input<string> id, DeploymentElasticsearchKeystoreState? state, CustomResourceOptions? opts = null)
public static DeploymentElasticsearchKeystore get(String name, Output<String> id, DeploymentElasticsearchKeystoreState 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.
- As
File bool - Indicates the the remote keystore setting should be stored as a file. The default is false, which stores the keystore setting as string when value is a plain string.
- Deployment
Id string - Deployment ID of the Deployment that holds the Elasticsearch cluster where the keystore setting will be written to.
- Setting
Name string - Name for the keystore setting, if the setting already exists in the Elasticsearch cluster, it will be overridden.
- Value string
- Value of this setting. This can either be a string or a JSON object that is stored as a JSON string in the keystore.
- As
File bool - Indicates the the remote keystore setting should be stored as a file. The default is false, which stores the keystore setting as string when value is a plain string.
- Deployment
Id string - Deployment ID of the Deployment that holds the Elasticsearch cluster where the keystore setting will be written to.
- Setting
Name string - Name for the keystore setting, if the setting already exists in the Elasticsearch cluster, it will be overridden.
- Value string
- Value of this setting. This can either be a string or a JSON object that is stored as a JSON string in the keystore.
- as
File Boolean - Indicates the the remote keystore setting should be stored as a file. The default is false, which stores the keystore setting as string when value is a plain string.
- deployment
Id String - Deployment ID of the Deployment that holds the Elasticsearch cluster where the keystore setting will be written to.
- setting
Name String - Name for the keystore setting, if the setting already exists in the Elasticsearch cluster, it will be overridden.
- value String
- Value of this setting. This can either be a string or a JSON object that is stored as a JSON string in the keystore.
- as
File boolean - Indicates the the remote keystore setting should be stored as a file. The default is false, which stores the keystore setting as string when value is a plain string.
- deployment
Id string - Deployment ID of the Deployment that holds the Elasticsearch cluster where the keystore setting will be written to.
- setting
Name string - Name for the keystore setting, if the setting already exists in the Elasticsearch cluster, it will be overridden.
- value string
- Value of this setting. This can either be a string or a JSON object that is stored as a JSON string in the keystore.
- as_
file bool - Indicates the the remote keystore setting should be stored as a file. The default is false, which stores the keystore setting as string when value is a plain string.
- deployment_
id str - Deployment ID of the Deployment that holds the Elasticsearch cluster where the keystore setting will be written to.
- setting_
name str - Name for the keystore setting, if the setting already exists in the Elasticsearch cluster, it will be overridden.
- value str
- Value of this setting. This can either be a string or a JSON object that is stored as a JSON string in the keystore.
- as
File Boolean - Indicates the the remote keystore setting should be stored as a file. The default is false, which stores the keystore setting as string when value is a plain string.
- deployment
Id String - Deployment ID of the Deployment that holds the Elasticsearch cluster where the keystore setting will be written to.
- setting
Name String - Name for the keystore setting, if the setting already exists in the Elasticsearch cluster, it will be overridden.
- value String
- Value of this setting. This can either be a string or a JSON object that is stored as a JSON string in the keystore.
Import
This resource cannot be imported
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- ec pulumi/pulumi-ec
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ec
Terraform Provider.