You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::ElasticLoadBalancing::Types::CreateAccessPointInput
- Inherits:
-
Struct
- Object
- Struct
- Aws::ElasticLoadBalancing::Types::CreateAccessPointInput
- Defined in:
- (unknown)
Overview
When passing CreateAccessPointInput as input to an Aws::Client method, you can use a vanilla Hash:
{
load_balancer_name: "AccessPointName", # required
listeners: [ # required
{
protocol: "Protocol", # required
load_balancer_port: 1, # required
instance_protocol: "Protocol",
instance_port: 1, # required
ssl_certificate_id: "SSLCertificateId",
},
],
availability_zones: ["AvailabilityZone"],
subnets: ["SubnetId"],
security_groups: ["SecurityGroupId"],
scheme: "LoadBalancerScheme",
tags: [
{
key: "TagKey", # required
value: "TagValue",
},
],
}
Contains the parameters for CreateLoadBalancer.
Instance Attribute Summary collapse
-
#availability_zones ⇒ Array<String>
One or more Availability Zones from the same region as the load balancer.
-
#listeners ⇒ Array<Types::Listener>
The listeners.
-
#load_balancer_name ⇒ String
The name of the load balancer.
-
#scheme ⇒ String
The type of a load balancer.
-
#security_groups ⇒ Array<String>
The IDs of the security groups to assign to the load balancer.
-
#subnets ⇒ Array<String>
The IDs of the subnets in your VPC to attach to the load balancer.
-
#tags ⇒ Array<Types::Tag>
A list of tags to assign to the load balancer.
Instance Attribute Details
#availability_zones ⇒ Array<String>
One or more Availability Zones from the same region as the load balancer.
You must specify at least one Availability Zone.
You can add more Availability Zones after you create the load balancer using EnableAvailabilityZonesForLoadBalancer.
#listeners ⇒ Array<Types::Listener>
The listeners.
For more information, see Listeners for Your Classic Load Balancer in the Classic Load Balancers Guide.
#load_balancer_name ⇒ String
The name of the load balancer.
This name must be unique within your set of load balancers for the region, must have a maximum of 32 characters, must contain only alphanumeric characters or hyphens, and cannot begin or end with a hyphen.
#scheme ⇒ String
The type of a load balancer. Valid only for load balancers in a VPC.
By default, Elastic Load Balancing creates an Internet-facing load balancer with a DNS name that resolves to public IP addresses. For more information about Internet-facing and Internal load balancers, see Load Balancer Scheme in the Elastic Load Balancing User Guide.
Specify internal
to create a load balancer with a DNS name that
resolves to private IP addresses.
#security_groups ⇒ Array<String>
The IDs of the security groups to assign to the load balancer.
#subnets ⇒ Array<String>
The IDs of the subnets in your VPC to attach to the load balancer.
Specify one subnet per Availability Zone specified in
AvailabilityZones
.
#tags ⇒ Array<Types::Tag>
A list of tags to assign to the load balancer.
For more information about tagging your load balancer, see Tag Your Classic Load Balancer in the Classic Load Balancers Guide.