Class CloudFormationStackDriftDetectionCheckProps.Jsii$Proxy

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

@Stability(Stable) @Internal public static final class CloudFormationStackDriftDetectionCheckProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CloudFormationStackDriftDetectionCheckProps
  • Constructor Details

  • Method Details

    • getOwnStackOnly

      public final Boolean getOwnStackOnly()
      Description copied from interface: CloudFormationStackDriftDetectionCheckProps
      Whether to check only the stack where this rule is deployed.

      Default: false

      Specified by:
      getOwnStackOnly in interface CloudFormationStackDriftDetectionCheckProps
    • getRole

      public final IRole getRole()
      Description copied from interface: CloudFormationStackDriftDetectionCheckProps
      The IAM role to use for this rule.

      It must have permissions to detect drift for AWS CloudFormation stacks. Ensure to attach config.amazonaws.com trusted permissions and ReadOnlyAccess policy permissions. For specific policy permissions, refer to https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-drift.html.

      Default: - A role will be created

      Specified by:
      getRole in interface CloudFormationStackDriftDetectionCheckProps
    • getConfigRuleName

      public final String getConfigRuleName()
      Description copied from interface: RuleProps
      A name for the AWS Config rule.

      Default: - CloudFormation generated name

      Specified by:
      getConfigRuleName in interface RuleProps
    • getDescription

      public final String getDescription()
      Description copied from interface: RuleProps
      A description about this AWS Config rule.

      Default: - No description

      Specified by:
      getDescription in interface RuleProps
    • getEvaluationModes

      public final EvaluationMode getEvaluationModes()
      Description copied from interface: RuleProps
      The modes the AWS Config rule can be evaluated in.

      The valid values are distinct objects.

      Default: - Detective evaluation mode only

      Specified by:
      getEvaluationModes in interface RuleProps
    • getInputParameters

      public final Map<String,Object> getInputParameters()
      Description copied from interface: RuleProps
      Input parameter values that are passed to the AWS Config rule.

      Default: - No input parameters

      Specified by:
      getInputParameters in interface RuleProps
    • getMaximumExecutionFrequency

      public final MaximumExecutionFrequency getMaximumExecutionFrequency()
      Description copied from interface: RuleProps
      The maximum frequency at which the AWS Config rule runs evaluations.

      Default: MaximumExecutionFrequency.TWENTY_FOUR_HOURS

      Specified by:
      getMaximumExecutionFrequency in interface RuleProps
    • getRuleScope

      public final RuleScope getRuleScope()
      Description copied from interface: RuleProps
      Defines which resources trigger an evaluation for an AWS Config rule.

      Default: - evaluations for the rule are triggered when any resource in the recording group changes.

      Specified by:
      getRuleScope in interface RuleProps
    • $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