- Following command are for AWSCLIv2, if you are using v1, please remove the --no-cli-pager option.
- Deploy with SAM CLI
# cd ~/AutoOps/RedshiftAuditLogToES
# REGION=<region>
# SourceBucket=<S3 bucket storing cloudfront standard log>
# DestinationESArn=<ARN of AES domain>
# DestinationBucket=<S3 bucket for backup>
# sam build
# sam deploy --stack-name RedshiftAuditLogToES --region $REGION --parameter-overrides SourceBucket=$SourceBucket DestinationESArn=$DestinationESArn DestinationBucket=$DestinationBucket --confirm-changeset --resolve-s3 --capabilities CAPABILITY_IAM
-
Add S3 trigger to RedshiftAuditLogTransformFunction
-
Map role FirehoseRole in AES if finegrained access control is enabled.