TrailReference
- class aws_cdk.aws_cloudtrail.TrailReference(*, trail_arn, trail_name)
Bases:
object
A reference to a Trail resource.
- Parameters:
trail_arn (
str
) – The ARN of the Trail resource.trail_name (
str
) – The TrailName of the Trail resource.
- ExampleMetadata:
fixture=_generated
Example:
# 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 trail_reference = cloudtrail.TrailReference( trail_arn="trailArn", trail_name="trailName" )
Attributes
- trail_arn
The ARN of the Trail resource.
- trail_name
The TrailName of the Trail resource.