# S3MonitoringConfigurationProperty

The Amazon S3 configuration for monitoring log publishing.

You can configure your jobs to send log information to Amazon S3.

- Source: Generated at build time
- Type last changed: v2.109.0 · 16 Nov 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_emrserverless as emrserverless } from 'aws-cdk-lib';
const s3MonitoringConfigurationProperty: emrserverless.CfnApplication.S3MonitoringConfigurationProperty = {
  encryptionKeyArn: 'encryptionKeyArn',
  logUri: 'logUri',
};
```

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_emrserverless as emrserverless

s3_monitoring_configuration_property = emrserverless.CfnApplication.S3MonitoringConfigurationProperty(
    encryption_key_arn="encryptionKeyArn",
    log_uri="logUri"
)
```

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.emrserverless.*;

S3MonitoringConfigurationProperty s3MonitoringConfigurationProperty = S3MonitoringConfigurationProperty.builder()
        .encryptionKeyArn("encryptionKeyArn")
        .logUri("logUri")
        .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.EMRServerless;

var s3MonitoringConfigurationProperty = new S3MonitoringConfigurationProperty {
    EncryptionKeyArn = "encryptionKeyArn",
    LogUri = "logUri"
};
```

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"

s3MonitoringConfigurationProperty := &S3MonitoringConfigurationProperty{
	EncryptionKeyArn: jsii.String("encryptionKeyArn"),
	LogUri: jsii.String("logUri"),
}
```

## Properties

- `encryptionKeyArn`: string — The KMS key ARN to encrypt the logs published to the given Amazon S3 destination.

- `logUri`: string — The Amazon S3 destination URI for log publishing.
