Merge pull request #14090 from hashicorp/p-aws-config-config-source-detail
provider/aws Added default to event source
This commit is contained in:
commit
bcf1514422
|
@ -110,6 +110,7 @@ func resourceAwsConfigConfigRule() *schema.Resource {
|
||||||
"event_source": {
|
"event_source": {
|
||||||
Type: schema.TypeString,
|
Type: schema.TypeString,
|
||||||
Optional: true,
|
Optional: true,
|
||||||
|
Default: "aws.config",
|
||||||
},
|
},
|
||||||
"maximum_execution_frequency": {
|
"maximum_execution_frequency": {
|
||||||
Type: schema.TypeString,
|
Type: schema.TypeString,
|
||||||
|
|
|
@ -108,7 +108,7 @@ Provides the rule owner (AWS or customer), the rule identifier, and the notifica
|
||||||
For custom rules, the identifier is the ARN of the rule's AWS Lambda function, such as `arn:aws:lambda:us-east-1:123456789012:function:custom_rule_name`.
|
For custom rules, the identifier is the ARN of the rule's AWS Lambda function, such as `arn:aws:lambda:us-east-1:123456789012:function:custom_rule_name`.
|
||||||
* `source_detail` - (Optional) Provides the source and type of the event that causes AWS Config to evaluate your AWS resources. Only valid if `owner` is `CUSTOM_LAMBDA`.
|
* `source_detail` - (Optional) Provides the source and type of the event that causes AWS Config to evaluate your AWS resources. Only valid if `owner` is `CUSTOM_LAMBDA`.
|
||||||
* `event_source` - (Optional) The source of the event, such as an AWS service, that triggers AWS Config
|
* `event_source` - (Optional) The source of the event, such as an AWS service, that triggers AWS Config
|
||||||
to evaluate your AWS resources. The only valid value is `aws.config`.
|
to evaluate your AWS resources. This defaults to `aws.config` and is the only valid value.
|
||||||
* `maximum_execution_frequency` - (Optional) The frequency that you want AWS Config to run evaluations for a rule that
|
* `maximum_execution_frequency` - (Optional) The frequency that you want AWS Config to run evaluations for a rule that
|
||||||
is triggered periodically. If specified, requires `message_type` to be `ScheduledNotification`.
|
is triggered periodically. If specified, requires `message_type` to be `ScheduledNotification`.
|
||||||
* `message_type` - (Optional) The type of notification that triggers AWS Config to run an evaluation for a rule. You can specify the following notification types:
|
* `message_type` - (Optional) The type of notification that triggers AWS Config to run an evaluation for a rule. You can specify the following notification types:
|
||||||
|
|
Loading…
Reference in New Issue