Interface CfnContainerFleet.LogConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnContainerFleet.LogConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnContainerFleet
@Stability(Stable)
public static interface CfnContainerFleet.LogConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
A method for collecting container logs for the fleet.
Amazon GameLift saves all standard output for each container in logs, including game session logs. You can select from the following methods:
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.gamelift.*;
LogConfigurationProperty logConfigurationProperty = LogConfigurationProperty.builder()
.logDestination("logDestination")
.s3BucketName("s3BucketName")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnContainerFleet.LogConfigurationPropertystatic final classAn implementation forCfnContainerFleet.LogConfigurationProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getLogDestination
The type of log collection to use for a fleet.CLOUDWATCH-- (default value) Send logs to an Amazon CloudWatch log group that you define. Each container emits a log stream, which is organized in the log group.S3-- Store logs in an Amazon S3 bucket that you define.NONE-- Don't collect container logs.
- See Also:
-
getS3BucketName
If log destination isS3, logs are sent to the specified Amazon S3 bucket name.- See Also:
-
builder
-