API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see

We welcome your feedback on this new version of the documentation. Send your comments to


import ""

type PutConfigRuleInput struct { ConfigRule *ConfigRule `type:"structure" required:"true"` }


An AWS Config rule represents an AWS Lambda function that you create for a custom rule or a predefined function for an AWS managed rule. The function evaluates configuration items to assess whether your AWS resources comply with your desired configurations. This function can run when AWS Config detects a configuration change to an AWS resource and at a periodic frequency that you choose (for example, every 24 hours).

You can use the AWS CLI and AWS SDKs if you want to create a rule that triggers evaluations for your resources when AWS Config delivers the configuration snapshot. For more information, see ConfigSnapshotDeliveryProperties.

For more information about developing and using AWS Config rules, see Evaluating AWS Resource Configurations with AWS Config ( in the AWS Config Developer Guide.



func (s PutConfigRuleInput) GoString() string

GoString returns the string representation


func (s *PutConfigRuleInput) SetConfigRule(v *ConfigRule) *PutConfigRuleInput

SetConfigRule sets the ConfigRule field's value.


func (s PutConfigRuleInput) String() string

String returns the string representation


func (s *PutConfigRuleInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: