Class: Aws::ConfigService::Types::CustomPolicyDetails
- Inherits:
-
Struct
- Object
- Struct
- Aws::ConfigService::Types::CustomPolicyDetails
- Defined in:
- gems/aws-sdk-configservice/lib/aws-sdk-configservice/types.rb
Overview
When making an API call, you may pass CustomPolicyDetails data as a hash:
{
policy_runtime: "PolicyRuntime", # required
policy_text: "PolicyText", # required
enable_debug_log_delivery: false,
}
Provides the runtime system, policy definition, and whether debug logging enabled. You can specify the following CustomPolicyDetails parameter values only for Config Custom Policy rules.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#enable_debug_log_delivery ⇒ Boolean
The boolean expression for enabling debug logging for your Config Custom Policy rule.
-
#policy_runtime ⇒ String
The runtime system for your Config Custom Policy rule.
-
#policy_text ⇒ String
The policy definition containing the logic for your Config Custom Policy rule.
Instance Attribute Details
#enable_debug_log_delivery ⇒ Boolean
The boolean expression for enabling debug logging for your Config
Custom Policy rule. The default value is false
.
1961 1962 1963 1964 1965 1966 1967 |
# File 'gems/aws-sdk-configservice/lib/aws-sdk-configservice/types.rb', line 1961 class CustomPolicyDetails < Struct.new( :policy_runtime, :policy_text, :enable_debug_log_delivery) SENSITIVE = [] include Aws::Structure end |
#policy_runtime ⇒ String
The runtime system for your Config Custom Policy rule. Guard is a policy-as-code language that allows you to write policies that are enforced by Config Custom Policy rules. For more information about Guard, see the Guard GitHub Repository.
1961 1962 1963 1964 1965 1966 1967 |
# File 'gems/aws-sdk-configservice/lib/aws-sdk-configservice/types.rb', line 1961 class CustomPolicyDetails < Struct.new( :policy_runtime, :policy_text, :enable_debug_log_delivery) SENSITIVE = [] include Aws::Structure end |
#policy_text ⇒ String
The policy definition containing the logic for your Config Custom Policy rule.
1961 1962 1963 1964 1965 1966 1967 |
# File 'gems/aws-sdk-configservice/lib/aws-sdk-configservice/types.rb', line 1961 class CustomPolicyDetails < Struct.new( :policy_runtime, :policy_text, :enable_debug_log_delivery) SENSITIVE = [] include Aws::Structure end |