This is the multi-page printable view of this section. Click here to print.
Set Resource Policy
- 1: 1.3
1 - 1.3
scpcli application-apigateway resource policy set
--api_id <value>
--version <value>
--statement <value>
Description
Set Resource Policy
State ACTIVE (CURRENT)
| Version | Not Before |
|---|---|
| 1.3 | - |
Parameters
| Name | Type | Description | Example |
|---|---|---|---|
| api_id required | string | Api ID | 27bb070b564349f8a31cc60734cc36a5 |
| version required | string | Version | 2024-07-01 |
| statement required | array | Statement | '{"Action": ["iam:*"], "Condition": {"StringEquals": {"scp:RequestedRegion": ["kr-west1"]}}, "Effect": "Allow", "NotAction": [], "Principal": [], "Resource": ["*"], "Sid": "Statement1"}' |