Put Auth Policy
| vpclattice_put_auth_policy | R Documentation |
Creates or updates the auth policy¶
Description¶
Creates or updates the auth policy. The policy string in JSON must not contain newlines or blank lines.
For more information, see Auth policies in the Amazon VPC Lattice User Guide.
Usage¶
vpclattice_put_auth_policy(resourceIdentifier, policy)
Arguments¶
resourceIdentifier |
[required] The ID or ARN of the service network or service for which the policy is created. |
policy |
[required] The auth policy. The policy string in JSON must not contain newlines or blank lines. |
Value¶
A list with the following syntax:
list(
policy = "string",
state = "Active"|"Inactive"
)
Request syntax¶
svc$put_auth_policy(
resourceIdentifier = "string",
policy = "string"
)