Skip to content

PutResourcePolicyRequest

Source code in docs_src/capo_vpc_lattice/types/put_resource_policy_request.py
class PutResourcePolicyRequest(TypedDict, closed=True):
    resource_arn: "capo_vpc_lattice.types.resource_arn.ResourceArn"
    """<p>The ID or ARN of the service network or service for which the policy is created.</p>"""
    policy: "capo_vpc_lattice.types.policy_string.PolicyString"
    """<p>An IAM policy. The policy string in JSON must not contain newlines or blank lines.</p>"""

policy instance-attribute

policy: PolicyString

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

resource_arn instance-attribute

resource_arn: ResourceArn

The ID or ARN of the service network or service for which the policy is created.