awshandler

package
v0.1.2-beta Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 15, 2024 License: MIT Imports: 46 Imported by: 0

README

AWS Service Handler

Manages all the AWS resources which we fetch.

Services TO-DO List

  • accessanalyzer
  • account
  • acm
  • acmpca
  • amp
  • amplify
  • amplifybackend
  • amplifyuibuilder
  • apigateway [priority]
  • apigatewaymanagementapi
  • apigatewayv2
  • appconfig
  • appconfigdata
  • appfabric
  • appflow
  • appintegrations
  • applicationautoscaling
  • applicationcostprofiler
  • applicationdiscoveryservice
  • applicationinsights
  • appmesh
  • apprunner
  • appstream
  • appsync
  • arczonalshift
  • athena
  • auditmanager
  • autoscaling
  • autoscalingplans
  • b2bi
  • backup
  • backupgateway
  • backupstorage
  • batch
  • bcmdataexports
  • bedrock
  • bedrockagent
  • bedrockagentruntime
  • bedrockruntime
  • billingconductor
  • braket
  • cleanrooms
  • cleanroomsml
  • cloud9
  • cloudcontrol
  • clouddirectory
  • cloudformation [priority]
  • cloudfront [priority]
  • cloudfrontkeyvaluestore
  • cloudhsm
  • cloudhsmv2
  • cloudsearch
  • cloudsearchdomain
  • cloudtrail
  • cloudtraildata
  • cloudwatch [priority]
  • cloudwatchevents [priority]
  • cloudwatchlogs [priority]
  • codeartifact [priority]
  • codebuild [priority]
  • codecatalyst
  • codecommit [priority]
  • codedeploy [priority]
  • codeguruprofiler
  • codegurureviewer
  • codegurusecurity
  • codepipeline [priority]
  • codestar
  • codestarconnections
  • codestarnotifications
  • cognitoidentity
  • cognitoidentityprovider
  • cognitosync
  • comprehend
  • comprehendmedical
  • computeoptimizer
  • configservice
  • connect
  • connectcampaigns
  • connectcases
  • connectcontactlens
  • connectparticipant
  • controltower
  • costandusagereportservice
  • costexplorer
  • costoptimizationhub
  • customerprofiles
  • databasemigrationservice
  • databrew
  • dataexchange
  • datapipeline
  • datasync
  • datazone
  • dax
  • detective
  • devicefarm
  • devopsguru
  • directconnect
  • directoryservice
  • dlm
  • docdb
  • docdbelastic
  • drs
  • dynamodb [priority]
  • dynamodbstreams
  • ebs [priority]
  • ec2 [priority]
  • ec2instanceconnect
  • ecr [priority]
  • ecrpublic [priority]
  • ecs [priority]
  • efs [priority]
  • eks [priority]
  • eksauth
  • elasticache [priority]
  • elasticbeanstalk [priority]
  • elasticinference
  • elasticloadbalancing [priority]
  • elasticloadbalancingv2 [priority]
  • elasticsearchservice [priority]
  • elastictranscoder
  • emr
  • emrcontainers
  • emrserverless
  • entityresolution
  • eventbridge
  • evidently
  • finspace
  • finspacedata
  • firehose
  • fis
  • fms
  • forecast
  • forecastquery
  • frauddetector
  • freetier
  • fsx
  • gamelift
  • glacier
  • globalaccelerator
  • glue
  • grafana
  • greengrass
  • greengrassv2
  • groundstation
  • guardduty
  • health
  • healthlake
  • honeycode
  • iam [priority]
  • identitystore
  • imagebuilder
  • inspector
  • inspector2
  • inspectorscan
  • internal
  • internetmonitor
  • iot
  • iot1clickdevicesservice
  • iot1clickprojects
  • iotanalytics
  • iotdataplane
  • iotdeviceadvisor
  • iotevents
  • ioteventsdata
  • iotfleethub
  • iotfleetwise
  • iotjobsdataplane
  • iotroborunner
  • iotsecuretunneling
  • iotsitewise
  • iotthingsgraph
  • iottwinmaker
  • iotwireless
  • ivs
  • ivschat
  • ivsrealtime
  • kafka
  • kafkaconnect
  • kendra
  • kendraranking
  • keyspaces
  • kinesis [priority]
  • kinesisanalytics
  • kinesisanalyticsv2
  • kinesisvideo
  • kinesisvideoarchivedmedia
  • kinesisvideomedia
  • kinesisvideosignaling
  • kinesisvideowebrtcstorage
  • kms [priority]
  • lakeformation
  • lambda [priority]
  • launchwizard
  • lexmodelbuildingservice
  • lexmodelsv2
  • lexruntimeservice
  • lexruntimev2
  • licensemanager
  • licensemanagerlinuxsubscriptions
  • licensemanagerusersubscriptions
  • lightsail
  • location
  • lookoutequipment
  • lookoutmetrics
  • lookoutvision
  • m2
  • machinelearning
  • macie2
  • managedblockchain
  • managedblockchainquery
  • marketplaceagreement
  • marketplacecatalog
  • marketplacecommerceanalytics
  • marketplacedeployment
  • marketplaceentitlementservice
  • marketplacemetering
  • mediaconnect
  • mediaconvert
  • medialive
  • mediapackage
  • mediapackagev2
  • mediapackagevod
  • mediastore
  • mediastoredata
  • mediatailor
  • medicalimaging
  • memorydb
  • mgn
  • migrationhub
  • migrationhubconfig
  • migrationhuborchestrator
  • migrationhubrefactorspaces
  • migrationhubstrategy
  • mobile
  • mq
  • mturk
  • mwaa
  • neptune
  • neptunedata
  • neptunegraph
  • networkfirewall
  • networkmanager
  • networkmonitor
  • nimble
  • oam
  • omics
  • opensearch
  • opensearchserverless
  • opsworks
  • opsworkscm
  • organizations
  • osis
  • outposts
  • panorama
  • paymentcryptography
  • paymentcryptographydata
  • pcaconnectorad
  • personalize
  • personalizeevents
  • personalizeruntime
  • pi
  • pinpoint
  • pinpointemail
  • pinpointsmsvoice
  • pinpointsmsvoicev2
  • pipes
  • polly
  • pricing
  • privatenetworks
  • proton
  • qbusiness
  • qconnect
  • qldb
  • qldbsession
  • quicksight
  • ram
  • rbin
  • rds [priority]
  • rdsdata
  • redshift [priority]
  • redshiftdata
  • redshiftserverless
  • rekognition
  • repostspace
  • resiliencehub
  • resourceexplorer2
  • resourcegroups
  • resourcegroupstaggingapi
  • rolesanywhere
  • route53 [priority]
  • route53domains
  • route53recoverycluster
  • route53recoverycontrolconfig
  • route53recoveryreadiness
  • route53resolver
  • rum
  • s3
  • s3control
  • s3outposts
  • sagemaker [priority]
  • sagemakera2iruntime
  • sagemakeredge
  • sagemakerfeaturestoreruntime
  • sagemakergeospatial
  • sagemakermetrics
  • sagemakerruntime
  • savingsplans
  • scheduler
  • schemas
  • secretsmanager [priority]
  • securityhub
  • securitylake
  • serverlessapplicationrepository
  • servicecatalog
  • servicecatalogappregistry
  • servicediscovery
  • servicequotas
  • ses
  • sesv2
  • sfn
  • shield
  • signer
  • simspaceweaver
  • sms
  • snowball
  • snowdevicemanagement
  • sns [priority]
  • sqs [priority]
  • ssm
  • ssmcontacts
  • ssmincidents
  • ssmsap
  • sso
  • ssoadmin
  • ssooidc
  • storagegateway
  • sts
  • support
  • supportapp
  • swf
  • synthetics
  • textract
  • timestreamquery
  • timestreamwrite
  • tnb
  • transcribe
  • transcribestreaming
  • transfer
  • translate
  • trustedadvisor
  • verifiedpermissions
  • voiceid
  • vpclattice [priority]
  • waf [priority]
  • wafregional
  • wafv2 [priority]
  • wellarchitected
  • wisdom
  • workdocs
  • worklink
  • workmail
  • workmailmessageflow
  • workspaces
  • workspacesthinclient
  • workspacesweb
  • xray

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CloudformationListFn

