Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data CustomPolicyDetails = CustomPolicyDetails' {}
- newCustomPolicyDetails :: Text -> Text -> CustomPolicyDetails
- customPolicyDetails_enableDebugLogDelivery :: Lens' CustomPolicyDetails (Maybe Bool)
- customPolicyDetails_policyRuntime :: Lens' CustomPolicyDetails Text
- customPolicyDetails_policyText :: Lens' CustomPolicyDetails Text
Documentation
data CustomPolicyDetails Source #
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.
See: newCustomPolicyDetails
smart constructor.
CustomPolicyDetails' | |
|
Instances
newCustomPolicyDetails Source #
:: Text | |
-> Text | |
-> CustomPolicyDetails |
Create a value of CustomPolicyDetails
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:enableDebugLogDelivery:CustomPolicyDetails'
, customPolicyDetails_enableDebugLogDelivery
- The boolean expression for enabling debug logging for your Config Custom
Policy rule. The default value is false
.
$sel:policyRuntime:CustomPolicyDetails'
, customPolicyDetails_policyRuntime
- 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.
$sel:policyText:CustomPolicyDetails'
, customPolicyDetails_policyText
- The policy definition containing the logic for your Config Custom Policy
rule.
customPolicyDetails_enableDebugLogDelivery :: Lens' CustomPolicyDetails (Maybe Bool) Source #
The boolean expression for enabling debug logging for your Config Custom
Policy rule. The default value is false
.
customPolicyDetails_policyRuntime :: Lens' CustomPolicyDetails Text Source #
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.
customPolicyDetails_policyText :: Lens' CustomPolicyDetails Text Source #
The policy definition containing the logic for your Config Custom Policy rule.