vpclattice_put_resource_policy: Attaches a resource-based permission policy to a service or...

View source: R/vpclattice_operations.R

vpclattice_put_resource_policyR Documentation

Attaches a resource-based permission policy to a service or service network

Description

Attaches a resource-based permission policy to a service or service network. The policy must contain the same actions and condition statements as the Amazon Web Services Resource Access Manager permission for sharing services and service networks.

See https://www.paws-r-sdk.com/docs/vpclattice_put_resource_policy/ for full documentation.

Usage

vpclattice_put_resource_policy(policy, resourceArn)

Arguments

policy

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

resourceArn

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


paws.networking documentation built on Sept. 12, 2024, 7:32 a.m.