akeyless.GatewayLogForwardingSplunk
Explore with Pulumi AI
Log Forwarding config for splunk
Create GatewayLogForwardingSplunk Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new GatewayLogForwardingSplunk(name: string, args?: GatewayLogForwardingSplunkArgs, opts?: CustomResourceOptions);
@overload
def GatewayLogForwardingSplunk(resource_name: str,
args: Optional[GatewayLogForwardingSplunkArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def GatewayLogForwardingSplunk(resource_name: str,
opts: Optional[ResourceOptions] = None,
enable: Optional[str] = None,
enable_tls: Optional[bool] = None,
gateway_log_forwarding_splunk_id: Optional[str] = None,
index: Optional[str] = None,
output_format: Optional[str] = None,
pull_interval: Optional[str] = None,
source: Optional[str] = None,
source_type: Optional[str] = None,
splunk_token: Optional[str] = None,
splunk_url: Optional[str] = None,
tls_certificate: Optional[str] = None)
func NewGatewayLogForwardingSplunk(ctx *Context, name string, args *GatewayLogForwardingSplunkArgs, opts ...ResourceOption) (*GatewayLogForwardingSplunk, error)
public GatewayLogForwardingSplunk(string name, GatewayLogForwardingSplunkArgs? args = null, CustomResourceOptions? opts = null)
public GatewayLogForwardingSplunk(String name, GatewayLogForwardingSplunkArgs args)
public GatewayLogForwardingSplunk(String name, GatewayLogForwardingSplunkArgs args, CustomResourceOptions options)
type: akeyless:GatewayLogForwardingSplunk
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 GatewayLogForwardingSplunkArgs
- 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 GatewayLogForwardingSplunkArgs
- 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 GatewayLogForwardingSplunkArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GatewayLogForwardingSplunkArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args GatewayLogForwardingSplunkArgs
- 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 gatewayLogForwardingSplunkResource = new Akeyless.GatewayLogForwardingSplunk("gatewayLogForwardingSplunkResource", new()
{
Enable = "string",
EnableTls = false,
GatewayLogForwardingSplunkId = "string",
Index = "string",
OutputFormat = "string",
PullInterval = "string",
Source = "string",
SourceType = "string",
SplunkToken = "string",
SplunkUrl = "string",
TlsCertificate = "string",
});
example, err := akeyless.NewGatewayLogForwardingSplunk(ctx, "gatewayLogForwardingSplunkResource", &akeyless.GatewayLogForwardingSplunkArgs{
Enable: pulumi.String("string"),
EnableTls: pulumi.Bool(false),
GatewayLogForwardingSplunkId: pulumi.String("string"),
Index: pulumi.String("string"),
OutputFormat: pulumi.String("string"),
PullInterval: pulumi.String("string"),
Source: pulumi.String("string"),
SourceType: pulumi.String("string"),
SplunkToken: pulumi.String("string"),
SplunkUrl: pulumi.String("string"),
TlsCertificate: pulumi.String("string"),
})
var gatewayLogForwardingSplunkResource = new GatewayLogForwardingSplunk("gatewayLogForwardingSplunkResource", GatewayLogForwardingSplunkArgs.builder()
.enable("string")
.enableTls(false)
.gatewayLogForwardingSplunkId("string")
.index("string")
.outputFormat("string")
.pullInterval("string")
.source("string")
.sourceType("string")
.splunkToken("string")
.splunkUrl("string")
.tlsCertificate("string")
.build());
gateway_log_forwarding_splunk_resource = akeyless.GatewayLogForwardingSplunk("gatewayLogForwardingSplunkResource",
enable="string",
enable_tls=False,
gateway_log_forwarding_splunk_id="string",
index="string",
output_format="string",
pull_interval="string",
source="string",
source_type="string",
splunk_token="string",
splunk_url="string",
tls_certificate="string")
const gatewayLogForwardingSplunkResource = new akeyless.GatewayLogForwardingSplunk("gatewayLogForwardingSplunkResource", {
enable: "string",
enableTls: false,
gatewayLogForwardingSplunkId: "string",
index: "string",
outputFormat: "string",
pullInterval: "string",
source: "string",
sourceType: "string",
splunkToken: "string",
splunkUrl: "string",
tlsCertificate: "string",
});
type: akeyless:GatewayLogForwardingSplunk
properties:
enable: string
enableTls: false
gatewayLogForwardingSplunkId: string
index: string
outputFormat: string
pullInterval: string
source: string
sourceType: string
splunkToken: string
splunkUrl: string
tlsCertificate: string
GatewayLogForwardingSplunk 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 GatewayLogForwardingSplunk resource accepts the following input properties:
- Enable string
- Enable Log Forwarding [true/false]
- Enable
Tls bool - Enable tls
- Gateway
Log stringForwarding Splunk Id - The ID of this resource.
- Index string
- Splunk index
- Output
Format string - Logs format [text/json]
- Pull
Interval string - Pull interval in seconds
- Source string
- Splunk source
- Source
Type string - Splunk source type
- Splunk
Token string - Splunk token
- Splunk
Url string - Splunk server URL
- Tls
Certificate string - Splunk tls certificate (PEM format) in a Base64 format
- Enable string
- Enable Log Forwarding [true/false]
- Enable
Tls bool - Enable tls
- Gateway
Log stringForwarding Splunk Id - The ID of this resource.
- Index string
- Splunk index
- Output
Format string - Logs format [text/json]
- Pull
Interval string - Pull interval in seconds
- Source string
- Splunk source
- Source
Type string - Splunk source type
- Splunk
Token string - Splunk token
- Splunk
Url string - Splunk server URL
- Tls
Certificate string - Splunk tls certificate (PEM format) in a Base64 format
- enable String
- Enable Log Forwarding [true/false]
- enable
Tls Boolean - Enable tls
- gateway
Log StringForwarding Splunk Id - The ID of this resource.
- index String
- Splunk index
- output
Format String - Logs format [text/json]
- pull
Interval String - Pull interval in seconds
- source String
- Splunk source
- source
Type String - Splunk source type
- splunk
Token String - Splunk token
- splunk
Url String - Splunk server URL
- tls
Certificate String - Splunk tls certificate (PEM format) in a Base64 format
- enable string
- Enable Log Forwarding [true/false]
- enable
Tls boolean - Enable tls
- gateway
Log stringForwarding Splunk Id - The ID of this resource.
- index string
- Splunk index
- output
Format string - Logs format [text/json]
- pull
Interval string - Pull interval in seconds
- source string
- Splunk source
- source
Type string - Splunk source type
- splunk
Token string - Splunk token
- splunk
Url string - Splunk server URL
- tls
Certificate string - Splunk tls certificate (PEM format) in a Base64 format
- enable str
- Enable Log Forwarding [true/false]
- enable_
tls bool - Enable tls
- gateway_
log_ strforwarding_ splunk_ id - The ID of this resource.
- index str
- Splunk index
- output_
format str - Logs format [text/json]
- pull_
interval str - Pull interval in seconds
- source str
- Splunk source
- source_
type str - Splunk source type
- splunk_
token str - Splunk token
- splunk_
url str - Splunk server URL
- tls_
certificate str - Splunk tls certificate (PEM format) in a Base64 format
- enable String
- Enable Log Forwarding [true/false]
- enable
Tls Boolean - Enable tls
- gateway
Log StringForwarding Splunk Id - The ID of this resource.
- index String
- Splunk index
- output
Format String - Logs format [text/json]
- pull
Interval String - Pull interval in seconds
- source String
- Splunk source
- source
Type String - Splunk source type
- splunk
Token String - Splunk token
- splunk
Url String - Splunk server URL
- tls
Certificate String - Splunk tls certificate (PEM format) in a Base64 format
Outputs
All input properties are implicitly available as output properties. Additionally, the GatewayLogForwardingSplunk 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 GatewayLogForwardingSplunk Resource
Get an existing GatewayLogForwardingSplunk 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?: GatewayLogForwardingSplunkState, opts?: CustomResourceOptions): GatewayLogForwardingSplunk
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
enable: Optional[str] = None,
enable_tls: Optional[bool] = None,
gateway_log_forwarding_splunk_id: Optional[str] = None,
index: Optional[str] = None,
output_format: Optional[str] = None,
pull_interval: Optional[str] = None,
source: Optional[str] = None,
source_type: Optional[str] = None,
splunk_token: Optional[str] = None,
splunk_url: Optional[str] = None,
tls_certificate: Optional[str] = None) -> GatewayLogForwardingSplunk
func GetGatewayLogForwardingSplunk(ctx *Context, name string, id IDInput, state *GatewayLogForwardingSplunkState, opts ...ResourceOption) (*GatewayLogForwardingSplunk, error)
public static GatewayLogForwardingSplunk Get(string name, Input<string> id, GatewayLogForwardingSplunkState? state, CustomResourceOptions? opts = null)
public static GatewayLogForwardingSplunk get(String name, Output<String> id, GatewayLogForwardingSplunkState state, CustomResourceOptions options)
resources: _: type: akeyless:GatewayLogForwardingSplunk 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.
- Enable string
- Enable Log Forwarding [true/false]
- Enable
Tls bool - Enable tls
- Gateway
Log stringForwarding Splunk Id - The ID of this resource.
- Index string
- Splunk index
- Output
Format string - Logs format [text/json]
- Pull
Interval string - Pull interval in seconds
- Source string
- Splunk source
- Source
Type string - Splunk source type
- Splunk
Token string - Splunk token
- Splunk
Url string - Splunk server URL
- Tls
Certificate string - Splunk tls certificate (PEM format) in a Base64 format
- Enable string
- Enable Log Forwarding [true/false]
- Enable
Tls bool - Enable tls
- Gateway
Log stringForwarding Splunk Id - The ID of this resource.
- Index string
- Splunk index
- Output
Format string - Logs format [text/json]
- Pull
Interval string - Pull interval in seconds
- Source string
- Splunk source
- Source
Type string - Splunk source type
- Splunk
Token string - Splunk token
- Splunk
Url string - Splunk server URL
- Tls
Certificate string - Splunk tls certificate (PEM format) in a Base64 format
- enable String
- Enable Log Forwarding [true/false]
- enable
Tls Boolean - Enable tls
- gateway
Log StringForwarding Splunk Id - The ID of this resource.
- index String
- Splunk index
- output
Format String - Logs format [text/json]
- pull
Interval String - Pull interval in seconds
- source String
- Splunk source
- source
Type String - Splunk source type
- splunk
Token String - Splunk token
- splunk
Url String - Splunk server URL
- tls
Certificate String - Splunk tls certificate (PEM format) in a Base64 format
- enable string
- Enable Log Forwarding [true/false]
- enable
Tls boolean - Enable tls
- gateway
Log stringForwarding Splunk Id - The ID of this resource.
- index string
- Splunk index
- output
Format string - Logs format [text/json]
- pull
Interval string - Pull interval in seconds
- source string
- Splunk source
- source
Type string - Splunk source type
- splunk
Token string - Splunk token
- splunk
Url string - Splunk server URL
- tls
Certificate string - Splunk tls certificate (PEM format) in a Base64 format
- enable str
- Enable Log Forwarding [true/false]
- enable_
tls bool - Enable tls
- gateway_
log_ strforwarding_ splunk_ id - The ID of this resource.
- index str
- Splunk index
- output_
format str - Logs format [text/json]
- pull_
interval str - Pull interval in seconds
- source str
- Splunk source
- source_
type str - Splunk source type
- splunk_
token str - Splunk token
- splunk_
url str - Splunk server URL
- tls_
certificate str - Splunk tls certificate (PEM format) in a Base64 format
- enable String
- Enable Log Forwarding [true/false]
- enable
Tls Boolean - Enable tls
- gateway
Log StringForwarding Splunk Id - The ID of this resource.
- index String
- Splunk index
- output
Format String - Logs format [text/json]
- pull
Interval String - Pull interval in seconds
- source String
- Splunk source
- source
Type String - Splunk source type
- splunk
Token String - Splunk token
- splunk
Url String - Splunk server URL
- tls
Certificate String - Splunk tls certificate (PEM format) in a Base64 format
Package Details
- Repository
- akeyless akeyless-community/terraform-provider-akeyless
- License
- Notes
- This Pulumi package is based on the
akeyless
Terraform Provider.