Skip to content

Commit 0cda1e8

Browse files
committed
Add documentation for TargetGroupName
1 parent 464c6ca commit 0cda1e8

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

plugins/modules/elb_application_lb.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,14 @@
122122
description: The type of action.
123123
type: str
124124
TargetGroupArn:
125-
description: The Amazon Resource Name (ARN) of the target group.
125+
description:
126+
- The Amazon Resource Name (ARN) of the target group.
127+
- Mutually exclusive with I(TargetGroupName).
126128
type: str
129+
TargetGroupName:
130+
description:
131+
- The name of the target group.
132+
- Mutually exclusive with I(TargetGroupArn).
127133
Rules:
128134
type: list
129135
elements: dict

plugins/modules/elb_network_lb.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,14 @@
6464
description: The type of action.
6565
type: str
6666
TargetGroupArn:
67-
description: The Amazon Resource Name (ARN) of the target group.
67+
description:
68+
- The Amazon Resource Name (ARN) of the target group.
69+
- Mutually exclusive with I(TargetGroupName).
6870
type: str
71+
TargetGroupName:
72+
description:
73+
- The name of the target group.
74+
- Mutually exclusive with I(TargetGroupArn).
6975
name:
7076
description:
7177
- The name of the load balancer. This name must be unique within your AWS account, can have a maximum of 32 characters, must contain only alphanumeric

0 commit comments

Comments
 (0)