EC2 / Client / get_verified_access_group_policy

get_verified_access_group_policy#

EC2.Client.get_verified_access_group_policy(**kwargs)#

Shows the contents of the Verified Access policy associated with the group.

See also: AWS API Documentation

Request Syntax

response = client.get_verified_access_group_policy(
    VerifiedAccessGroupId='string',
    DryRun=True|False
)
Parameters:
  • VerifiedAccessGroupId (string) –

    [REQUIRED]

    The ID of the Amazon Web Services Verified Access group.

  • DryRun (boolean) – Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

Return type:

dict

Returns:

Response Syntax

{
    'PolicyEnabled': True|False,
    'PolicyDocument': 'string'
}

Response Structure

  • (dict) –

    • PolicyEnabled (boolean) –

      The status of the Verified Access policy.

    • PolicyDocument (string) –

      The Amazon Web Services Verified Access policy document.