-
Notifications
You must be signed in to change notification settings - Fork 17
/
awselasticache_CfnReplicationGroup_LogDeliveryConfigurationRequestProperty.go
37 lines (34 loc) · 1.67 KB
/
awselasticache_CfnReplicationGroup_LogDeliveryConfigurationRequestProperty.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
package awselasticache
// Specifies the destination, format and type of the logs.
//
// Example:
// // 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"
//
// logDeliveryConfigurationRequestProperty := &logDeliveryConfigurationRequestProperty{
// destinationDetails: &destinationDetailsProperty{
// cloudWatchLogsDetails: &cloudWatchLogsDestinationDetailsProperty{
// logGroup: jsii.String("logGroup"),
// },
// kinesisFirehoseDetails: &kinesisFirehoseDestinationDetailsProperty{
// deliveryStream: jsii.String("deliveryStream"),
// },
// },
// destinationType: jsii.String("destinationType"),
// logFormat: jsii.String("logFormat"),
// logType: jsii.String("logType"),
// }
//
type CfnReplicationGroup_LogDeliveryConfigurationRequestProperty struct {
// Configuration details of either a CloudWatch Logs destination or Kinesis Data Firehose destination.
DestinationDetails interface{} `field:"required" json:"destinationDetails" yaml:"destinationDetails"`
// Specify either CloudWatch Logs or Kinesis Data Firehose as the destination type.
//
// Valid values are either `cloudwatch-logs` or `kinesis-firehose` .
DestinationType *string `field:"required" json:"destinationType" yaml:"destinationType"`
// Valid values are either `json` or `text` .
LogFormat *string `field:"required" json:"logFormat" yaml:"logFormat"`
// Valid value is either `slow-log` , which refers to [slow-log](https://docs.aws.amazon.com/https://redis.io/commands/slowlog) or `engine-log` .
LogType *string `field:"required" json:"logType" yaml:"logType"`
}