InternetMeasurementsLogDeliveryProperty Struct
Publish internet measurements to an Amazon S3 bucket in addition to 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 internetMeasurementsLogDeliveryProperty: internetmonitor.CfnMonitor.InternetMeasurementsLogDeliveryProperty = {
s3Config: {
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
internet_measurements_log_delivery_property = internetmonitor.CfnMonitor.InternetMeasurementsLogDeliveryProperty(
s3_config=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.*;
InternetMeasurementsLogDeliveryProperty internetMeasurementsLogDeliveryProperty = InternetMeasurementsLogDeliveryProperty.builder()
.s3Config(S3ConfigProperty.builder()
.bucketName("bucketName")
.bucketPrefix("bucketPrefix")
.logDeliveryStatus("logDeliveryStatus")
.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.InternetMonitor;
var internetMeasurementsLogDeliveryProperty = new InternetMeasurementsLogDeliveryProperty {
S3Config = 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"
internetMeasurementsLogDeliveryProperty := &InternetMeasurementsLogDeliveryProperty{
S3Config: &S3ConfigProperty{
BucketName: jsii.String("bucketName"),
BucketPrefix: jsii.String("bucketPrefix"),
LogDeliveryStatus: jsii.String("logDeliveryStatus"),
},
}
Properties
s3ConfigoptionalIResolvable | CfnMonitor.S3ConfigPropertys3_configoptionaltyping.Union[IResolvable, S3ConfigProperty]s3ConfigoptionalIResolvableS3ConfigoptionalIResolvableS3Configoptionalinterface{} #The configuration for publishing Amazon CloudWatch Internet Monitor internet measurements to Amazon S3.