LoggingConfigProperty Struct
Logging configuration information for a resource.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as cdk from 'aws-cdk-lib';
const loggingConfigProperty: cdk.CfnResourceVersion.LoggingConfigProperty = {
logGroupName: 'logGroupName',
logRoleArn: 'logRoleArn',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk as cdk
logging_config_property = cdk.CfnResourceVersion.LoggingConfigProperty(
log_group_name="logGroupName",
log_role_arn="logRoleArn"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.*;
LoggingConfigProperty loggingConfigProperty = LoggingConfigProperty.builder()
.logGroupName("logGroupName")
.logRoleArn("logRoleArn")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK;
var loggingConfigProperty = new LoggingConfigProperty {
LogGroupName = "logGroupName",
LogRoleArn = "logRoleArn"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// 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"),
}
Properties
logGroupNameoptionalstringlog_group_nameoptionalstrlogGroupNameoptionalStringLogGroupNameoptionalstringLogGroupNameoptional*string#The Amazon CloudWatch logs group to which CloudFormation sends error logging information when invoking the type's handlers.
logRoleArnoptionalstringlog_role_arnoptionalstrlogRoleArnoptionalStringLogRoleArnoptionalstringLogRoleArnoptional*string#The ARN of the role that CloudFormation should assume when sending log entries to CloudWatch logs.