DataDeliveryObjectProperty Struct
A structure that contains information about where Evidently is to store evaluation events for longer term storage.
| 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_evidently as evidently } from 'aws-cdk-lib';
const dataDeliveryObjectProperty: evidently.CfnProject.DataDeliveryObjectProperty = {
logGroup: 'logGroup',
s3: {
bucketName: 'bucketName',
// the properties below are optional
prefix: 'prefix',
},
};
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_evidently as evidently
data_delivery_object_property = evidently.CfnProject.DataDeliveryObjectProperty(
log_group="logGroup",
s3=evidently.CfnProject.S3DestinationProperty(
bucket_name="bucketName",
# the properties below are optional
prefix="prefix"
)
)
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.evidently.*;
DataDeliveryObjectProperty dataDeliveryObjectProperty = DataDeliveryObjectProperty.builder()
.logGroup("logGroup")
.s3(S3DestinationProperty.builder()
.bucketName("bucketName")
// the properties below are optional
.prefix("prefix")
.build())
.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.Evidently;
var dataDeliveryObjectProperty = new DataDeliveryObjectProperty {
LogGroup = "logGroup",
S3 = new S3DestinationProperty {
BucketName = "bucketName",
// the properties below are optional
Prefix = "prefix"
}
};
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"
dataDeliveryObjectProperty := &DataDeliveryObjectProperty{
LogGroup: jsii.String("logGroup"),
S3: &S3DestinationProperty{
BucketName: jsii.String("bucketName"),
// the properties below are optional
Prefix: jsii.String("prefix"),
},
}
Properties
logGroupoptionalstringlog_groupoptionalstrlogGroupoptionalStringLogGroupoptionalstringLogGroupoptional*string #If the project stores evaluation events in CloudWatch Logs , this structure stores the log group name.
s3optionalIResolvable | CfnProject.S3DestinationPropertys3optionaltyping.Union[IResolvable, S3DestinationProperty]s3optionalIResolvableS3optionalIResolvableS3optionalinterface{} #If the project stores evaluation events in an Amazon S3 bucket, this structure stores the bucket name and bucket prefix.