AWS SDK for Go (PILOT)
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 https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

PutConfigRuleInput

import "github.com/aws/aws-sdk-go/service/configservice"

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

ConfigRule

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 (https://docs.aws.amazon.com/config/latest/developerguide/evaluate-config.html) in the AWS Config Developer Guide.

Method

GoString

func (s PutConfigRuleInput) GoString() string

GoString returns the string representation

SetConfigRule

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

SetConfigRule sets the ConfigRule field's value.

String

func (s PutConfigRuleInput) String() string

String returns the string representation

Validate

func (s *PutConfigRuleInput) Validate() error

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

On this page: