AWS::CloudFormation::ResourceVersion LoggingConfig
Logging configuration information for a resource.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "LogGroupName" :
String
, "LogRoleArn" :String
}
YAML
LogGroupName:
String
LogRoleArn:String
Properties
LogGroupName
-
The Amazon CloudWatch logs group to which CloudFormation sends error logging information when invoking the type's handlers.
Required: No
Type: String
Minimum:
1
Maximum:
512
Pattern:
[\.\-_/#A-Za-z0-9]+
Update requires: Replacement
LogRoleArn
-
The ARN of the role that CloudFormation should assume when sending log entries to CloudWatch logs.
Required: No
Type: String
Minimum:
1
Maximum:
256
Pattern:
arn:.+:iam::[0-9]{12}:role/.+
Update requires: Replacement