Class SplunkLogDriver
A log driver that sends log information to splunk Logs.
Inherited Members
Namespace: Amazon.CDK.AWS.ECS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class SplunkLogDriver : LogDriver
Syntax (vb)
Public Class SplunkLogDriver
Inherits LogDriver
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ECS;
Secret secret;
var splunkLogDriver = new SplunkLogDriver(new SplunkLogDriverProps {
SecretToken = secret,
Url = "url",
// the properties below are optional
CaName = "caName",
CaPath = "caPath",
Env = new [] { "env" },
EnvRegex = "envRegex",
Format = SplunkLogFormat.INLINE,
Gzip = false,
GzipLevel = 123,
Index = "index",
InsecureSkipVerify = "insecureSkipVerify",
Labels = new [] { "labels" },
Source = "source",
SourceType = "sourceType",
Tag = "tag",
VerifyConnection = false
});
Synopsis
Constructors
SplunkLogDriver(ISplunkLogDriverProps) | Constructs a new instance of the SplunkLogDriver class. |
SplunkLogDriver(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
SplunkLogDriver(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Methods
Bind(Construct, ContainerDefinition) | Called when the log driver is configured on a container. |
Constructors
SplunkLogDriver(ISplunkLogDriverProps)
Constructs a new instance of the SplunkLogDriver class.
public SplunkLogDriver(ISplunkLogDriverProps props)
Parameters
- props ISplunkLogDriverProps
the splunk log driver configuration options.
SplunkLogDriver(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected SplunkLogDriver(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
SplunkLogDriver(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected SplunkLogDriver(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Methods
Bind(Construct, ContainerDefinition)
Called when the log driver is configured on a container.
public override ILogDriverConfig Bind(Construct scope, ContainerDefinition containerDefinition)
Parameters
- scope Constructs.Construct
- containerDefinition ContainerDefinition
Returns