@@ -56,7 +56,7 @@ Parameters:
5656 Description : ARN of a Lambda for Managing GlueTable
5757 AwsObjects :
5858 Type : CommaDelimitedList
59- Default : OpensearchDomains, ElasticacheClusters, RdsDbInstances, EBS, AMI, Snapshot, Ec2Instances, VpcInstances, RdsDbSnapshots, EKSClusters
59+ Default : OpensearchDomains, ElasticacheClusters, RdsDbInstances, EBS, AMI, Snapshot, Ec2Instances, VpcInstances, RdsDbSnapshots, EKSClusters, AWSLambda
6060 Description : Services for pulling price data
6161
6262Mappings :
@@ -789,7 +789,77 @@ Mappings:
789789 paths : Arn,Name,CreatedAt,Version,accountid,collection_date,region
790790 SerializationLibrary : org.openx.data.jsonserde.JsonSerDe
791791 TableType : EXTERNAL_TABLE
792-
792+ AWSLambda :
793+ path : lambda
794+ table :
795+ - Name : inventory_lambda_data
796+ PartitionKeys :
797+ - Name : payer_id
798+ Type : string
799+ - Name : year
800+ Type : string
801+ - Name : month
802+ Type : string
803+ - Name : day
804+ Type : string
805+ StorageDescriptor :
806+ Columns :
807+ - Name : functionname
808+ Type : string
809+ - Name : functionarn
810+ Type : string
811+ - Name : runtime
812+ Type : string
813+ - Name : role
814+ Type : string
815+ - Name : handler
816+ Type : string
817+ - Name : codesize
818+ Type : int
819+ - Name : description
820+ Type : string
821+ - Name : timeout
822+ Type : int
823+ - Name : memorysize
824+ Type : int
825+ - Name : lastmodified
826+ Type : string
827+ - Name : codesha256
828+ Type : string
829+ - Name : version
830+ Type : string
831+ - Name : tracingconfig
832+ Type : struct<mode:string>
833+ - Name : revisionid
834+ Type : string
835+ - Name : packagetype
836+ Type : string
837+ - Name : architectures
838+ Type : array<string>
839+ - Name : ephemeralstorage
840+ Type : struct<size:int>
841+ - Name : snapstart
842+ Type : struct<applyon:string,optimizationstatus:string>
843+ - Name : loggingconfig
844+ Type : struct<logformat:string,loggroup:string>
845+ - Name : accountid
846+ Type : string
847+ - Name : collection_date
848+ Type : string
849+ - Name : region
850+ Type : string
851+ - Name : layers
852+ Type : array<struct<arn:string,codesize:int>>
853+ - Name : vpcconfig
854+ Type : struct<subnetids:array<string>,securitygroupids:array<string>,vpcid:string,ipv6allowedfordualstack:boolean>
855+ InputFormat : org.apache.hadoop.mapred.TextInputFormat
856+ Location : !Sub s3://${DestinationBucket}/inventory/inventory-lambda-data/
857+ OutputFormat : org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
858+ SerdeInfo :
859+ Parameters :
860+ paths : functionname, functionarn, runtime, role, handler, codesize, dedscription, timeout, memorysize, lastmodified, codesha256, version, tracingconfig, revisionid, packagetype, architectures, ephemeralstorage, snapstart, loggingconfig, accountid, collection_date, region, layers, vpcconfig
861+ SerializationLibrary : org.openx.data.jsonserde.JsonSerDe
862+ TableType : EXTERNAL_TABLE
793863
794864Resources :
795865 LambdaRole :
@@ -1005,6 +1075,12 @@ Resources:
10051075 service='ec2',
10061076 function_name='describe_vpcs'
10071077 ),
1078+ 'lambda' : partial(
1079+ paginated_scan,
1080+ service='lambda',
1081+ function_name='list_functions',
1082+ obj_name='Functions[*]'
1083+ ),
10081084 'eks': eks_clusters_scan
10091085 }
10101086
0 commit comments