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

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

Overview

Note:

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

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)


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

Returns:

  • (String)


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_textString

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

Returns:

  • (String)


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