func CloudformationListFn(sdkConfig aws.Config, parentpath string)

Gets all the stacks of cloudformation for a given regions and stores the results in output/{region}/cloudfromation/stacks.json file

func CloudfrontListFn

func CloudfrontListFn(sdkConfig aws.Config, parentpath string)

Gets all the distribution of cloudfront for a given regions and stores the results in output/{region}/cloudfront/distributions.json file

func DynamoDBListFn

func DynamoDBListFn(sdkConfig aws.Config, parentpath string)

Gets all the dynamodb tables for a given regions and stores the results in output/{region}/dynamodb/tables.json file

func ECRMetaData

func ECRMetaData(sdkConfig aws.Config, parentpath string)

Gets all the ecr Data for a given regions and stores the results in output/{region}/ecr/data.json file

func ElasticCahceMetaData

func ElasticCahceMetaData(sdkConfig aws.Config, parentpath string)

Gets all the elasticache Data for a given regions and stores the results in output/{region}/elasticache/data.json file

func GenerateAWSReport

func GenerateAWSReport(outFolder string)

func IamMetadata

func IamMetadata(sdkConfig aws.Config, parentpath string)

Gets all the IAM Data for a given regions and stores the results in output/{region}/iam/iam.json file

func KmsMetadata

func KmsMetadata(sdkConfig aws.Config, parentpath string)

