Interface CfnContainerFleet.ILogConfigurationProperty
A method for collecting container logs for the fleet.
Namespace: Amazon.CDK.AWS.GameLift
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnContainerFleet.ILogConfigurationProperty
Syntax (vb)
Public Interface 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
Properties
LogDestination | The type of log collection to use for a fleet. |
LogGroupArn | If log destination is |
S3BucketName | If log destination is |
Properties
LogDestination
The type of log collection to use for a fleet.
string? LogDestination { get; }
Property Value
Remarks
LogGroupArn
If log destination is CLOUDWATCH
, logs are sent to the specified log group in Amazon CloudWatch.
string? LogGroupArn { get; }
Property Value
Remarks
S3BucketName
If log destination is S3
, logs are sent to the specified Amazon S3 bucket name.
string? S3BucketName { get; }