Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

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