-
Notifications
You must be signed in to change notification settings - Fork 15
/
CfnLogStreamProps.go
32 lines (29 loc) · 1.17 KB
/
CfnLogStreamProps.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
package awslogs
// Properties for defining a `CfnLogStream`.
//
// 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"
//
// cfnLogStreamProps := &CfnLogStreamProps{
// LogGroupName: jsii.String("logGroupName"),
//
// // the properties below are optional
// LogStreamName: jsii.String("logStreamName"),
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-logstream.html
//
type CfnLogStreamProps struct {
// The name of the log group where the log stream is created.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-logstream.html#cfn-logs-logstream-loggroupname
//
LogGroupName *string `field:"required" json:"logGroupName" yaml:"logGroupName"`
// The name of the log stream.
//
// The name must be unique within the log group.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-logstream.html#cfn-logs-logstream-logstreamname
//
LogStreamName *string `field:"optional" json:"logStreamName" yaml:"logStreamName"`
}