AggregationConfigurationProperty Struct
An object that contains configuration settings for aggregating events.
| 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_cloudtrail as cloudtrail } from 'aws-cdk-lib';
const aggregationConfigurationProperty: cloudtrail.CfnTrail.AggregationConfigurationProperty = {
eventCategory: 'eventCategory',
templates: ['templates'],
};
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_cloudtrail as cloudtrail
aggregation_configuration_property = cloudtrail.CfnTrail.AggregationConfigurationProperty(
event_category="eventCategory",
templates=["templates"]
)
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.cloudtrail.*;
AggregationConfigurationProperty aggregationConfigurationProperty = AggregationConfigurationProperty.builder()
.eventCategory("eventCategory")
.templates(List.of("templates"))
.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.CloudTrail;
var aggregationConfigurationProperty = new AggregationConfigurationProperty {
EventCategory = "eventCategory",
Templates = new [] { "templates" }
};
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"
aggregationConfigurationProperty := &AggregationConfigurationProperty{
EventCategory: jsii.String("eventCategory"),
Templates: []*string{
jsii.String("templates"),
},
}
Properties
eventCategorystringevent_categorystreventCategoryStringEventCategorystringEventCategory*string required #Specifies the event category for which aggregation should be performed.
templatesstring[]templatestyping.List[str]templatesList<String>Templatesstring[]Templates*[]*string required #A list of aggregation templates that can be used to configure event aggregation.