Creates a new policy that contains the necessary attributes depending on the policy type. Policies are settings that are saved for your Elastic LoadBalancer and that can be applied to the front-end listener, or the back-end application server, depending on your policy type.
Access
public
Parameters
Parameter |
Type |
Required |
Description |
---|---|---|---|
|
Required |
The name associated with the LoadBalancer for which the policy is being created. This name must be unique within the client AWS account. |
|
|
Required |
The name of the LoadBalancer policy being created. The name must be unique within the set of policies for this LoadBalancer. |
|
|
Required |
The name of the base policy type being used to create this policy. To get the list of policy types, use the |
|
|
Optional |
An associative array of parameters that can have the following keys:
|
Returns
Type |
Description |
---|---|
A |
Source
Method defined in services/elb.class.php | Toggle source view (18 lines) | View on GitHub