S3ConfigProperty Struct
The configuration for publishing Amazon CloudWatch Internet Monitor internet measurements to Amazon S3.
The configuration includes the bucket name and (optionally) bucket prefix for the S3 bucket to store the measurements, and the delivery status. The delivery status is ENABLED if you choose to deliver internet measurements to S3 logs, and DISABLED otherwise.
The measurements are also published to Amazon CloudWatch Logs.
| 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_internetmonitor as internetmonitor } from 'aws-cdk-lib';
const s3ConfigProperty: internetmonitor.CfnMonitor.S3ConfigProperty = {
bucketName: 'bucketName',
bucketPrefix: 'bucketPrefix',
logDeliveryStatus: 'logDeliveryStatus',
};
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_internetmonitor as internetmonitor
s3_config_property = internetmonitor.CfnMonitor.S3ConfigProperty(
bucket_name="bucketName",
bucket_prefix="bucketPrefix",
log_delivery_status="logDeliveryStatus"
)
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.internetmonitor.*;
S3ConfigProperty s3ConfigProperty = S3ConfigProperty.builder()
.bucketName("bucketName")
.bucketPrefix("bucketPrefix")
.logDeliveryStatus("logDeliveryStatus")
.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.InternetMonitor;
var s3ConfigProperty = new S3ConfigProperty {
BucketName = "bucketName",
BucketPrefix = "bucketPrefix",
LogDeliveryStatus = "logDeliveryStatus"
};
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"
s3ConfigProperty := &S3ConfigProperty{
BucketName: jsii.String("bucketName"),
BucketPrefix: jsii.String("bucketPrefix"),
LogDeliveryStatus: jsii.String("logDeliveryStatus"),
}
Properties
bucketNameoptionalstringbucket_nameoptionalstrbucketNameoptionalStringBucketNameoptionalstringBucketNameoptional*string #The Amazon S3 bucket name for internet measurements publishing.
bucketPrefixoptionalstringbucket_prefixoptionalstrbucketPrefixoptionalStringBucketPrefixoptionalstringBucketPrefixoptional*string #An optional Amazon S3 bucket prefix for internet measurements publishing.
logDeliveryStatusoptionalstringlog_delivery_statusoptionalstrlogDeliveryStatusoptionalStringLogDeliveryStatusoptionalstringLogDeliveryStatusoptional*string #The status of publishing Internet Monitor internet measurements to an Amazon S3 bucket.
The delivery status is ENABLED if you choose to deliver internet measurements to an S3 bucket, and DISABLED otherwise.