ConfigService / Client / get_custom_rule_policy
get_custom_rule_policy#
- ConfigService.Client.get_custom_rule_policy(**kwargs)#
- Returns the policy definition containing the logic for your Config Custom Policy rule. - See also: AWS API Documentation - Request Syntax - response = client.get_custom_rule_policy( ConfigRuleName='string' ) - Parameters:
- ConfigRuleName (string) – The name of your 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 Config Custom Policy rule. 
 
 
 - Exceptions - ConfigService.Client.exceptions.NoSuchConfigRuleException