Class CfnContainerFleet.LogConfigurationProperty
A method for collecting container logs for the fleet.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.GameLift
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnContainerFleet.LogConfigurationProperty : CfnContainerFleet.ILogConfigurationProperty
Syntax (vb)
Public Class CfnContainerFleet.LogConfigurationProperty Implements CfnContainerFleet.ILogConfigurationProperty
Remarks
Amazon GameLift Servers saves all standard output for each container in logs, including game session logs. You can select from the following methods:
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.GameLift;
var logConfigurationProperty = new LogConfigurationProperty {
LogDestination = "logDestination",
LogGroupArn = "logGroupArn",
S3BucketName = "s3BucketName"
};
Synopsis
Constructors
LogConfigurationProperty() | A method for collecting container logs for the fleet. |
Properties
LogDestination | The type of log collection to use for a fleet. |
LogGroupArn | If log destination is |
S3BucketName | If log destination is |
Constructors
LogConfigurationProperty()
A method for collecting container logs for the fleet.
public LogConfigurationProperty()
Remarks
Amazon GameLift Servers saves all standard output for each container in logs, including game session logs. You can select from the following methods:
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.GameLift;
var logConfigurationProperty = new LogConfigurationProperty {
LogDestination = "logDestination",
LogGroupArn = "logGroupArn",
S3BucketName = "s3BucketName"
};
Properties
LogDestination
The type of log collection to use for a fleet.
public string? LogDestination { get; set; }
Property Value
Remarks
LogGroupArn
If log destination is CLOUDWATCH
, logs are sent to the specified log group in Amazon CloudWatch.
public string? LogGroupArn { get; set; }
Property Value
Remarks
S3BucketName
If log destination is S3
, logs are sent to the specified Amazon S3 bucket name.
public string? S3BucketName { get; set; }