AWS Fundamentals Logo
AWS Fundamentals
AWS::Macie::Session

Macie Session

The 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.

Properties

2 configurable properties. Click a row to see details.

Filter:
PropertyTypeFlags
FindingPublishingFrequency
string
Status
string

Return Values

Values returned after the resource is created. Access these with Fn::GetAtt.

AttributeTypeDescription
AutomatedDiscoveryStatusstringThe status of automated sensitive data discovery for the Macie session.
AwsAccountIdstringAWS account ID of customer
ServiceRolestringService role used by Macie

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::Macie::Session

Resources:
  MyResource:
    Type: AWS::Macie::Session
    Properties:

Required IAM Permissions

Permissions CloudFormation needs in your IAM role to manage this resource.

create

macie2:GetMacieSessionmacie2:EnableMaciemacie2:ListAutomatedDiscoveryAccounts

read

macie2:GetMacieSessionmacie2:ListAutomatedDiscoveryAccounts

list

macie2:GetMacieSessionmacie2:ListAutomatedDiscoveryAccounts

update

macie2:GetMacieSessionmacie2:UpdateMacieSessionmacie2:ListAutomatedDiscoveryAccounts

delete

macie2:DisableMacie

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

ServiceMacie
Properties5
Required0
TaggingNot supported
Primary IDAwsAccountId

Supported Operations

CreateReadListUpdateDelete

External Links