S3ConfigurationProperty Struct
Details on S3 location for error reports that result from running a query.
| 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_timestream as timestream } from 'aws-cdk-lib';
const s3ConfigurationProperty: timestream.CfnScheduledQuery.S3ConfigurationProperty = {
bucketName: 'bucketName',
// the properties below are optional
encryptionOption: 'encryptionOption',
objectKeyPrefix: 'objectKeyPrefix',
};
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_timestream as timestream
s3_configuration_property = timestream.CfnScheduledQuery.S3ConfigurationProperty(
bucket_name="bucketName",
# the properties below are optional
encryption_option="encryptionOption",
object_key_prefix="objectKeyPrefix"
)
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.timestream.*;
S3ConfigurationProperty s3ConfigurationProperty = S3ConfigurationProperty.builder()
.bucketName("bucketName")
// the properties below are optional
.encryptionOption("encryptionOption")
.objectKeyPrefix("objectKeyPrefix")
.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.Timestream;
var s3ConfigurationProperty = new S3ConfigurationProperty {
BucketName = "bucketName",
// the properties below are optional
EncryptionOption = "encryptionOption",
ObjectKeyPrefix = "objectKeyPrefix"
};
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"
s3ConfigurationProperty := &S3ConfigurationProperty{
BucketName: jsii.String("bucketName"),
// the properties below are optional
EncryptionOption: jsii.String("encryptionOption"),
ObjectKeyPrefix: jsii.String("objectKeyPrefix"),
}
Properties
Name of the S3 bucket under which error reports will be created.
encryptionOptionoptionalstringencryption_optionoptionalstrencryptionOptionoptionalStringEncryptionOptionoptionalstringEncryptionOptionoptional*string #Encryption at rest options for the error reports.
If no encryption option is specified, Timestream will choose SSE_S3 as default.
objectKeyPrefixoptionalstringobject_key_prefixoptionalstrobjectKeyPrefixoptionalStringObjectKeyPrefixoptionalstringObjectKeyPrefixoptional*string #Prefix for the error report key.
Timestream by default adds the following prefix to the error report path.