LogConfigurationProperty Struct
A policy that determines where a game session queue's placement logs are delivered.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_gamelift as gamelift } from 'aws-cdk-lib';
const logConfigurationProperty: gamelift.CfnGameSessionQueue.LogConfigurationProperty = {
deliveryDestinations: [{
logDestination: 'logDestination',
// the properties below are optional
destinationArn: 'destinationArn',
}],
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_gamelift as gamelift
log_configuration_property = gamelift.CfnGameSessionQueue.LogConfigurationProperty(
delivery_destinations=[gamelift.CfnGameSessionQueue.DeliveryDestinationProperty(
log_destination="logDestination",
# the properties below are optional
destination_arn="destinationArn"
)]
)
java
// 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()
.deliveryDestinations(List.of(DeliveryDestinationProperty.builder()
.logDestination("logDestination")
// the properties below are optional
.destinationArn("destinationArn")
.build()))
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// 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 {
DeliveryDestinations = new [] { new DeliveryDestinationProperty {
LogDestination = "logDestination",
// the properties below are optional
DestinationArn = "destinationArn"
} }
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
logConfigurationProperty := &LogConfigurationProperty{
DeliveryDestinations: []interface{}{
&DeliveryDestinationProperty{
LogDestination: jsii.String("logDestination"),
// the properties below are optional
DestinationArn: jsii.String("destinationArn"),
},
},
}
Properties
deliveryDestinationsIResolvable | IResolvable | CfnGameSessionQueue.delivery_destinationstyping.Union[IResolvable, typing.List[typing.Union[IResolvable, DeliveryDestinationProperty]]]deliveryDestinationsIResolvableDeliveryDestinationsIResolvableDeliveryDestinationsinterface{} required #The set of destinations that receive the game session queue's placement logs.
A queue can deliver logs to between 1 and 3 destinations.