Gets all the KMS Data for a given regions and stores the results in output/{region}/KMS/keys.json file

func ListAutoscalingFn

func ListAutoscalingFn(sdkConfig aws.Config, parentpath string)

Gets all the AutoScaling Data for a given regions and stores the results in output/{region}/autoscaling/metrics.json file

func ListCloudwatchEventsFn

func ListCloudwatchEventsFn(sdkConfig aws.Config, parentpath string)

Gets all the Cloudwatch Event Data for a given regions and stores the results in output/{region}/cloudwatch/events.json file

func ListCloudwatchFn

func ListCloudwatchFn(sdkConfig aws.Config, parentpath string)

Gets all the Cloudwatch Data for a given regions and stores the results in output/{region}/cloudwatch/metrics.json file

func ListCloudwatchLogsFn

func ListCloudwatchLogsFn(sdkConfig aws.Config, parentpath string)

Gets all the Cloudwatch Logs Data for a given regions and stores the results in output/{region}/cloudwatch/logs.json file

func ListEc2Fn

func ListEc2Fn(sdkConfig aws.Config, parentpath string)

Gets all the EC2 instance for a given regions and stores the results in output/{region}/ec2/instances.json file

func ListLambdaFns

func ListLambdaFns(sdkConfig aws.Config, parentpath string)

Gets all the lambda functions for a given regions and stores the results in output/{region}/lambda/functions.json file

func ListRDSFunc

func ListRDSFunc(sdkConfig aws.Config, parentpath string)

Gets all the rds instance for a given regions and stores the results in output/{region}/ec2/instances.json file

func ListRoute53Func

func ListRoute53Func(sdkConfig aws.Config, parentpath string)

Gets all the Route53 Domains for a given regions and stores the results in output/{region}/route53/instances.json file

func ListVpcFn

func ListVpcFn(sdkConfig aws.Config, parentpath string)

Gets all the EC2 instance for a given regions and stores the results in output/{region}/ec2/instances.json file

func S3ListBucketss

func S3ListBucketss(sdkConfig aws.Config, parentpath string)

Gets all the files from s3 for a given regions and stores the results in output/s3/buckets.json file

func StoreAWSData

func StoreAWSData(region string, outFolder string)

Types

type BasicTemplate

type BasicTemplate struct {
	Stats interface{} `json:"stats"`
	Data  interface{} `json:"data"`
}

Creating a common interface for all the data points

type DynamoDBList

type DynamoDBList struct {
	Tables []string `json:"Tables"`
}

type RDSInfo

type RDSInfo struct {
	Instances []types.DBInstance `json:"Instances"`
}

type Route53Info

type Route53Info struct {
	Domains []types.DomainSummary `json:"Domains"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL