-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnLoggingConfigurationProps.go
57 lines (54 loc) · 2.32 KB
/
CfnLoggingConfigurationProps.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
package awsivschat
import (
"github.com/aws/aws-cdk-go/awscdk/v2"
)
// Properties for defining a `CfnLoggingConfiguration`.
//
// 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"
//
// cfnLoggingConfigurationProps := &CfnLoggingConfigurationProps{
// DestinationConfiguration: &DestinationConfigurationProperty{
// CloudWatchLogs: &CloudWatchLogsDestinationConfigurationProperty{
// LogGroupName: jsii.String("logGroupName"),
// },
// Firehose: &FirehoseDestinationConfigurationProperty{
// DeliveryStreamName: jsii.String("deliveryStreamName"),
// },
// S3: &S3DestinationConfigurationProperty{
// BucketName: jsii.String("bucketName"),
// },
// },
//
// // the properties below are optional
// Name: jsii.String("name"),
// Tags: []cfnTag{
// &cfnTag{
// Key: jsii.String("key"),
// Value: jsii.String("value"),
// },
// },
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ivschat-loggingconfiguration.html
//
type CfnLoggingConfigurationProps struct {
// The DestinationConfiguration is a complex type that contains information about where chat content will be logged.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ivschat-loggingconfiguration.html#cfn-ivschat-loggingconfiguration-destinationconfiguration
//
DestinationConfiguration interface{} `field:"required" json:"destinationConfiguration" yaml:"destinationConfiguration"`
// Logging-configuration name.
//
// The value does not need to be unique.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ivschat-loggingconfiguration.html#cfn-ivschat-loggingconfiguration-name
//
Name *string `field:"optional" json:"name" yaml:"name"`
// An array of key-value pairs to apply to this resource.
//
// For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ivschat-loggingconfiguration-tag.html) .
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ivschat-loggingconfiguration.html#cfn-ivschat-loggingconfiguration-tags
//
Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"`
}