CrossAccount Trigger-infrastructure

Components

Component

Description

Ref

<<config_service>>

this is to fetch the configuration from the service json

Configuration(from config service)

<<Lambda>>

this lambda function will get the value from API and process the refundRequestId

AWS Lambda

<<S3>>

This bucket is used for datafeed files

AWS S3

<<CLOUDWATCH LOG GROUP>>

CLOUDWATCH LOG to show logger messages

AWS CLOUDWATCH LOG

Configuration(from config service)

Config File Name

storepick-trigger-ecs-task.json

Value:

{
"mdev.xxwmm.retail.storepick.ffffffffff": [
    {
        "keySuffix": "datafeed/pending/orderRefundsDetails",
        "ecsTaskName": "storepick-ecs-webshop-refund-auto-approve-task-$ENV-002",
        "clusterName": "ecs-euw1-n-digital-vpc001-common-001"
    }
],
"msit.xxwmm.retail.storepick.ffffffffff": [
    {
        "keySuffix": "datafeed/pending/orderRefundsDetails",
        "ecsTaskName": "storepick-ecs-webshop-refund-auto-approve-task-$ENV-002",
        "clusterName": "ecs-euw1-n-digital-vpc001-common-001"
    }
]
}

Attribute

Description

S3 BUCKET NAME

this will give you the name of s3 bucket

KEY SUFFIX

will give ypu the path

ECSTASK NAME

task name provided in config

CLUSTER NAME

cluster of the ecs task for configuration of the task

AWS Lambda

Environment

Lambda

dev

lmb-euw1-dev-storepick-s3-crossaccount-trigger-ecs-task-lambda

sit

lmb-euw1-sit-storepick-s3-crossaccount-trigger-ecs-task-lambda

prd

lmb-euw1-prd-storepick-s3-crossaccount-trigger-ecs-task-lambda

AWS S3

Environment

AWS S3

dev

mdev.xxwmm.retail.storepick.[a-z]{10}

sit

msit.xxwmm.retail.storepick.[a-z]{10}

prd

mprod.xxwmm.retail.storepick.[a-z]{10}

AWS CLOUDWATCH LOG

Environment

Cloudwatch Log Group

dev

lmb-euw1-dev-storepick-webshop-s3-crossaccount-trigger-ecs-001

sit

lmb-euw1-sit-storepick-webshop-s3-crossaccount-trigger-ecs-001

prd

lmb-euw1-prd-storepick-webshop-s3-crossaccount-trigger-ecs-001