published on Monday, Apr 27, 2026 by akeyless-community
published on Monday, Apr 27, 2026 by akeyless-community
Session Forwarding config for elasticsearch
Create GatewayRemoteAccessSessionForwardingElasticsearch Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new GatewayRemoteAccessSessionForwardingElasticsearch(name: string, args?: GatewayRemoteAccessSessionForwardingElasticsearchArgs, opts?: CustomResourceOptions);@overload
def GatewayRemoteAccessSessionForwardingElasticsearch(resource_name: str,
args: Optional[GatewayRemoteAccessSessionForwardingElasticsearchArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def GatewayRemoteAccessSessionForwardingElasticsearch(resource_name: str,
opts: Optional[ResourceOptions] = None,
api_key: Optional[str] = None,
auth_type: Optional[str] = None,
cloud_id: Optional[str] = None,
enable: Optional[str] = None,
enable_tls: Optional[bool] = None,
gateway_remote_access_session_forwarding_elasticsearch_id: Optional[str] = None,
index: Optional[str] = None,
nodes: Optional[str] = None,
output_format: Optional[str] = None,
password: Optional[str] = None,
pull_interval: Optional[str] = None,
server_type: Optional[str] = None,
tls_certificate: Optional[str] = None,
user_name: Optional[str] = None)func NewGatewayRemoteAccessSessionForwardingElasticsearch(ctx *Context, name string, args *GatewayRemoteAccessSessionForwardingElasticsearchArgs, opts ...ResourceOption) (*GatewayRemoteAccessSessionForwardingElasticsearch, error)public GatewayRemoteAccessSessionForwardingElasticsearch(string name, GatewayRemoteAccessSessionForwardingElasticsearchArgs? args = null, CustomResourceOptions? opts = null)
public GatewayRemoteAccessSessionForwardingElasticsearch(String name, GatewayRemoteAccessSessionForwardingElasticsearchArgs args)
public GatewayRemoteAccessSessionForwardingElasticsearch(String name, GatewayRemoteAccessSessionForwardingElasticsearchArgs args, CustomResourceOptions options)
type: akeyless:GatewayRemoteAccessSessionForwardingElasticsearch
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "akeyless_gatewayremoteaccesssessionforwardingelasticsearch" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args GatewayRemoteAccessSessionForwardingElasticsearchArgs
- 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 GatewayRemoteAccessSessionForwardingElasticsearchArgs
- 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 GatewayRemoteAccessSessionForwardingElasticsearchArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GatewayRemoteAccessSessionForwardingElasticsearchArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args GatewayRemoteAccessSessionForwardingElasticsearchArgs
- 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 gatewayRemoteAccessSessionForwardingElasticsearchResource = new Akeyless.GatewayRemoteAccessSessionForwardingElasticsearch("gatewayRemoteAccessSessionForwardingElasticsearchResource", new()
{
ApiKey = "string",
AuthType = "string",
CloudId = "string",
Enable = "string",
EnableTls = false,
GatewayRemoteAccessSessionForwardingElasticsearchId = "string",
Index = "string",
Nodes = "string",
OutputFormat = "string",
Password = "string",
PullInterval = "string",
ServerType = "string",
TlsCertificate = "string",
UserName = "string",
});
example, err := akeyless.NewGatewayRemoteAccessSessionForwardingElasticsearch(ctx, "gatewayRemoteAccessSessionForwardingElasticsearchResource", &akeyless.GatewayRemoteAccessSessionForwardingElasticsearchArgs{
ApiKey: pulumi.String("string"),
AuthType: pulumi.String("string"),
CloudId: pulumi.String("string"),
Enable: pulumi.String("string"),
EnableTls: pulumi.Bool(false),
GatewayRemoteAccessSessionForwardingElasticsearchId: pulumi.String("string"),
Index: pulumi.String("string"),
Nodes: pulumi.String("string"),
OutputFormat: pulumi.String("string"),
Password: pulumi.String("string"),
PullInterval: pulumi.String("string"),
ServerType: pulumi.String("string"),
TlsCertificate: pulumi.String("string"),
UserName: pulumi.String("string"),
})
resource "akeyless_gatewayremoteaccesssessionforwardingelasticsearch" "gatewayRemoteAccessSessionForwardingElasticsearchResource" {
api_key = "string"
auth_type = "string"
cloud_id = "string"
enable = "string"
enable_tls = false
gateway_remote_access_session_forwarding_elasticsearch_id = "string"
index = "string"
nodes = "string"
output_format = "string"
password = "string"
pull_interval = "string"
server_type = "string"
tls_certificate = "string"
user_name = "string"
}
var gatewayRemoteAccessSessionForwardingElasticsearchResource = new GatewayRemoteAccessSessionForwardingElasticsearch("gatewayRemoteAccessSessionForwardingElasticsearchResource", GatewayRemoteAccessSessionForwardingElasticsearchArgs.builder()
.apiKey("string")
.authType("string")
.cloudId("string")
.enable("string")
.enableTls(false)
.gatewayRemoteAccessSessionForwardingElasticsearchId("string")
.index("string")
.nodes("string")
.outputFormat("string")
.password("string")
.pullInterval("string")
.serverType("string")
.tlsCertificate("string")
.userName("string")
.build());
gateway_remote_access_session_forwarding_elasticsearch_resource = akeyless.GatewayRemoteAccessSessionForwardingElasticsearch("gatewayRemoteAccessSessionForwardingElasticsearchResource",
api_key="string",
auth_type="string",
cloud_id="string",
enable="string",
enable_tls=False,
gateway_remote_access_session_forwarding_elasticsearch_id="string",
index="string",
nodes="string",
output_format="string",
password="string",
pull_interval="string",
server_type="string",
tls_certificate="string",
user_name="string")
const gatewayRemoteAccessSessionForwardingElasticsearchResource = new akeyless.GatewayRemoteAccessSessionForwardingElasticsearch("gatewayRemoteAccessSessionForwardingElasticsearchResource", {
apiKey: "string",
authType: "string",
cloudId: "string",
enable: "string",
enableTls: false,
gatewayRemoteAccessSessionForwardingElasticsearchId: "string",
index: "string",
nodes: "string",
outputFormat: "string",
password: "string",
pullInterval: "string",
serverType: "string",
tlsCertificate: "string",
userName: "string",
});
type: akeyless:GatewayRemoteAccessSessionForwardingElasticsearch
properties:
apiKey: string
authType: string
cloudId: string
enable: string
enableTls: false
gatewayRemoteAccessSessionForwardingElasticsearchId: string
index: string
nodes: string
outputFormat: string
password: string
pullInterval: string
serverType: string
tlsCertificate: string
userName: string
GatewayRemoteAccessSessionForwardingElasticsearch 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 GatewayRemoteAccessSessionForwardingElasticsearch resource accepts the following input properties:
- Api
Key string - Elasticsearch api key relevant only for api_key auth-type
- Auth
Type string - Elasticsearch auth type [api_key/password]
- Cloud
Id string - Elasticsearch cloud id relevant only for cloud server-type
- Enable string
- Enable Log Forwarding [true/false]
- Enable
Tls bool - Enable tls
- Gateway
Remote stringAccess Session Forwarding Elasticsearch Id - The ID of this resource.
- Index string
- Elasticsearch index
- Nodes string
- Elasticsearch nodes relevant only for nodes server-type
- Output
Format string - Logs format [text/json]
- Password string
- Elasticsearch password relevant only for password auth-type
- Pull
Interval string - Pull interval in seconds
- Server
Type string - Elasticsearch server type [cloud/nodes]
- Tls
Certificate string - Elasticsearch tls certificate (PEM format) in a Base64 format
- User
Name string - Elasticsearch user name relevant only for password auth-type
- Api
Key string - Elasticsearch api key relevant only for api_key auth-type
- Auth
Type string - Elasticsearch auth type [api_key/password]
- Cloud
Id string - Elasticsearch cloud id relevant only for cloud server-type
- Enable string
- Enable Log Forwarding [true/false]
- Enable
Tls bool - Enable tls
- Gateway
Remote stringAccess Session Forwarding Elasticsearch Id - The ID of this resource.
- Index string
- Elasticsearch index
- Nodes string
- Elasticsearch nodes relevant only for nodes server-type
- Output
Format string - Logs format [text/json]
- Password string
- Elasticsearch password relevant only for password auth-type
- Pull
Interval string - Pull interval in seconds
- Server
Type string - Elasticsearch server type [cloud/nodes]
- Tls
Certificate string - Elasticsearch tls certificate (PEM format) in a Base64 format
- User
Name string - Elasticsearch user name relevant only for password auth-type
- api_
key string - Elasticsearch api key relevant only for api_key auth-type
- auth_
type string - Elasticsearch auth type [api_key/password]
- cloud_
id string - Elasticsearch cloud id relevant only for cloud server-type
- enable string
- Enable Log Forwarding [true/false]
- enable_
tls bool - Enable tls
- gateway_
remote_ stringaccess_ session_ forwarding_ elasticsearch_ id - The ID of this resource.
- index string
- Elasticsearch index
- nodes string
- Elasticsearch nodes relevant only for nodes server-type
- output_
format string - Logs format [text/json]
- password string
- Elasticsearch password relevant only for password auth-type
- pull_
interval string - Pull interval in seconds
- server_
type string - Elasticsearch server type [cloud/nodes]
- tls_
certificate string - Elasticsearch tls certificate (PEM format) in a Base64 format
- user_
name string - Elasticsearch user name relevant only for password auth-type
- api
Key String - Elasticsearch api key relevant only for api_key auth-type
- auth
Type String - Elasticsearch auth type [api_key/password]
- cloud
Id String - Elasticsearch cloud id relevant only for cloud server-type
- enable String
- Enable Log Forwarding [true/false]
- enable
Tls Boolean - Enable tls
- gateway
Remote StringAccess Session Forwarding Elasticsearch Id - The ID of this resource.
- index String
- Elasticsearch index
- nodes String
- Elasticsearch nodes relevant only for nodes server-type
- output
Format String - Logs format [text/json]
- password String
- Elasticsearch password relevant only for password auth-type
- pull
Interval String - Pull interval in seconds
- server
Type String - Elasticsearch server type [cloud/nodes]
- tls
Certificate String - Elasticsearch tls certificate (PEM format) in a Base64 format
- user
Name String - Elasticsearch user name relevant only for password auth-type
- api
Key string - Elasticsearch api key relevant only for api_key auth-type
- auth
Type string - Elasticsearch auth type [api_key/password]
- cloud
Id string - Elasticsearch cloud id relevant only for cloud server-type
- enable string
- Enable Log Forwarding [true/false]
- enable
Tls boolean - Enable tls
- gateway
Remote stringAccess Session Forwarding Elasticsearch Id - The ID of this resource.
- index string
- Elasticsearch index
- nodes string
- Elasticsearch nodes relevant only for nodes server-type
- output
Format string - Logs format [text/json]
- password string
- Elasticsearch password relevant only for password auth-type
- pull
Interval string - Pull interval in seconds
- server
Type string - Elasticsearch server type [cloud/nodes]
- tls
Certificate string - Elasticsearch tls certificate (PEM format) in a Base64 format
- user
Name string - Elasticsearch user name relevant only for password auth-type
- api_
key str - Elasticsearch api key relevant only for api_key auth-type
- auth_
type str - Elasticsearch auth type [api_key/password]
- cloud_
id str - Elasticsearch cloud id relevant only for cloud server-type
- enable str
- Enable Log Forwarding [true/false]
- enable_
tls bool - Enable tls
- gateway_
remote_ straccess_ session_ forwarding_ elasticsearch_ id - The ID of this resource.
- index str
- Elasticsearch index
- nodes str
- Elasticsearch nodes relevant only for nodes server-type
- output_
format str - Logs format [text/json]
- password str
- Elasticsearch password relevant only for password auth-type
- pull_
interval str - Pull interval in seconds
- server_
type str - Elasticsearch server type [cloud/nodes]
- tls_
certificate str - Elasticsearch tls certificate (PEM format) in a Base64 format
- user_
name str - Elasticsearch user name relevant only for password auth-type
- api
Key String - Elasticsearch api key relevant only for api_key auth-type
- auth
Type String - Elasticsearch auth type [api_key/password]
- cloud
Id String - Elasticsearch cloud id relevant only for cloud server-type
- enable String
- Enable Log Forwarding [true/false]
- enable
Tls Boolean - Enable tls
- gateway
Remote StringAccess Session Forwarding Elasticsearch Id - The ID of this resource.
- index String
- Elasticsearch index
- nodes String
- Elasticsearch nodes relevant only for nodes server-type
- output
Format String - Logs format [text/json]
- password String
- Elasticsearch password relevant only for password auth-type
- pull
Interval String - Pull interval in seconds
- server
Type String - Elasticsearch server type [cloud/nodes]
- tls
Certificate String - Elasticsearch tls certificate (PEM format) in a Base64 format
- user
Name String - Elasticsearch user name relevant only for password auth-type
Outputs
All input properties are implicitly available as output properties. Additionally, the GatewayRemoteAccessSessionForwardingElasticsearch 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 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 GatewayRemoteAccessSessionForwardingElasticsearch Resource
Get an existing GatewayRemoteAccessSessionForwardingElasticsearch 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?: GatewayRemoteAccessSessionForwardingElasticsearchState, opts?: CustomResourceOptions): GatewayRemoteAccessSessionForwardingElasticsearch@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
api_key: Optional[str] = None,
auth_type: Optional[str] = None,
cloud_id: Optional[str] = None,
enable: Optional[str] = None,
enable_tls: Optional[bool] = None,
gateway_remote_access_session_forwarding_elasticsearch_id: Optional[str] = None,
index: Optional[str] = None,
nodes: Optional[str] = None,
output_format: Optional[str] = None,
password: Optional[str] = None,
pull_interval: Optional[str] = None,
server_type: Optional[str] = None,
tls_certificate: Optional[str] = None,
user_name: Optional[str] = None) -> GatewayRemoteAccessSessionForwardingElasticsearchfunc GetGatewayRemoteAccessSessionForwardingElasticsearch(ctx *Context, name string, id IDInput, state *GatewayRemoteAccessSessionForwardingElasticsearchState, opts ...ResourceOption) (*GatewayRemoteAccessSessionForwardingElasticsearch, error)public static GatewayRemoteAccessSessionForwardingElasticsearch Get(string name, Input<string> id, GatewayRemoteAccessSessionForwardingElasticsearchState? state, CustomResourceOptions? opts = null)public static GatewayRemoteAccessSessionForwardingElasticsearch get(String name, Output<String> id, GatewayRemoteAccessSessionForwardingElasticsearchState state, CustomResourceOptions options)resources: _: type: akeyless:GatewayRemoteAccessSessionForwardingElasticsearch get: id: ${id}import {
to = akeyless_gatewayremoteaccesssessionforwardingelasticsearch.example
id = "${id}"
}
- 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.
- Api
Key string - Elasticsearch api key relevant only for api_key auth-type
- Auth
Type string - Elasticsearch auth type [api_key/password]
- Cloud
Id string - Elasticsearch cloud id relevant only for cloud server-type
- Enable string
- Enable Log Forwarding [true/false]
- Enable
Tls bool - Enable tls
- Gateway
Remote stringAccess Session Forwarding Elasticsearch Id - The ID of this resource.
- Index string
- Elasticsearch index
- Nodes string
- Elasticsearch nodes relevant only for nodes server-type
- Output
Format string - Logs format [text/json]
- Password string
- Elasticsearch password relevant only for password auth-type
- Pull
Interval string - Pull interval in seconds
- Server
Type string - Elasticsearch server type [cloud/nodes]
- Tls
Certificate string - Elasticsearch tls certificate (PEM format) in a Base64 format
- User
Name string - Elasticsearch user name relevant only for password auth-type
- Api
Key string - Elasticsearch api key relevant only for api_key auth-type
- Auth
Type string - Elasticsearch auth type [api_key/password]
- Cloud
Id string - Elasticsearch cloud id relevant only for cloud server-type
- Enable string
- Enable Log Forwarding [true/false]
- Enable
Tls bool - Enable tls
- Gateway
Remote stringAccess Session Forwarding Elasticsearch Id - The ID of this resource.
- Index string
- Elasticsearch index
- Nodes string
- Elasticsearch nodes relevant only for nodes server-type
- Output
Format string - Logs format [text/json]
- Password string
- Elasticsearch password relevant only for password auth-type
- Pull
Interval string - Pull interval in seconds
- Server
Type string - Elasticsearch server type [cloud/nodes]
- Tls
Certificate string - Elasticsearch tls certificate (PEM format) in a Base64 format
- User
Name string - Elasticsearch user name relevant only for password auth-type
- api_
key string - Elasticsearch api key relevant only for api_key auth-type
- auth_
type string - Elasticsearch auth type [api_key/password]
- cloud_
id string - Elasticsearch cloud id relevant only for cloud server-type
- enable string
- Enable Log Forwarding [true/false]
- enable_
tls bool - Enable tls
- gateway_
remote_ stringaccess_ session_ forwarding_ elasticsearch_ id - The ID of this resource.
- index string
- Elasticsearch index
- nodes string
- Elasticsearch nodes relevant only for nodes server-type
- output_
format string - Logs format [text/json]
- password string
- Elasticsearch password relevant only for password auth-type
- pull_
interval string - Pull interval in seconds
- server_
type string - Elasticsearch server type [cloud/nodes]
- tls_
certificate string - Elasticsearch tls certificate (PEM format) in a Base64 format
- user_
name string - Elasticsearch user name relevant only for password auth-type
- api
Key String - Elasticsearch api key relevant only for api_key auth-type
- auth
Type String - Elasticsearch auth type [api_key/password]
- cloud
Id String - Elasticsearch cloud id relevant only for cloud server-type
- enable String
- Enable Log Forwarding [true/false]
- enable
Tls Boolean - Enable tls
- gateway
Remote StringAccess Session Forwarding Elasticsearch Id - The ID of this resource.
- index String
- Elasticsearch index
- nodes String
- Elasticsearch nodes relevant only for nodes server-type
- output
Format String - Logs format [text/json]
- password String
- Elasticsearch password relevant only for password auth-type
- pull
Interval String - Pull interval in seconds
- server
Type String - Elasticsearch server type [cloud/nodes]
- tls
Certificate String - Elasticsearch tls certificate (PEM format) in a Base64 format
- user
Name String - Elasticsearch user name relevant only for password auth-type
- api
Key string - Elasticsearch api key relevant only for api_key auth-type
- auth
Type string - Elasticsearch auth type [api_key/password]
- cloud
Id string - Elasticsearch cloud id relevant only for cloud server-type
- enable string
- Enable Log Forwarding [true/false]
- enable
Tls boolean - Enable tls
- gateway
Remote stringAccess Session Forwarding Elasticsearch Id - The ID of this resource.
- index string
- Elasticsearch index
- nodes string
- Elasticsearch nodes relevant only for nodes server-type
- output
Format string - Logs format [text/json]
- password string
- Elasticsearch password relevant only for password auth-type
- pull
Interval string - Pull interval in seconds
- server
Type string - Elasticsearch server type [cloud/nodes]
- tls
Certificate string - Elasticsearch tls certificate (PEM format) in a Base64 format
- user
Name string - Elasticsearch user name relevant only for password auth-type
- api_
key str - Elasticsearch api key relevant only for api_key auth-type
- auth_
type str - Elasticsearch auth type [api_key/password]
- cloud_
id str - Elasticsearch cloud id relevant only for cloud server-type
- enable str
- Enable Log Forwarding [true/false]
- enable_
tls bool - Enable tls
- gateway_
remote_ straccess_ session_ forwarding_ elasticsearch_ id - The ID of this resource.
- index str
- Elasticsearch index
- nodes str
- Elasticsearch nodes relevant only for nodes server-type
- output_
format str - Logs format [text/json]
- password str
- Elasticsearch password relevant only for password auth-type
- pull_
interval str - Pull interval in seconds
- server_
type str - Elasticsearch server type [cloud/nodes]
- tls_
certificate str - Elasticsearch tls certificate (PEM format) in a Base64 format
- user_
name str - Elasticsearch user name relevant only for password auth-type
- api
Key String - Elasticsearch api key relevant only for api_key auth-type
- auth
Type String - Elasticsearch auth type [api_key/password]
- cloud
Id String - Elasticsearch cloud id relevant only for cloud server-type
- enable String
- Enable Log Forwarding [true/false]
- enable
Tls Boolean - Enable tls
- gateway
Remote StringAccess Session Forwarding Elasticsearch Id - The ID of this resource.
- index String
- Elasticsearch index
- nodes String
- Elasticsearch nodes relevant only for nodes server-type
- output
Format String - Logs format [text/json]
- password String
- Elasticsearch password relevant only for password auth-type
- pull
Interval String - Pull interval in seconds
- server
Type String - Elasticsearch server type [cloud/nodes]
- tls
Certificate String - Elasticsearch tls certificate (PEM format) in a Base64 format
- user
Name String - Elasticsearch user name relevant only for password auth-type
Package Details
- Repository
- akeyless akeyless-community/terraform-provider-akeyless
- License
- Notes
- This Pulumi package is based on the
akeylessTerraform Provider.
published on Monday, Apr 27, 2026 by akeyless-community
