v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1473359323.2 KB

Retrieves information about the auth policy for the specified service or service network.

get/authpolicy/{resourceIdentifier}

Path parameters

resourceIdentifierstring required

The ID or ARN of the service network or service.

Response

Success

policystring

The auth policy.

state'Active' | 'Inactive'

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>.

createdAtstring date-time

The date and time that the auth policy was created, in ISO-8601 format.

lastUpdatedAtstring date-time

The date and time that the auth policy was last updated, in ISO-8601 format.