altimeter.aws.resource.elbv1 package¶
Submodules¶
altimeter.aws.resource.elbv1.load_balancer module¶
Resource for classic load balancers
-
class
ClassicLoadBalancerResourceSpec
¶ Bases:
altimeter.aws.resource.elbv1.ELBV1ResourceSpec
Resource for classic load balancer
-
classmethod
get_lb_attrs
(client, lb_name)¶ Get lb attributes that Altimeter graphs.
- Return type
Dict
[str
,str
]
-
classmethod
list_from_aws
(client, account_id, region)¶ Return a dict of dicts of the format:
- {‘lb_1_arn’: {lb_1_dict},
‘lb_2_arn’: {lb_2_dict}, …}
Where the dicts represent results from describe_load_balancers.
- Return type
-
schema
: Schema = <altimeter.core.graph.schema.Schema object>¶
-
type_name
: str = 'loadbalancer'¶
-
classmethod
Module contents¶
ResourceSpec classes for classic elb resources.
-
class
ELBV1ResourceSpec
¶ Bases:
altimeter.aws.resource.resource_spec.AWSResourceSpec
Abstract base for ResourceSpec classes for classic elb resources.
-
classmethod
get_client_name
()¶ Get the boto3 client name to be used for scanning resources of this type. Generally this is the same as cls.service_name but in some cases it is not.
- Return type
str
- Returns
string of boto3 client name for cls.service
-
service_name
: str = 'elb'¶
-
classmethod