Skip to content

One Observability Workshop v3.0.0


One Observability Workshop / constructs/cloudtrail / WorkshopCloudTrail

Class: WorkshopCloudTrail

Defined in: constructs/cloudtrail.ts:45

A CDK construct that creates a CloudTrail trail with CloudWatch logs integration and anomaly detection for the observability workshop.

Extends

  • Construct

Constructors

Constructor

new WorkshopCloudTrail(scope, id, properties): WorkshopCloudTrail

Defined in: constructs/cloudtrail.ts:58

Creates a new WorkshopCloudTrail construct.

Parameters

scope

Construct

The parent construct

id

string

The construct identifier

properties

WorkshopCloudTrailProperties

Configuration properties for the CloudTrail

Returns

WorkshopCloudTrail

Overrides

Construct.constructor

Properties

trail

readonly trail: Trail

Defined in: constructs/cloudtrail.ts:47

The CloudTrail trail instance


logGroup

readonly logGroup: LogGroup

Defined in: constructs/cloudtrail.ts:49

The CloudWatch log group for trail events