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)


1999
2000
2001
2002
2003
2004
2005
# File 'lib/aws-sdk-configservice/types.rb', line 1999

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)


1999
2000
2001
2002
2003
2004
2005
# File 'lib/aws-sdk-configservice/types.rb', line 1999

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)


1999
2000
2001
2002
2003
2004
2005
# File 'lib/aws-sdk-configservice/types.rb', line 1999

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