securitylake:CreateAwsLogSource

Write

securitylake:CreateAwsLogSource is a Write access-level action in the securitylake service. Grants permission to enable any source type in any region for accounts that are either part of a trusted organization or standalone account

Resource types

ARNs that securitylake:CreateAwsLogSource can be scoped to in an IAM policy.

arn:${Partition}:securitylake:${Region}:${Account}:data-lake/default
data-lake

Condition keys

Keys you can use in the Condition block of a policy that grants securitylake:CreateAwsLogSource.

aws:RequestTag/${TagKey} String

Filters access by tags that are passed in the request

aws:ResourceTag/${TagKey} String

Filters access by a tag key and value pair of a resource

Dependent actions

To use securitylake:CreateAwsLogSource you may also need to grant:

Example IAM policy

A minimal policy that allows securitylake:CreateAwsLogSource. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowSecuritylakeCreateAwsLogSource",
      "Effect": "Allow",
      "Action": "securitylake:CreateAwsLogSource",
      "Resource": "*"
    }
  ]
}

Related actions in securitylake

View all securitylake actions →