get_organization_custom_rule_policy

get_organization_custom_rule_policy(**kwargs)

Returns the policy definition containing the logic for your organization Config Custom Policy rule.

See also: AWS API Documentation

Request Syntax

response = client.get_organization_custom_rule_policy(
    OrganizationConfigRuleName='string'
)
Parameters
OrganizationConfigRuleName (string) --

[REQUIRED]

The name of your organization Config Custom Policy rule.

Return type
dict
Returns
Response Syntax
{
    'PolicyText': 'string'
}

Response Structure

  • (dict) --
    • PolicyText (string) --

      The policy definition containing the logic for your organization Config Custom Policy rule.

Exceptions

  • ConfigService.Client.exceptions.NoSuchOrganizationConfigRuleException
  • ConfigService.Client.exceptions.OrganizationAccessDeniedException