Class: Aws::ConfigService::Types::CustomPolicyDetails

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-configservice/types.rb

Overview

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

Instance Attribute Details

#enable_debug_log_deliveryBoolean

The boolean expression for enabling debug logging for your Config Custom Policy rule. The default value is ‘false`.

Returns:

  • (Boolean)


2280
2281
2282
2283
2284
2285
2286
# File 'lib/aws-sdk-configservice/types.rb', line 2280

class CustomPolicyDetails < Struct.new(
  :policy_runtime,
  :policy_text,
  :enable_debug_log_delivery)
  SENSITIVE = []
  include Aws::Structure
end

#policy_runtimeString

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].

[1]: github.com/aws-cloudformation/cloudformation-guard

Returns:

  • (String)


2280
2281
2282
2283
2284
2285
2286
# File 'lib/aws-sdk-configservice/types.rb', line 2280

class CustomPolicyDetails < Struct.new(
  :policy_runtime,
  :policy_text,
  :enable_debug_log_delivery)
  SENSITIVE = []
  include Aws::Structure
end

#policy_textString

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

Returns:

  • (String)


2280
2281
2282
2283
2284
2285
2286
# File 'lib/aws-sdk-configservice/types.rb', line 2280

class CustomPolicyDetails < Struct.new(
  :policy_runtime,
  :policy_text,
  :enable_debug_log_delivery)
  SENSITIVE = []
  include Aws::Structure
end