opsworks_attach_elastic_load_balancer: Attaches an Elastic Load Balancing load balancer to a...

Description Usage Arguments Value Request syntax

View source: R/opsworks_operations.R

Description

Attaches an Elastic Load Balancing load balancer to a specified layer. AWS OpsWorks Stacks does not support Application Load Balancer. You can only use Classic Load Balancer with AWS OpsWorks Stacks. For more information, see Elastic Load Balancing.

You must create the Elastic Load Balancing instance separately, by using the Elastic Load Balancing console, API, or CLI. For more information, see Elastic Load Balancing Developer Guide.

Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.

Usage

1
opsworks_attach_elastic_load_balancer(ElasticLoadBalancerName, LayerId)

Arguments

ElasticLoadBalancerName

[required] The Elastic Load Balancing instance's name.

LayerId

[required] The ID of the layer to which the Elastic Load Balancing instance is to be attached.

Value

An empty list.

Request syntax

1
2
3
4
svc$attach_elastic_load_balancer(
  ElasticLoadBalancerName = "string",
  LayerId = "string"
)

paws.management documentation built on Aug. 23, 2021, 9:11 a.m.