Skip to content

/AWS1/CL_AANTRAIL

Contains details about the CloudTrail trail being analyzed to generate a policy.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_cloudtrailarn TYPE /AWS1/AANCLOUDTRAILARN /AWS1/AANCLOUDTRAILARN

Specifies the ARN of the trail. The format of a trail ARN is arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail.

Optional arguments:

it_regions TYPE /AWS1/CL_AANREGIONLIST_W=>TT_REGIONLIST TT_REGIONLIST

A list of regions to get CloudTrail data from and analyze to generate a policy.

iv_allregions TYPE /AWS1/AANBOOLEAN /AWS1/AANBOOLEAN

Possible values are true or false. If set to true, IAM Access Analyzer retrieves CloudTrail data from all regions to analyze and generate a policy.


Queryable Attributes

cloudTrailArn

Specifies the ARN of the trail. The format of a trail ARN is arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail.

Accessible with the following methods

Method Description
GET_CLOUDTRAILARN() Getter for CLOUDTRAILARN, with configurable default
ASK_CLOUDTRAILARN() Getter for CLOUDTRAILARN w/ exceptions if field has no value
HAS_CLOUDTRAILARN() Determine if CLOUDTRAILARN has a value

regions

A list of regions to get CloudTrail data from and analyze to generate a policy.

Accessible with the following methods

Method Description
GET_REGIONS() Getter for REGIONS, with configurable default
ASK_REGIONS() Getter for REGIONS w/ exceptions if field has no value
HAS_REGIONS() Determine if REGIONS has a value

allRegions

Possible values are true or false. If set to true, IAM Access Analyzer retrieves CloudTrail data from all regions to analyze and generate a policy.

Accessible with the following methods

Method Description
GET_ALLREGIONS() Getter for ALLREGIONS, with configurable default
ASK_ALLREGIONS() Getter for ALLREGIONS w/ exceptions if field has no value
HAS_ALLREGIONS() Determine if ALLREGIONS has a value

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_TRAILLIST

TYPES TT_TRAILLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_AANTRAIL WITH DEFAULT KEY
.