Skip to content
v2.275.0

TrailReference Struct ​

A reference to a Trail resource.

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 interfaces_cloudtrail } from 'aws-cdk-lib/interfaces';
const trailReference: interfaces_cloudtrail.TrailReference = {
  trailArn: 'trailArn',
  trailName: 'trailName',
};

Properties ​

trailArnstringtrail_arnstrtrailArnStringTrailArnstringTrailArn*stringrequired#
The ARN of the Trail resource.
trailNamestringtrail_namestrtrailNameStringTrailNamestringTrailName*stringrequired#
The TrailName of the Trail resource.