# LoggingProps

Properties used to initialize Logging.

Used as props by: [Logging](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.custom_resources.Logging.html)

- Source: [`custom-resources/lib/aws-custom-resource/logging.ts`](https://github.com/aws/aws-cdk/blob/v2.278.0/packages/aws-cdk-lib/custom-resources/lib/aws-custom-resource/logging.ts#L8)
- Type last changed: v2.138.0 · 18 Apr 2024

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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
};
```

Golang:

```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

- `logApiResponseData`: boolean = true — Whether or not to log data associated with the API call response.
