Skip to content

PutAuthPolicyResponse

Source code in docs_src/capo_vpc_lattice/types/put_auth_policy_response.py
class PutAuthPolicyResponse(TypedDict, closed=True):
    policy: NotRequired["capo_vpc_lattice.types.auth_policy_string.AuthPolicyString"]
    """<p>The auth policy. The policy string in JSON must not contain newlines or blank lines.</p>"""
    state: NotRequired["capo_vpc_lattice.types.auth_policy_state.AuthPolicyState"]
    """<p>The state of the auth policy. The auth policy is only active when the auth type is set to <code>AWS_IAM</code>. If you provide a policy, then authentication and authorization decisions are made based on this policy and the client's IAM policy. If the Auth type is <code>NONE</code>, then, any auth policy that you provide remains inactive. For more information, see <a href="https://docs.aws.amazon.com/vpc-lattice/latest/ug/service-networks.html#create-service-network">Create a service network</a> in the <i>Amazon VPC Lattice User Guide</i>.</p>"""

policy instance-attribute

policy: NotRequired[AuthPolicyString]

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

state instance-attribute

state: NotRequired[AuthPolicyState]

The state of the auth policy. The auth policy is only active when the auth type is set to AWS_IAM. If you provide a policy, then authentication and authorization decisions are made based on this policy and the client's IAM policy. If the Auth type is NONE, then, any auth policy that you provide remains inactive. For more information, see Create a service network in the Amazon VPC Lattice User Guide.