Skip to content

Commit

Permalink
docs(cloudwatchevent-target): auto-generated
Browse files Browse the repository at this point in the history
  • Loading branch information
ekristen committed Jan 4, 2025
1 parent 4b31fa6 commit e33c74f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions docs/resources/cloud-watch-events-target.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,13 @@ generated: true
CloudWatchEventsTarget
```

## Properties


- `BusName`: The name of the event bus the rule applies to
- `Name`: The name of the rule
- `TargetID`: The ID of the target for the rule

!!! note - Using Properties
Properties are what [Filters](../config-filtering.md) are written against in your configuration. You use the property
names to write filters for what you want to **keep** and omit from the nuke process.
Expand Down
6 changes: 3 additions & 3 deletions resources/cloudwatchevents-target.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@ func (l *CloudWatchEventsTargetLister) List(_ context.Context, o interface{}) ([

type CloudWatchEventsTarget struct {
svc *cloudwatchevents.CloudWatchEvents
TargetID *string
Name *string
BusName *string
TargetID *string `description:"The ID of the target for the rule"`
Name *string `description:"The name of the rule"`
BusName *string `description:"The name of the event bus the rule applies to"`
}

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

0 comments on commit e33c74f

Please # to comment.