설명
DynamoDB 테이블의 BillingMode에는 PAY_PER_REQUEST 또는 PROVISIONED를 지정하세요.
잠재적 영향
지원되지 않는 값은 테이블 생성이나 업데이트를 실패하게 해 배포를 중단시킬 수 있습니다.
해결 방법
트래픽과 비용에 맞는 모드를 선택하세요. PROVISIONED를 사용하거나 BillingMode를 생략해 기본값을 적용하면 ProvisionedThroughput에 읽기·쓰기 용량을 지정하세요.
예시
두 번째 예시는 유효하지 않은 PayPal을 요청당 과금 방식인 PAY_PER_REQUEST로 바꿉니다. 배포에는 테이블 키 스키마와 속성 정의도 필요합니다.
변경 전
yaml
Resources:
Table:
Type: AWS::DynamoDB::Table
Properties:
TableName: myTable
BillingMode: PayPal
변경 후
yaml
Resources:
Table:
Type: AWS::DynamoDB::Table
Properties:
TableName: myTable
BillingMode: PAY_PER_REQUEST