Skip to main content

sessions_list_only

Lists sessions in a region or regions, for all properties use sessions

Overview

Namesessions_list_only
TypeResource
DescriptionThe AWS::Macie::Session resource specifies a new Amazon Macie session. A session is an object that represents the Amazon Macie service. A session is required for Amazon Macie to become operational.
Idaws.macie.sessions_list_only

Fields

NameDatatypeDescription
aws_account_idstringAWS account ID of customer
statusstringA enumeration value that specifies the status of the Macie Session.
finding_publishing_frequencystringA enumeration value that specifies how frequently finding updates are published.
service_rolestringService role used by Macie
regionstringAWS region.

Methods

NameAccessible byRequired Params
list_resourcesSELECTregion

SELECT examples

Lists all sessions in a region.

SELECT
region,
aws_account_id
FROM aws.macie.sessions_list_only
WHERE region = 'us-east-1';

Permissions

For permissions required to operate on the sessions_list_only resource, see sessions