cyral.IntegrationLogstash
Explore with Pulumi AI
DEPRECATED Use resource
cyral.IntegrationLogging
instead.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cyral from "@pulumi/cyral";
const someResourceName = new cyral.IntegrationLogstash("someResourceName", {
endpoint: "",
useMutualAuthentication: false,
usePrivateCertificateChain: false,
useTls: false,
});
import pulumi
import pulumi_cyral as cyral
some_resource_name = cyral.IntegrationLogstash("someResourceName",
endpoint="",
use_mutual_authentication=False,
use_private_certificate_chain=False,
use_tls=False)
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/cyral/v4/cyral"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := cyral.NewIntegrationLogstash(ctx, "someResourceName", &cyral.IntegrationLogstashArgs{
Endpoint: pulumi.String(""),
UseMutualAuthentication: pulumi.Bool(false),
UsePrivateCertificateChain: pulumi.Bool(false),
UseTls: pulumi.Bool(false),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Cyral = Pulumi.Cyral;
return await Deployment.RunAsync(() =>
{
var someResourceName = new Cyral.IntegrationLogstash("someResourceName", new()
{
Endpoint = "",
UseMutualAuthentication = false,
UsePrivateCertificateChain = false,
UseTls = false,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.cyral.IntegrationLogstash;
import com.pulumi.cyral.IntegrationLogstashArgs;
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 someResourceName = new IntegrationLogstash("someResourceName", IntegrationLogstashArgs.builder()
.endpoint("")
.useMutualAuthentication(false)
.usePrivateCertificateChain(false)
.useTls(false)
.build());
}
}
resources:
someResourceName:
type: cyral:IntegrationLogstash
properties:
endpoint: ""
useMutualAuthentication: false
usePrivateCertificateChain: false
useTls: false
Create IntegrationLogstash Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new IntegrationLogstash(name: string, args: IntegrationLogstashArgs, opts?: CustomResourceOptions);
@overload
def IntegrationLogstash(resource_name: str,
args: IntegrationLogstashArgs,
opts: Optional[ResourceOptions] = None)
@overload
def IntegrationLogstash(resource_name: str,
opts: Optional[ResourceOptions] = None,
endpoint: Optional[str] = None,
use_mutual_authentication: Optional[bool] = None,
use_private_certificate_chain: Optional[bool] = None,
use_tls: Optional[bool] = None,
name: Optional[str] = None)
func NewIntegrationLogstash(ctx *Context, name string, args IntegrationLogstashArgs, opts ...ResourceOption) (*IntegrationLogstash, error)
public IntegrationLogstash(string name, IntegrationLogstashArgs args, CustomResourceOptions? opts = null)
public IntegrationLogstash(String name, IntegrationLogstashArgs args)
public IntegrationLogstash(String name, IntegrationLogstashArgs args, CustomResourceOptions options)
type: cyral:IntegrationLogstash
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 IntegrationLogstashArgs
- 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 IntegrationLogstashArgs
- 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 IntegrationLogstashArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IntegrationLogstashArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args IntegrationLogstashArgs
- 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 integrationLogstashResource = new Cyral.IntegrationLogstash("integrationLogstashResource", new()
{
Endpoint = "string",
UseMutualAuthentication = false,
UsePrivateCertificateChain = false,
UseTls = false,
Name = "string",
});
example, err := cyral.NewIntegrationLogstash(ctx, "integrationLogstashResource", &cyral.IntegrationLogstashArgs{
Endpoint: pulumi.String("string"),
UseMutualAuthentication: pulumi.Bool(false),
UsePrivateCertificateChain: pulumi.Bool(false),
UseTls: pulumi.Bool(false),
Name: pulumi.String("string"),
})
var integrationLogstashResource = new IntegrationLogstash("integrationLogstashResource", IntegrationLogstashArgs.builder()
.endpoint("string")
.useMutualAuthentication(false)
.usePrivateCertificateChain(false)
.useTls(false)
.name("string")
.build());
integration_logstash_resource = cyral.IntegrationLogstash("integrationLogstashResource",
endpoint="string",
use_mutual_authentication=False,
use_private_certificate_chain=False,
use_tls=False,
name="string")
const integrationLogstashResource = new cyral.IntegrationLogstash("integrationLogstashResource", {
endpoint: "string",
useMutualAuthentication: false,
usePrivateCertificateChain: false,
useTls: false,
name: "string",
});
type: cyral:IntegrationLogstash
properties:
endpoint: string
name: string
useMutualAuthentication: false
usePrivateCertificateChain: false
useTls: false
IntegrationLogstash 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 IntegrationLogstash resource accepts the following input properties:
- Endpoint string
- The endpoint used to connect to Logstash.
- Use
Mutual boolAuthentication - Logstash configured to use mutual authentication.
- Use
Private boolCertificate Chain - Logstash configured to use private certificate chain.
- Use
Tls bool - Logstash configured to use mutual TLS.
- Name string
- Integration name that will be used internally in the control plane.
- Endpoint string
- The endpoint used to connect to Logstash.
- Use
Mutual boolAuthentication - Logstash configured to use mutual authentication.
- Use
Private boolCertificate Chain - Logstash configured to use private certificate chain.
- Use
Tls bool - Logstash configured to use mutual TLS.
- Name string
- Integration name that will be used internally in the control plane.
- endpoint String
- The endpoint used to connect to Logstash.
- use
Mutual BooleanAuthentication - Logstash configured to use mutual authentication.
- use
Private BooleanCertificate Chain - Logstash configured to use private certificate chain.
- use
Tls Boolean - Logstash configured to use mutual TLS.
- name String
- Integration name that will be used internally in the control plane.
- endpoint string
- The endpoint used to connect to Logstash.
- use
Mutual booleanAuthentication - Logstash configured to use mutual authentication.
- use
Private booleanCertificate Chain - Logstash configured to use private certificate chain.
- use
Tls boolean - Logstash configured to use mutual TLS.
- name string
- Integration name that will be used internally in the control plane.
- endpoint str
- The endpoint used to connect to Logstash.
- use_
mutual_ boolauthentication - Logstash configured to use mutual authentication.
- use_
private_ boolcertificate_ chain - Logstash configured to use private certificate chain.
- use_
tls bool - Logstash configured to use mutual TLS.
- name str
- Integration name that will be used internally in the control plane.
- endpoint String
- The endpoint used to connect to Logstash.
- use
Mutual BooleanAuthentication - Logstash configured to use mutual authentication.
- use
Private BooleanCertificate Chain - Logstash configured to use private certificate chain.
- use
Tls Boolean - Logstash configured to use mutual TLS.
- name String
- Integration name that will be used internally in the control plane.
Outputs
All input properties are implicitly available as output properties. Additionally, the IntegrationLogstash 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 IntegrationLogstash Resource
Get an existing IntegrationLogstash 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?: IntegrationLogstashState, opts?: CustomResourceOptions): IntegrationLogstash
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
endpoint: Optional[str] = None,
name: Optional[str] = None,
use_mutual_authentication: Optional[bool] = None,
use_private_certificate_chain: Optional[bool] = None,
use_tls: Optional[bool] = None) -> IntegrationLogstash
func GetIntegrationLogstash(ctx *Context, name string, id IDInput, state *IntegrationLogstashState, opts ...ResourceOption) (*IntegrationLogstash, error)
public static IntegrationLogstash Get(string name, Input<string> id, IntegrationLogstashState? state, CustomResourceOptions? opts = null)
public static IntegrationLogstash get(String name, Output<String> id, IntegrationLogstashState state, CustomResourceOptions options)
resources: _: type: cyral:IntegrationLogstash get: 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.
- Endpoint string
- The endpoint used to connect to Logstash.
- Name string
- Integration name that will be used internally in the control plane.
- Use
Mutual boolAuthentication - Logstash configured to use mutual authentication.
- Use
Private boolCertificate Chain - Logstash configured to use private certificate chain.
- Use
Tls bool - Logstash configured to use mutual TLS.
- Endpoint string
- The endpoint used to connect to Logstash.
- Name string
- Integration name that will be used internally in the control plane.
- Use
Mutual boolAuthentication - Logstash configured to use mutual authentication.
- Use
Private boolCertificate Chain - Logstash configured to use private certificate chain.
- Use
Tls bool - Logstash configured to use mutual TLS.
- endpoint String
- The endpoint used to connect to Logstash.
- name String
- Integration name that will be used internally in the control plane.
- use
Mutual BooleanAuthentication - Logstash configured to use mutual authentication.
- use
Private BooleanCertificate Chain - Logstash configured to use private certificate chain.
- use
Tls Boolean - Logstash configured to use mutual TLS.
- endpoint string
- The endpoint used to connect to Logstash.
- name string
- Integration name that will be used internally in the control plane.
- use
Mutual booleanAuthentication - Logstash configured to use mutual authentication.
- use
Private booleanCertificate Chain - Logstash configured to use private certificate chain.
- use
Tls boolean - Logstash configured to use mutual TLS.
- endpoint str
- The endpoint used to connect to Logstash.
- name str
- Integration name that will be used internally in the control plane.
- use_
mutual_ boolauthentication - Logstash configured to use mutual authentication.
- use_
private_ boolcertificate_ chain - Logstash configured to use private certificate chain.
- use_
tls bool - Logstash configured to use mutual TLS.
- endpoint String
- The endpoint used to connect to Logstash.
- name String
- Integration name that will be used internally in the control plane.
- use
Mutual BooleanAuthentication - Logstash configured to use mutual authentication.
- use
Private BooleanCertificate Chain - Logstash configured to use private certificate chain.
- use
Tls Boolean - Logstash configured to use mutual TLS.
Package Details
- Repository
- cyral cyralinc/terraform-provider-cyral
- License
- Notes
- This Pulumi package is based on the
cyral
Terraform Provider.