S3MonitoringConfigurationProperty Struct
The Amazon S3 configuration for monitoring log publishing.
You can configure your jobs to send log information to Amazon S3.
| Source | |
|---|---|
| Type last changed |
Example
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
# 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
// 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();
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"
};
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
encryptionKeyArnoptionalstringencryption_key_arnoptionalstrencryptionKeyArnoptionalStringEncryptionKeyArnoptionalstringEncryptionKeyArnoptional*string #The KMS key ARN to encrypt the logs published to the given Amazon S3 destination.
logUrioptionalstringlog_urioptionalstrlogUrioptionalStringLogUrioptionalstringLogUrioptional*string #The Amazon S3 destination URI for log publishing.