Class CfnConfigRule.SourceProperty.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.config.CfnConfigRule.SourceProperty.Jsii$Proxy
All Implemented Interfaces:
CfnConfigRule.SourceProperty, software.amazon.jsii.JsiiSerializable
Enclosing interface:
CfnConfigRule.SourceProperty

@Stability(Stable) @Internal public static final class CfnConfigRule.SourceProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnConfigRule.SourceProperty
An implementation for CfnConfigRule.SourceProperty
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      Parameters:
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(CfnConfigRule.SourceProperty.Builder builder)
      Constructor that initializes the object based on literal property values passed by the CfnConfigRule.SourceProperty.Builder.
  • Method Details

    • getOwner

      public final String getOwner()
      Description copied from interface: CfnConfigRule.SourceProperty
      Indicates whether AWS or the customer owns and manages the AWS Config rule.

      AWS Config Managed Rules are predefined rules owned by AWS . For more information, see AWS Config Managed Rules in the AWS Config developer guide .

      AWS Config Custom Rules are rules that you can develop either with Guard ( CUSTOM_POLICY ) or AWS Lambda ( CUSTOM_LAMBDA ). For more information, see AWS Config Custom Rules in the AWS Config developer guide .

      Specified by:
      getOwner in interface CfnConfigRule.SourceProperty
    • getCustomPolicyDetails

      public final Object getCustomPolicyDetails()
      Description copied from interface: CfnConfigRule.SourceProperty
      Provides the runtime system, policy definition, and whether debug logging is enabled.

      Required when owner is set to CUSTOM_POLICY .

      Specified by:
      getCustomPolicyDetails in interface CfnConfigRule.SourceProperty
    • getSourceDetails

      public final Object getSourceDetails()
      Description copied from interface: CfnConfigRule.SourceProperty
      Provides the source and the message types that cause AWS Config to evaluate your AWS resources against a rule.

      It also provides the frequency with which you want AWS Config to run evaluations for the rule if the trigger type is periodic.

      If the owner is set to CUSTOM_POLICY , the only acceptable values for the AWS Config rule trigger message type are ConfigurationItemChangeNotification and OversizedConfigurationItemChangeNotification .

      Specified by:
      getSourceDetails in interface CfnConfigRule.SourceProperty
    • getSourceIdentifier

      public final String getSourceIdentifier()
      Description copied from interface: CfnConfigRule.SourceProperty
      For AWS Config Managed rules, a predefined identifier from a list.

      For example, IAM_PASSWORD_POLICY is a managed rule. To reference a managed rule, see List of AWS Config Managed Rules .

      For AWS Config Custom Lambda rules, the identifier is the Amazon Resource Name (ARN) of the rule's AWS Lambda function, such as arn:aws:lambda:us-east-2:123456789012:function:custom_rule_name .

      For AWS Config Custom Policy rules, this field will be ignored.

      Specified by:
      getSourceIdentifier in interface CfnConfigRule.SourceProperty
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object