1. Packages
  2. Splunk Provider
  3. API Docs
  4. InputsTcpSsl
Splunk v1.2.17 published on Wednesday, Apr 9, 2025 by Pulumi

splunk.InputsTcpSsl

Explore with Pulumi AI

# Resource: splunk.InputsTcpSsl

Access or update the SSL configuration for the host.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as splunk from "@pulumi/splunk";

const test = new splunk.InputsTcpSsl("test", {
    disabled: false,
    requireClientCert: true,
});
Copy
import pulumi
import pulumi_splunk as splunk

test = splunk.InputsTcpSsl("test",
    disabled=False,
    require_client_cert=True)
Copy
package main

import (
	"github.com/pulumi/pulumi-splunk/sdk/go/splunk"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := splunk.NewInputsTcpSsl(ctx, "test", &splunk.InputsTcpSslArgs{
			Disabled:          pulumi.Bool(false),
			RequireClientCert: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Splunk = Pulumi.Splunk;

return await Deployment.RunAsync(() => 
{
    var test = new Splunk.InputsTcpSsl("test", new()
    {
        Disabled = false,
        RequireClientCert = true,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.splunk.InputsTcpSsl;
import com.pulumi.splunk.InputsTcpSslArgs;
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) {
        var test = new InputsTcpSsl("test", InputsTcpSslArgs.builder()
            .disabled(false)
            .requireClientCert(true)
            .build());

    }
}
Copy
resources:
  test:
    type: splunk:InputsTcpSsl
    properties:
      disabled: false
      requireClientCert: true
Copy

Create InputsTcpSsl Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new InputsTcpSsl(name: string, args?: InputsTcpSslArgs, opts?: CustomResourceOptions);
@overload
def InputsTcpSsl(resource_name: str,
                 args: Optional[InputsTcpSslArgs] = None,
                 opts: Optional[ResourceOptions] = None)

@overload
def InputsTcpSsl(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 disabled: Optional[bool] = None,
                 password: Optional[str] = None,
                 require_client_cert: Optional[bool] = None,
                 root_ca: Optional[str] = None,
                 server_cert: Optional[str] = None)
func NewInputsTcpSsl(ctx *Context, name string, args *InputsTcpSslArgs, opts ...ResourceOption) (*InputsTcpSsl, error)
public InputsTcpSsl(string name, InputsTcpSslArgs? args = null, CustomResourceOptions? opts = null)
public InputsTcpSsl(String name, InputsTcpSslArgs args)
public InputsTcpSsl(String name, InputsTcpSslArgs args, CustomResourceOptions options)
type: splunk:InputsTcpSsl
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args InputsTcpSslArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args InputsTcpSslArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args InputsTcpSslArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args InputsTcpSslArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. InputsTcpSslArgs
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 inputsTcpSslResource = new Splunk.InputsTcpSsl("inputsTcpSslResource", new()
{
    Disabled = false,
    Password = "string",
    RequireClientCert = false,
    RootCa = "string",
    ServerCert = "string",
});
Copy
example, err := splunk.NewInputsTcpSsl(ctx, "inputsTcpSslResource", &splunk.InputsTcpSslArgs{
	Disabled:          pulumi.Bool(false),
	Password:          pulumi.String("string"),
	RequireClientCert: pulumi.Bool(false),
	RootCa:            pulumi.String("string"),
	ServerCert:        pulumi.String("string"),
})
Copy
var inputsTcpSslResource = new InputsTcpSsl("inputsTcpSslResource", InputsTcpSslArgs.builder()
    .disabled(false)
    .password("string")
    .requireClientCert(false)
    .rootCa("string")
    .serverCert("string")
    .build());
Copy
inputs_tcp_ssl_resource = splunk.InputsTcpSsl("inputsTcpSslResource",
    disabled=False,
    password="string",
    require_client_cert=False,
    root_ca="string",
    server_cert="string")
Copy
const inputsTcpSslResource = new splunk.InputsTcpSsl("inputsTcpSslResource", {
    disabled: false,
    password: "string",
    requireClientCert: false,
    rootCa: "string",
    serverCert: "string",
});
Copy
type: splunk:InputsTcpSsl
properties:
    disabled: false
    password: string
    requireClientCert: false
    rootCa: string
    serverCert: string
Copy

InputsTcpSsl 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 InputsTcpSsl resource accepts the following input properties:

Disabled bool
Indicates if input is disabled.
Password string
Server certificate password, if any.
RequireClientCert bool
Determines whether a client must authenticate.
RootCa string
Certificate authority list (root file)
ServerCert string
Full path to the server certificate.
Disabled bool
Indicates if input is disabled.
Password string
Server certificate password, if any.
RequireClientCert bool
Determines whether a client must authenticate.
RootCa string
Certificate authority list (root file)
ServerCert string
Full path to the server certificate.
disabled Boolean
Indicates if input is disabled.
password String
Server certificate password, if any.
requireClientCert Boolean
Determines whether a client must authenticate.
rootCa String
Certificate authority list (root file)
serverCert String
Full path to the server certificate.
disabled boolean
Indicates if input is disabled.
password string
Server certificate password, if any.
requireClientCert boolean
Determines whether a client must authenticate.
rootCa string
Certificate authority list (root file)
serverCert string
Full path to the server certificate.
disabled bool
Indicates if input is disabled.
password str
Server certificate password, if any.
require_client_cert bool
Determines whether a client must authenticate.
root_ca str
Certificate authority list (root file)
server_cert str
Full path to the server certificate.
disabled Boolean
Indicates if input is disabled.
password String
Server certificate password, if any.
requireClientCert Boolean
Determines whether a client must authenticate.
rootCa String
Certificate authority list (root file)
serverCert String
Full path to the server certificate.

Outputs

All input properties are implicitly available as output properties. Additionally, the InputsTcpSsl 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 InputsTcpSsl Resource

Get an existing InputsTcpSsl 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?: InputsTcpSslState, opts?: CustomResourceOptions): InputsTcpSsl
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        disabled: Optional[bool] = None,
        password: Optional[str] = None,
        require_client_cert: Optional[bool] = None,
        root_ca: Optional[str] = None,
        server_cert: Optional[str] = None) -> InputsTcpSsl
func GetInputsTcpSsl(ctx *Context, name string, id IDInput, state *InputsTcpSslState, opts ...ResourceOption) (*InputsTcpSsl, error)
public static InputsTcpSsl Get(string name, Input<string> id, InputsTcpSslState? state, CustomResourceOptions? opts = null)
public static InputsTcpSsl get(String name, Output<String> id, InputsTcpSslState state, CustomResourceOptions options)
resources:  _:    type: splunk:InputsTcpSsl    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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.
The following state arguments are supported:
Disabled bool
Indicates if input is disabled.
Password string
Server certificate password, if any.
RequireClientCert bool
Determines whether a client must authenticate.
RootCa string
Certificate authority list (root file)
ServerCert string
Full path to the server certificate.
Disabled bool
Indicates if input is disabled.
Password string
Server certificate password, if any.
RequireClientCert bool
Determines whether a client must authenticate.
RootCa string
Certificate authority list (root file)
ServerCert string
Full path to the server certificate.
disabled Boolean
Indicates if input is disabled.
password String
Server certificate password, if any.
requireClientCert Boolean
Determines whether a client must authenticate.
rootCa String
Certificate authority list (root file)
serverCert String
Full path to the server certificate.
disabled boolean
Indicates if input is disabled.
password string
Server certificate password, if any.
requireClientCert boolean
Determines whether a client must authenticate.
rootCa string
Certificate authority list (root file)
serverCert string
Full path to the server certificate.
disabled bool
Indicates if input is disabled.
password str
Server certificate password, if any.
require_client_cert bool
Determines whether a client must authenticate.
root_ca str
Certificate authority list (root file)
server_cert str
Full path to the server certificate.
disabled Boolean
Indicates if input is disabled.
password String
Server certificate password, if any.
requireClientCert Boolean
Determines whether a client must authenticate.
rootCa String
Certificate authority list (root file)
serverCert String
Full path to the server certificate.

Package Details

Repository
Splunk pulumi/pulumi-splunk
License
Apache-2.0
Notes
This Pulumi package is based on the splunk Terraform Provider.