aws s3에 저장된 파일 리스트로 불러오기
const aws = require('aws-sdk');
(async function () {
try {
aws.config.setPromisesDependency();
aws.config.update({
accessKeyId: accessKeyId,
secretAccessKey: secretAccessKey,
region: 'ap-northeast-2',
});
const s3 = new aws.S3();
const response = await s3
.listObjectsV2({
Bucket: '버킷이름',
Prefix: '폴더이름',
})
.promise();
console.log(response);
} catch (e) {
console.log('our error', e);
}
debugger;
})();
애니메이션 후에 Reveal되는 방법
.any {
animation: animation-name 1s ease normal backwards;
animation-delay: 3s;
}