GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Paws::ELB::CreateLoadBalancerPolicy(3) User Contributed Perl Documentation Paws::ELB::CreateLoadBalancerPolicy(3)

Paws::ELB::CreateLoadBalancerPolicy - Arguments for method CreateLoadBalancerPolicy on Paws::ELB

This class represents the parameters used for calling the method CreateLoadBalancerPolicy on the Elastic Load Balancing service. Use the attributes of this class as arguments to method CreateLoadBalancerPolicy.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateLoadBalancerPolicy.

    my $elasticloadbalancing = Paws->service('ELB');
    # To create a policy that enables Proxy Protocol on a load balancer
    # This example creates a policy that enables Proxy Protocol on the specified
    # load balancer.
    my $CreateLoadBalancerPolicyOutput =
      $elasticloadbalancing->CreateLoadBalancerPolicy(
      'LoadBalancerName' => 'my-load-balancer',
      'PolicyAttributes' => [
        {
          'AttributeName'  => 'ProxyProtocol',
          'AttributeValue' => 'true'
        }
      ],
      'PolicyName'     => 'my-ProxyProtocol-policy',
      'PolicyTypeName' => 'ProxyProtocolPolicyType'
      );
    # To create a public key policy
    # This example creates a public key policy.
    my $CreateLoadBalancerPolicyOutput =
      $elasticloadbalancing->CreateLoadBalancerPolicy(
      'LoadBalancerName' => 'my-load-balancer',
      'PolicyAttributes' => [
        {
          'AttributeName'  => 'PublicKey',
          'AttributeValue' =>
'MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwAYUjnfyEyXr1pxjhFWBpMlggUcqoi3kl+dS74kj//c6x7ROtusUaeQCTgIUkayttRDWchuqo1pHC1u+n5xxXnBBe2ejbb2WRsKIQ5rXEeixsjFpFsojpSQKkzhVGI6mJVZBJDVKSHmswnwLBdofLhzvllpovBPTHe+o4haAWvDBALJU0pkSI1FecPHcs2hwxf14zHoXy1e2k36A64nXW43wtfx5qcVSIxtCEOjnYRg7RPvybaGfQ+v6Iaxb/+7J5kEvZhTFQId+bSiJImF1FSUT1W1xwzBZPUbcUkkXDj45vC2s3Z8E+Lk7a3uZhvsQHLZnrfuWjBWGWvZ/MhZYgEXAMPLE'
        }
      ],
      'PolicyName'     => 'my-PublicKey-policy',
      'PolicyTypeName' => 'PublicKeyPolicyType'
      );
    # To create a backend server authentication policy
    # This example creates a backend server authentication policy that enables
    # authentication on your backend instance using a public key policy.
    my $CreateLoadBalancerPolicyOutput =
      $elasticloadbalancing->CreateLoadBalancerPolicy(
      'LoadBalancerName' => 'my-load-balancer',
      'PolicyAttributes' => [
        {
          'AttributeName'  => 'PublicKeyPolicyName',
          'AttributeValue' => 'my-PublicKey-policy'
        }
      ],
      'PolicyName'     => 'my-authentication-policy',
      'PolicyTypeName' => 'BackendServerAuthenticationPolicyType'
      );

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see <https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing/CreateLoadBalancerPolicy>

REQUIRED LoadBalancerName => Str

The name of the load balancer.

The policy attributes.

REQUIRED PolicyName => Str

The name of the load balancer policy to be created. This name must be unique within the set of policies for this load balancer.

REQUIRED PolicyTypeName => Str

The name of the base policy type. To get the list of policy types, use DescribeLoadBalancerPolicyTypes.

This class forms part of Paws, documenting arguments for method CreateLoadBalancerPolicy in Paws::ELB

The source code is located here: <https://github.com/pplu/aws-sdk-perl>

Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>

2022-06-01 perl v5.40.2

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.