Skip to content

Commit e33c74f

Browse files
committed
docs(cloudwatchevent-target): auto-generated
1 parent 4b31fa6 commit e33c74f

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

docs/resources/cloud-watch-events-target.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,13 @@ generated: true
1111
CloudWatchEventsTarget
1212
```
1313

14+
## Properties
1415

1516

17+
- `BusName`: The name of the event bus the rule applies to
18+
- `Name`: The name of the rule
19+
- `TargetID`: The ID of the target for the rule
20+
1621
!!! note - Using Properties
1722
Properties are what [Filters](../config-filtering.md) are written against in your configuration. You use the property
1823
names to write filters for what you want to **keep** and omit from the nuke process.

resources/cloudwatchevents-target.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,9 @@ func (l *CloudWatchEventsTargetLister) List(_ context.Context, o interface{}) ([
7070

7171
type CloudWatchEventsTarget struct {
7272
svc *cloudwatchevents.CloudWatchEvents
73-
TargetID *string
74-
Name *string
75-
BusName *string
73+
TargetID *string `description:"The ID of the target for the rule"`
74+
Name *string `description:"The name of the rule"`
75+
BusName *string `description:"The name of the event bus the rule applies to"`
7676
}
7777

7878
func (r *CloudWatchEventsTarget) Remove(_ context.Context) error {

0 commit comments

Comments
 (0)