Skip to main content

session

Gets an individual session resource

Overview

Namesession
TypeResource
Descriptionsession
Idawscc.macie.session

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

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
aws_account_id,
status,
finding_publishing_frequency,
service_role
FROM awscc.macie.session
WHERE data__Identifier = '<AwsAccountId>';

Permissions

To operate on the session resource, the following permissions are required:

Read

macie2:GetMacieSession

Update

macie2:GetMacieSession,
macie2:UpdateMacieSession

Delete

macie2:DisableMacie