-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnHookVersion_LoggingConfigProperty.go
28 lines (25 loc) · 1.43 KB
/
CfnHookVersion_LoggingConfigProperty.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
package awscdk
// The `LoggingConfig` property type specifies logging configuration information for an extension.
//
// Example:
// // The code below shows an example of how to instantiate this type.
// // The values are placeholders you should change.
// import cdk "github.com/aws/aws-cdk-go/awscdk"
//
// loggingConfigProperty := &LoggingConfigProperty{
// LogGroupName: jsii.String("logGroupName"),
// LogRoleArn: jsii.String("logRoleArn"),
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-hookversion-loggingconfig.html
//
type CfnHookVersion_LoggingConfigProperty struct {
// The Amazon CloudWatch Logs group to which CloudFormation sends error logging information when invoking the extension's handlers.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-hookversion-loggingconfig.html#cfn-cloudformation-hookversion-loggingconfig-loggroupname
//
LogGroupName *string `field:"optional" json:"logGroupName" yaml:"logGroupName"`
// The Amazon Resource Name (ARN) of the role that CloudFormation should assume when sending log entries to CloudWatch Logs.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-hookversion-loggingconfig.html#cfn-cloudformation-hookversion-loggingconfig-logrolearn
//
LogRoleArn *string `field:"optional" json:"logRoleArn" yaml:"logRoleArn"`
}