package awscodebuild // `CloudWatchLogs` is a property of the [AWS CodeBuild Project LogsConfig](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-logsconfig.html) property type that specifies settings for CloudWatch logs generated by an AWS CodeBuild build. // // 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" // // cloudWatchLogsConfigProperty := &CloudWatchLogsConfigProperty{ // Status: jsii.String("status"), // // // the properties below are optional // GroupName: jsii.String("groupName"), // StreamName: jsii.String("streamName"), // } // // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-cloudwatchlogsconfig.html // type CfnProject_CloudWatchLogsConfigProperty struct { // The current status of the logs in CloudWatch Logs for a build project. Valid values are:. // // - `ENABLED` : CloudWatch Logs are enabled for this build project. // - `DISABLED` : CloudWatch Logs are not enabled for this build project. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-cloudwatchlogsconfig.html#cfn-codebuild-project-cloudwatchlogsconfig-status // Status *string `field:"required" json:"status" yaml:"status"` // The group name of the logs in CloudWatch Logs. // // For more information, see [Working with Log Groups and Log Streams](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/Working-with-log-groups-and-streams.html) . // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-cloudwatchlogsconfig.html#cfn-codebuild-project-cloudwatchlogsconfig-groupname // GroupName *string `field:"optional" json:"groupName" yaml:"groupName"` // The prefix of the stream name of the CloudWatch Logs. // // For more information, see [Working with Log Groups and Log Streams](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/Working-with-log-groups-and-streams.html) . // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-cloudwatchlogsconfig.html#cfn-codebuild-project-cloudwatchlogsconfig-streamname // StreamName *string `field:"optional" json:"streamName" yaml:"streamName"` }