aws globalaccelerator create-endpoint-group

Create an endpoint group for the specified listener. An endpoint group is a collection of endpoints in one AWS Region. A resource must be valid and active when you add it as an endpoint


--listener-arn <string>The Amazon Resource Name (ARN) of the listener
--endpoint-group-region <string>The AWS Region where the endpoint group is located. A listener can have only one endpoint group in a specific Region
--endpoint-configurations <list>The list of endpoint objects
--traffic-dial-percentage <float>The percentage of traffic to send to an AWS Region. Additional traffic is distributed to other endpoint groups for this listener. Use this action to increase (dial up) or decrease (dial down) traffic to a specific Region. The percentage is applied to the traffic that would otherwise have been routed to the Region based on optimal routing. The default value is 100
--health-check-port <integer>The port that AWS Global Accelerator uses to check the health of endpoints that are part of this endpoint group. The default port is the listener port that this endpoint group is associated with. If listener port is a list of ports, Global Accelerator uses the first port in the list
--health-check-protocol <string>The protocol that AWS Global Accelerator uses to check the health of endpoints that are part of this endpoint group. The default value is TCP
--health-check-path <string>If the protocol is HTTP/S, then this specifies the path that is the destination for health check targets. The default value is slash (/)
--health-check-interval-seconds <integer>The time—10 seconds or 30 seconds—between each health check for an endpoint. The default value is 30
--threshold-count <integer>The number of consecutive health checks required to set the state of a healthy endpoint to unhealthy, or to set an unhealthy endpoint to healthy. The default value is 3
--idempotency-token <string>A unique, case-sensitive identifier that you provide to ensure the idempotency—that is, the uniqueness—of the request
--port-overrides <list>Override specific listener ports used to route traffic to endpoints that are part of this endpoint group. For example, you can create a port override in which the listener receives user traffic on ports 80 and 443, but your accelerator routes that traffic to ports 1080 and 1443, respectively, on the endpoints. For more information, see Port overrides in the AWS Global Accelerator Developer Guide
--cli-input-json <string>Performs service operation based on the JSON string provided. The JSON string follows the format provided by ``--generate-cli-skeleton``. If other arguments are provided on the command line, the CLI values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally
--generate-cli-skeleton <string>Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value ``input``, prints a sample input JSON that can be used as an argument for ``--cli-input-json``. If provided with the value ``output``, it validates the command inputs and returns a sample output JSON for that command