altimeter.aws.resource.rds package¶
Submodules¶
altimeter.aws.resource.rds.instance module¶
Resource for RDS
-
class
RDSInstanceResourceSpec
¶ Bases:
altimeter.aws.resource.rds.RDSResourceSpec
Resource for RDS
-
classmethod
list_from_aws
(client, account_id, region)¶ Return a ListFromAWSResult object by calling the appropriate AWS API calls to list/describe the resource represented by this class.
- Parameters
client (
BaseClient
) – boto3 Clientaccount_id (
str
) – aws account idregion (
str
) – aws region
- Return type
- Returns
ListFromAWSResult object
-
schema
: Schema = <altimeter.core.graph.schema.Schema object>¶
-
type_name
: str = 'db'¶
-
classmethod
altimeter.aws.resource.rds.snapshot module¶
Resource for RDS Snapshot
-
class
RDSSnapshotResourceSpec
¶ Bases:
altimeter.aws.resource.rds.RDSResourceSpec
Resource for RDS Snapshot
-
classmethod
generate_instance_arn
(account_id, region, resource_id)¶ Generate an ARN for this resource, e.g. arn:aws:rds:<region>:<account>:db:<name>
- Return type
str
-
classmethod
list_from_aws
(client, account_id, region)¶ Return a ListFromAWSResult object by calling the appropriate AWS API calls to list/describe the resource represented by this class.
- Parameters
client (
BaseClient
) – boto3 Clientaccount_id (
str
) – aws account idregion (
str
) – aws region
- Return type
- Returns
ListFromAWSResult object
-
schema
: Schema = <altimeter.core.graph.schema.Schema object>¶
-
type_name
: str = 'snapshot'¶
-
classmethod
Module contents¶
Base class for rds resources.
-
class
RDSResourceSpec
¶ Bases:
altimeter.aws.resource.resource_spec.AWSResourceSpec
Base class for rds resources.
-
service_name
: str = 'rds'¶
-