Skip to content
v2.278.0

LoggingProps Struct ​

Properties used to initialize Logging.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { custom_resources } from 'aws-cdk-lib';
const loggingProps: custom_resources.LoggingProps = {
  logApiResponseData: false,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import custom_resources

logging_props = custom_resources.LoggingProps(
    log_api_response_data=False
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.customresources.*;

LoggingProps loggingProps = LoggingProps.builder()
        .logApiResponseData(false)
        .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.CustomResources;

var loggingProps = new LoggingProps {
    LogApiResponseData = false
};
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 "github.com/aws/aws-cdk-go/awscdk"

loggingProps := &LoggingProps{
	LogApiResponseData: jsii.Boolean(false),
}

Properties ​

logApiResponseDataoptionalbooleanlog_api_response_dataoptionalboollogApiResponseDataoptionalBooleanLogApiResponseDataoptionalboolLogApiResponseDataoptional*bool = true #
Whether or not to log data associated with the API call response.