버전 비교

  • 이 줄이 추가되었습니다.
  • 이 줄이 삭제되었습니다.
  • 서식이 변경되었습니다.

...

draw.io Diagram
bordertrue
viewerToolbartrue
fitWindowfalse
diagramNamePinpoint Architecture
simpleViewerfalse
width
diagramWidth2561
revision78


Pinpoint 구성 요소 및 등록 절차 설명

...

  • 매월 목표로 하는 처음 5,000개의 엔드포인트는 0 USD.
  • 그 후에는 최대 10,000,000개의 엔드포인트까지 엔드포인트당 0.0012 USD.

천 만개 이상일 경우 프라이빗 요금 상의


모바일 이벤트 메시지에 대한 분석 처리 Lambda 코드

코드 블럭
'use strict';
console.log('Loading function');

exports.handler = async (event, context) => {
    /* Process the list of records and transform them */
    const output = event.records.map((record) => {
        const entry = (new Buffer.from(record.data, 'base64')).toString('utf8');
        var json_data = JSON.parse(entry);
        json_data.event_timestamp   = new Date(json_data.event_timestamp).toISOString();
        json_data.arrival_timestamp = new Date(json_data.arrival_timestamp).toISOString();
        console.log(json_data);
        const result = JSON.stringify(json_data);
        const payload = (new Buffer.from(result, 'utf8')).toString('base64');

        /* Transformed event */
        return {
            recordId: record.recordId,
            result: 'Ok',
            data: payload,
        };
    });
    console.log(`Processing completed.  Successful records ${output.length}.`);
    console.log(output);
    return { records: output };
};

이벤트 발생한 시간을 UNIX 시간에서 ISO 포맷으로 변경하는 예

참고: https://aws.amazon.com/blogs/compute/amazon-kinesis-firehose-data-transformation-with-aws-lambda/


기타 솔루션 연계

G-Suite 연동

G-suite과 SAML 연동하는 방법 (추후 업데이트)

...