Skip to content

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(policy, resourceIdentifier)

Arguments

policy

[required] The auth policy. The policy string in JSON must not contain newlines or blank lines.

resourceIdentifier

[required] The ID or Amazon Resource Name (ARN) of the service network or service for which the policy is created.

Value

A list with the following syntax:

list(
  policy = "string",
  state = "Active"|"Inactive"
)

Request syntax

svc$put_auth_policy(
  policy = "string",
  resourceIdentifier = "string"
)