interface TrailReference
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Interfaces.CloudTrail.TrailReference |
Go | github.com/aws/aws-cdk-go/awscdk/v2/interfaces/awscloudtrail#TrailReference |
Java | software.amazon.awscdk.interfaces.cloudtrail.TrailReference |
Python | aws_cdk.interfaces.aws_cloudtrail.TrailReference |
TypeScript | aws-cdk-lib » interfaces » aws_cloudtrail » TrailReference |
A reference to a Trail resource.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_cloudtrail as interfaces_aws_cloudtrail } from 'aws-cdk-lib/interfaces';
const trailReference: interfaces_aws_cloudtrail.TrailReference = {
trailArn: 'trailArn',
trailName: 'trailName',
};
Properties
| Name | Type | Description |
|---|---|---|
| trail | string | The ARN of the Trail resource. |
| trail | string | The TrailName of the Trail resource. |
trailArn
Type:
string
The ARN of the Trail resource.
trailName
Type:
string
The TrailName of the Trail resource.

.NET
Go
Java
Python
TypeScript