Interface CfnConfigRuleProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnConfigRuleProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.98.0 (build 00b106d)", date="2024-05-17T05:10:07.851Z") @Stability(Stable) public interface CfnConfigRuleProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnConfigRule.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.config.*;
 Object inputParameters;
 CfnConfigRuleProps cfnConfigRuleProps = CfnConfigRuleProps.builder()
         .source(SourceProperty.builder()
                 .owner("owner")
                 // the properties below are optional
                 .customPolicyDetails(CustomPolicyDetailsProperty.builder()
                         .enableDebugLogDelivery(false)
                         .policyRuntime("policyRuntime")
                         .policyText("policyText")
                         .build())
                 .sourceDetails(List.of(SourceDetailProperty.builder()
                         .eventSource("eventSource")
                         .messageType("messageType")
                         // the properties below are optional
                         .maximumExecutionFrequency("maximumExecutionFrequency")
                         .build()))
                 .sourceIdentifier("sourceIdentifier")
                 .build())
         // the properties below are optional
         .compliance(ComplianceProperty.builder()
                 .type("type")
                 .build())
         .configRuleName("configRuleName")
         .description("description")
         .evaluationModes(List.of(EvaluationModeConfigurationProperty.builder()
                 .mode("mode")
                 .build()))
         .inputParameters(inputParameters)
         .maximumExecutionFrequency("maximumExecutionFrequency")
         .scope(ScopeProperty.builder()
                 .complianceResourceId("complianceResourceId")
                 .complianceResourceTypes(List.of("complianceResourceTypes"))
                 .tagKey("tagKey")
                 .tagValue("tagValue")
                 .build())
         .build();
 

See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final class 
    A builder for CfnConfigRuleProps
    static final class 
    An implementation for CfnConfigRuleProps
  • Method Summary

    Modifier and Type
    Method
    Description
     
    default Object
    Indicates whether an AWS resource or AWS Config rule is compliant and provides the number of contributors that affect the compliance.
    default String
    A name for the AWS Config rule.
    default String
    The description that you provide for the AWS Config rule.
    default Object
    The modes the AWS Config rule can be evaluated in.
    default Object
    A string, in JSON format, that is passed to the AWS Config rule Lambda function.
    default String
    The maximum frequency with which AWS Config runs evaluations for a rule.
    default Object
    Defines which resources can trigger an evaluation for the rule.
    Provides the rule owner ( AWS for managed rules, CUSTOM_POLICY for Custom Policy rules, and CUSTOM_LAMBDA for Custom Lambda rules), the rule identifier, and the notifications that cause the function to evaluate your AWS resources.

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson