21 S3 Access Logs, Evenet ntotification and Object Blocking

Поделиться
HTML-код
  • Опубликовано: 9 янв 2024
  • How to configure SNS with S3 buckets
    Blocking objects in S3 from being deleted
    SQS with S3 bucket
    How to track access logs on S3 buckets
    SNS policy code
    {
    "Version": "2012-10-17",
    "Id": "example-ID",
    "Statement": [
    {
    "Sid": "Example SNS topic policy",
    "Effect": "Allow",
    "Principal": {
    "Service": "s3.amazonaws.com"
    },
    "Action": [
    "SNS:Publish"
    ],
    "Resource": "SNS-topic-ARN",
    "Condition": {
    "ArnLike": {
    "aws:SourceArn": "arn:aws:s3:*:*:bucket-name"
    },
    "StringEquals": {
    "aws:SourceAccount": "bucket-owner-account-id"
    }
    }
    }
    ]
    }

Комментарии •