# S3LogsProperty

Amazon S3 logging configuration.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_imagebuilder as imagebuilder } from 'aws-cdk-lib';
const s3LogsProperty: imagebuilder.CfnInfrastructureConfiguration.S3LogsProperty = {
  s3BucketName: 's3BucketName',
  s3KeyPrefix: 's3KeyPrefix',
};
```

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 aws_imagebuilder as imagebuilder

s3_logs_property = imagebuilder.CfnInfrastructureConfiguration.S3LogsProperty(
    s3_bucket_name="s3BucketName",
    s3_key_prefix="s3KeyPrefix"
)
```

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.services.imagebuilder.*;

S3LogsProperty s3LogsProperty = S3LogsProperty.builder()
        .s3BucketName("s3BucketName")
        .s3KeyPrefix("s3KeyPrefix")
        .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.AWS.ImageBuilder;

var s3LogsProperty = new S3LogsProperty {
    S3BucketName = "s3BucketName",
    S3KeyPrefix = "s3KeyPrefix"
};
```

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"

s3LogsProperty := &S3LogsProperty{
	S3BucketName: jsii.String("s3BucketName"),
	S3KeyPrefix: jsii.String("s3KeyPrefix"),
}
```

## Properties

- `s3BucketName`: string — The S3 bucket in which to store the logs.

- `s3KeyPrefix`: string — The Amazon S3 path to the bucket where the logs are stored.
