Class FireLensLogDriver
FireLens enables you to use task definition parameters to route logs to an AWS service or AWS Partner Network (APN) destination for log storage and analytics.
Inherited Members
Namespace: Amazon.CDK.AWS.ECS
Assembly: Amazon.CDK.AWS.ECS.dll
Syntax (csharp)
public class FireLensLogDriver : LogDriver
Syntax (vb)
Public Class FireLensLogDriver
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 fireLensLogDriver = new FireLensLogDriver(new FireLensLogDriverProps {
Env = new [] { "env" },
EnvRegex = "envRegex",
Labels = new [] { "labels" },
Options = new Dictionary<string, string> {
{ "optionsKey", "options" }
},
SecretOptions = new Dictionary<string, Secret> {
{ "secretOptionsKey", secret }
},
Tag = "tag"
});
Synopsis
Constructors
FireLensLogDriver(IFireLensLogDriverProps) | Constructs a new instance of the FireLensLogDriver class. |
FireLensLogDriver(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
FireLensLogDriver(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
FireLensLogDriver(IFireLensLogDriverProps)
Constructs a new instance of the FireLensLogDriver class.
public FireLensLogDriver(IFireLensLogDriverProps props)
Parameters
- props IFireLensLogDriverProps
the awsfirelens log driver configuration options.
FireLensLogDriver(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected FireLensLogDriver(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
FireLensLogDriver(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected FireLensLogDriver(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 Construct
- containerDefinition ContainerDefinition
Returns