awsservices

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2026 License: Apache-2.0 Imports: 125 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ParentOf = iota // default
	AppliesOn
	DependingOn
)

Variables

View Source
var (
	AccessService, InfraService, StorageService, MessagingService, DNSService, LambdaService, MonitoringService, CdnService, CloudformationService              cloud.Service
	CloudmapService, BackupService                                                                                                                              cloud.Service
	EksService, DynamodbService, SecretsmanagerService, ApigatewayService, SsmService, EfsService, CloudtrailService, CloudwatchlogsService                     cloud.Service
	ElasticacheService, EventbridgeService, StepfunctionsService, WafService, ConfigserviceService, KinesisService, RedshiftService, CodepipelineService        cloud.Service
	CodebuildService, BeanstalkService, CodedeployService, GlueService, SesService, CognitoService, MskService, MqService, FsxService, GlobalacceleratorService cloud.Service
)
View Source
var APIPerResourceType = map[string]string{}/* 104 elements not displayed */
View Source
var DefaultNetworkMonitor = &NetworkMonitor{requests: make(map[string]*req)}
View Source
var ResourceTypes = []string{}/* 104 elements not displayed */
View Source
var ServiceNames = []string{
	"infra",
	"access",
	"storage",
	"messaging",
	"dns",
	"lambda",
	"monitoring",
	"cdn",
	"cloudformation",
	"eks",
	"dynamodb",
	"secretsmanager",
	"apigateway",
	"ssm",
	"efs",
	"cloudtrail",
	"cloudwatchlogs",
	"elasticache",
	"eventbridge",
	"stepfunctions",
	"waf",
	"configservice",
	"kinesis",
	"redshift",
	"codepipeline",
	"backup",
	"cloudmap",
	"globalaccelerator",
	"fsx",
	"mq",
	"msk",
	"cognito",
	"ses",
	"glue",
	"codedeploy",
	"codebuild",
	"beanstalk",
}
View Source
var ServicePerAPI = map[string]string{
	"ec2":                     "infra",
	"elbv2":                   "infra",
	"elb":                     "infra",
	"rds":                     "infra",
	"autoscaling":             "infra",
	"ecr":                     "infra",
	"ecs":                     "infra",
	"applicationautoscaling":  "infra",
	"acm":                     "infra",
	"iam":                     "access",
	"sts":                     "access",
	"s3":                      "storage",
	"sns":                     "messaging",
	"sqs":                     "messaging",
	"route53":                 "dns",
	"lambda":                  "lambda",
	"cloudwatch":              "monitoring",
	"cloudfront":              "cdn",
	"cloudformation":          "cloudformation",
	"eks":                     "eks",
	"dynamodb":                "dynamodb",
	"secretsmanager":          "secretsmanager",
	"kms":                     "secretsmanager",
	"apigatewayv2":            "apigateway",
	"ssm":                     "ssm",
	"efs":                     "efs",
	"cloudtrail":              "cloudtrail",
	"cloudwatchlogs":          "cloudwatchlogs",
	"elasticache":             "elasticache",
	"eventbridge":             "eventbridge",
	"sfn":                     "stepfunctions",
	"wafv2":                   "waf",
	"configservice":           "configservice",
	"kinesis":                 "kinesis",
	"redshift":                "redshift",
	"codepipeline":            "codepipeline",
	"backup":                  "backup",
	"servicediscovery":        "cloudmap",
	"globalaccelerator":       "globalaccelerator",
	"fsx":                     "fsx",
	"mq":                      "mq",
	"kafka":                   "msk",
	"cognitoidentityprovider": "cognito",
	"cognitoidentity":         "cognito",
	"sesv2":                   "ses",
	"glue":                    "glue",
	"codedeploy":              "codedeploy",
	"codebuild":               "codebuild",
	"elasticbeanstalk":        "beanstalk",
}
View Source
var ServicePerResourceType = map[string]string{}/* 104 elements not displayed */

Functions

func GetCloudServicesForAPIs

func GetCloudServicesForAPIs(apis ...string) (services []cloud.Service)

func GetCloudServicesForTypes

func GetCloudServicesForTypes(types ...string) (services []cloud.Service)

func Init

func Init(profile, region string, extraConf map[string]any, log *logger.Logger, profileSetterCallback func(val string) error, enableNetworkMonitor bool) error

func NewAccess

func NewAccess(cfg aws.Config, profile string, extraConf map[string]any, log *logger.Logger) cloud.Service

func NewApigateway

func NewApigateway(cfg aws.Config, profile string, extraConf map[string]any, log *logger.Logger) cloud.Service

func NewBackup added in v1.2.0

func NewBackup(cfg aws.Config, profile string, extraConf map[string]any, log *logger.Logger) cloud.Service

func NewBeanstalk added in v1.2.0

func NewBeanstalk(cfg aws.Config, profile string, extraConf map[string]any, log *logger.Logger) cloud.Service

func NewCDN

func NewCDN(cfg aws.Config, profile string, extraConf map[string]any, log *logger.Logger) cloud.Service

func NewCloudformation

func NewCloudformation(cfg aws.Config, profile string, extraConf map[string]any, log *logger.Logger) cloud.Service

func NewCloudmap added in v1.2.0

func NewCloudmap(cfg aws.Config, profile string, extraConf map[string]any, log *logger.Logger) cloud.Service

func NewCloudtrail

func NewCloudtrail(cfg aws.Config, profile string, extraConf map[string]any, log *logger.Logger) cloud.Service

func NewCloudwatchlogs

func NewCloudwatchlogs(cfg aws.Config, profile string, extraConf map[string]any, log *logger.Logger) cloud.Service

func NewCodebuild added in v1.2.0

func NewCodebuild(cfg aws.Config, profile string, extraConf map[string]any, log *logger.Logger) cloud.Service

func NewCodedeploy added in v1.2.0

func NewCodedeploy(cfg aws.Config, profile string, extraConf map[string]any, log *logger.Logger) cloud.Service

func NewCodepipeline added in v1.2.0

func NewCodepipeline(cfg aws.Config, profile string, extraConf map[string]any, log *logger.Logger) cloud.Service

func NewCognito added in v1.2.0

func NewCognito(cfg aws.Config, profile string, extraConf map[string]any, log *logger.Logger) cloud.Service

func NewConfigservice added in v1.2.0

func NewConfigservice(cfg aws.Config, profile string, extraConf map[string]any, log *logger.Logger) cloud.Service

func NewDNS

func NewDNS(cfg aws.Config, profile string, extraConf map[string]any, log *logger.Logger) cloud.Service

func NewDynamodb

func NewDynamodb(cfg aws.Config, profile string, extraConf map[string]any, log *logger.Logger) cloud.Service

func NewEFS

func NewEFS(cfg aws.Config, profile string, extraConf map[string]any, log *logger.Logger) cloud.Service

func NewEKS

func NewEKS(cfg aws.Config, profile string, extraConf map[string]any, log *logger.Logger) cloud.Service

func NewElasticache added in v1.2.0

func NewElasticache(cfg aws.Config, profile string, extraConf map[string]any, log *logger.Logger) cloud.Service

func NewEventbridge added in v1.2.0

func NewEventbridge(cfg aws.Config, profile string, extraConf map[string]any, log *logger.Logger) cloud.Service

func NewFsx added in v1.2.0

func NewFsx(cfg aws.Config, profile string, extraConf map[string]any, log *logger.Logger) cloud.Service

func NewGlobalaccelerator added in v1.2.0

func NewGlobalaccelerator(cfg aws.Config, profile string, extraConf map[string]any, log *logger.Logger) cloud.Service

func NewGlue added in v1.2.0

func NewGlue(cfg aws.Config, profile string, extraConf map[string]any, log *logger.Logger) cloud.Service

func NewInfra

func NewInfra(cfg aws.Config, profile string, extraConf map[string]any, log *logger.Logger) cloud.Service

func NewKinesis added in v1.2.0

func NewKinesis(cfg aws.Config, profile string, extraConf map[string]any, log *logger.Logger) cloud.Service

func NewLambda

func NewLambda(cfg aws.Config, profile string, extraConf map[string]any, log *logger.Logger) cloud.Service

func NewMessaging

func NewMessaging(cfg aws.Config, profile string, extraConf map[string]any, log *logger.Logger) cloud.Service

func NewMonitoring

func NewMonitoring(cfg aws.Config, profile string, extraConf map[string]any, log *logger.Logger) cloud.Service

func NewMq added in v1.2.0

func NewMq(cfg aws.Config, profile string, extraConf map[string]any, log *logger.Logger) cloud.Service

func NewMsk added in v1.2.0

func NewMsk(cfg aws.Config, profile string, extraConf map[string]any, log *logger.Logger) cloud.Service

func NewRedshift added in v1.2.0

func NewRedshift(cfg aws.Config, profile string, extraConf map[string]any, log *logger.Logger) cloud.Service

func NewSSM

func NewSSM(cfg aws.Config, profile string, extraConf map[string]any, log *logger.Logger) cloud.Service

func NewSecretsmanager

func NewSecretsmanager(cfg aws.Config, profile string, extraConf map[string]any, log *logger.Logger) cloud.Service

func NewSes added in v1.2.0

func NewSes(cfg aws.Config, profile string, extraConf map[string]any, log *logger.Logger) cloud.Service

func NewStepfunctions added in v1.2.0

func NewStepfunctions(cfg aws.Config, profile string, extraConf map[string]any, log *logger.Logger) cloud.Service

func NewStorage

func NewStorage(cfg aws.Config, profile string, extraConf map[string]any, log *logger.Logger) cloud.Service

func NewWaf added in v1.2.0

func NewWaf(cfg aws.Config, profile string, extraConf map[string]any, log *logger.Logger) cloud.Service

func ResolveRegionFromEnv

func ResolveRegionFromEnv() (region string)

func ResourceTypesPerServiceName

func ResourceTypesPerServiceName() map[string][]string

Types

type Access

type Access struct {
	IAMClient *iam.Client
	STSClient *sts.Client
	// contains filtered or unexported fields
}

func (*Access) Fetch

func (s *Access) Fetch(ctx context.Context) (cloud.GraphAPI, error)

func (*Access) FetchByType

func (s *Access) FetchByType(ctx context.Context, t string) (cloud.GraphAPI, error)

func (*Access) GetIdentity

func (s *Access) GetIdentity() (*Identity, error)

func (*Access) GetUserPolicies

func (s *Access) GetUserPolicies(username string) (*UserPolicies, error)

func (*Access) IsSyncDisabled

func (s *Access) IsSyncDisabled() bool

func (*Access) Name

func (s *Access) Name() string

func (*Access) Profile

func (s *Access) Profile() string

func (*Access) Region

func (s *Access) Region() string

func (*Access) ResourceTypes

func (s *Access) ResourceTypes() []string

type Apigateway

type Apigateway struct {
	Apigatewayv2Client *apigatewayv2.Client
	// contains filtered or unexported fields
}

func (*Apigateway) Fetch

func (s *Apigateway) Fetch(ctx context.Context) (cloud.GraphAPI, error)

func (*Apigateway) FetchByType

func (s *Apigateway) FetchByType(ctx context.Context, t string) (cloud.GraphAPI, error)

func (*Apigateway) IsSyncDisabled

func (s *Apigateway) IsSyncDisabled() bool

func (*Apigateway) Name

func (s *Apigateway) Name() string

func (*Apigateway) Profile

func (s *Apigateway) Profile() string

func (*Apigateway) Region

func (s *Apigateway) Region() string

func (*Apigateway) ResourceTypes

func (s *Apigateway) ResourceTypes() []string

type Backup added in v1.2.0

type Backup struct {
	BackupClient *backup.Client
	// contains filtered or unexported fields
}

func (*Backup) Fetch added in v1.2.0

func (s *Backup) Fetch(ctx context.Context) (cloud.GraphAPI, error)

func (*Backup) FetchByType added in v1.2.0

func (s *Backup) FetchByType(ctx context.Context, t string) (cloud.GraphAPI, error)

func (*Backup) IsSyncDisabled added in v1.2.0

func (s *Backup) IsSyncDisabled() bool

func (*Backup) Name added in v1.2.0

func (s *Backup) Name() string

func (*Backup) Profile added in v1.2.0

func (s *Backup) Profile() string

func (*Backup) Region added in v1.2.0

func (s *Backup) Region() string

func (*Backup) ResourceTypes added in v1.2.0

func (s *Backup) ResourceTypes() []string

type Beanstalk added in v1.2.0

type Beanstalk struct {
	ElasticbeanstalkClient *elasticbeanstalk.Client
	// contains filtered or unexported fields
}

func (*Beanstalk) Fetch added in v1.2.0

func (s *Beanstalk) Fetch(ctx context.Context) (cloud.GraphAPI, error)

func (*Beanstalk) FetchByType added in v1.2.0

func (s *Beanstalk) FetchByType(ctx context.Context, t string) (cloud.GraphAPI, error)

func (*Beanstalk) IsSyncDisabled added in v1.2.0

func (s *Beanstalk) IsSyncDisabled() bool

func (*Beanstalk) Name added in v1.2.0

func (s *Beanstalk) Name() string

func (*Beanstalk) Profile added in v1.2.0

func (s *Beanstalk) Profile() string

func (*Beanstalk) Region added in v1.2.0

func (s *Beanstalk) Region() string

func (*Beanstalk) ResourceTypes added in v1.2.0

func (s *Beanstalk) ResourceTypes() []string

type CDN

type CDN struct {
	CloudfrontClient *cloudfront.Client
	// contains filtered or unexported fields
}

func (*CDN) Fetch

func (s *CDN) Fetch(ctx context.Context) (cloud.GraphAPI, error)

func (*CDN) FetchByType

func (s *CDN) FetchByType(ctx context.Context, t string) (cloud.GraphAPI, error)

func (*CDN) IsSyncDisabled

func (s *CDN) IsSyncDisabled() bool

func (*CDN) Name

func (s *CDN) Name() string

func (*CDN) Profile

func (s *CDN) Profile() string

func (*CDN) Region

func (s *CDN) Region() string

func (*CDN) ResourceTypes

func (s *CDN) ResourceTypes() []string

type Cloudformation

type Cloudformation struct {
	CloudformationClient *cloudformation.Client
	// contains filtered or unexported fields
}

func (*Cloudformation) Fetch

func (s *Cloudformation) Fetch(ctx context.Context) (cloud.GraphAPI, error)

func (*Cloudformation) FetchByType

func (s *Cloudformation) FetchByType(ctx context.Context, t string) (cloud.GraphAPI, error)

func (*Cloudformation) IsSyncDisabled

func (s *Cloudformation) IsSyncDisabled() bool

func (*Cloudformation) Name

func (s *Cloudformation) Name() string

func (*Cloudformation) Profile

func (s *Cloudformation) Profile() string

func (*Cloudformation) Region

func (s *Cloudformation) Region() string

func (*Cloudformation) ResourceTypes

func (s *Cloudformation) ResourceTypes() []string

type Cloudmap added in v1.2.0

type Cloudmap struct {
	ServicediscoveryClient *servicediscovery.Client
	// contains filtered or unexported fields
}

func (*Cloudmap) Fetch added in v1.2.0

func (s *Cloudmap) Fetch(ctx context.Context) (cloud.GraphAPI, error)

func (*Cloudmap) FetchByType added in v1.2.0

func (s *Cloudmap) FetchByType(ctx context.Context, t string) (cloud.GraphAPI, error)

func (*Cloudmap) IsSyncDisabled added in v1.2.0

func (s *Cloudmap) IsSyncDisabled() bool

func (*Cloudmap) Name added in v1.2.0

func (s *Cloudmap) Name() string

func (*Cloudmap) Profile added in v1.2.0

func (s *Cloudmap) Profile() string

func (*Cloudmap) Region added in v1.2.0

func (s *Cloudmap) Region() string

func (*Cloudmap) ResourceTypes added in v1.2.0

func (s *Cloudmap) ResourceTypes() []string

type Cloudtrail

type Cloudtrail struct {
	CloudtrailClient *cloudtrail.Client
	// contains filtered or unexported fields
}

func (*Cloudtrail) Fetch

func (s *Cloudtrail) Fetch(ctx context.Context) (cloud.GraphAPI, error)

func (*Cloudtrail) FetchByType

func (s *Cloudtrail) FetchByType(ctx context.Context, t string) (cloud.GraphAPI, error)

func (*Cloudtrail) IsSyncDisabled

func (s *Cloudtrail) IsSyncDisabled() bool

func (*Cloudtrail) Name

func (s *Cloudtrail) Name() string

func (*Cloudtrail) Profile

func (s *Cloudtrail) Profile() string

func (*Cloudtrail) Region

func (s *Cloudtrail) Region() string

func (*Cloudtrail) ResourceTypes

func (s *Cloudtrail) ResourceTypes() []string

type Cloudwatchlogs

type Cloudwatchlogs struct {
	CloudwatchlogsClient *cloudwatchlogs.Client
	// contains filtered or unexported fields
}

func (*Cloudwatchlogs) Fetch

func (s *Cloudwatchlogs) Fetch(ctx context.Context) (cloud.GraphAPI, error)

func (*Cloudwatchlogs) FetchByType

func (s *Cloudwatchlogs) FetchByType(ctx context.Context, t string) (cloud.GraphAPI, error)

func (*Cloudwatchlogs) IsSyncDisabled

func (s *Cloudwatchlogs) IsSyncDisabled() bool

func (*Cloudwatchlogs) Name

func (s *Cloudwatchlogs) Name() string

func (*Cloudwatchlogs) Profile

func (s *Cloudwatchlogs) Profile() string

func (*Cloudwatchlogs) Region

func (s *Cloudwatchlogs) Region() string

func (*Cloudwatchlogs) ResourceTypes

func (s *Cloudwatchlogs) ResourceTypes() []string

type Codebuild added in v1.2.0

type Codebuild struct {
	CodebuildClient *codebuild.Client
	// contains filtered or unexported fields
}

func (*Codebuild) Fetch added in v1.2.0

func (s *Codebuild) Fetch(ctx context.Context) (cloud.GraphAPI, error)

func (*Codebuild) FetchByType added in v1.2.0

func (s *Codebuild) FetchByType(ctx context.Context, t string) (cloud.GraphAPI, error)

func (*Codebuild) IsSyncDisabled added in v1.2.0

func (s *Codebuild) IsSyncDisabled() bool

func (*Codebuild) Name added in v1.2.0

func (s *Codebuild) Name() string

func (*Codebuild) Profile added in v1.2.0

func (s *Codebuild) Profile() string

func (*Codebuild) Region added in v1.2.0

func (s *Codebuild) Region() string

func (*Codebuild) ResourceTypes added in v1.2.0

func (s *Codebuild) ResourceTypes() []string

type Codedeploy added in v1.2.0

type Codedeploy struct {
	CodedeployClient *codedeploy.Client
	// contains filtered or unexported fields
}

func (*Codedeploy) Fetch added in v1.2.0

func (s *Codedeploy) Fetch(ctx context.Context) (cloud.GraphAPI, error)

func (*Codedeploy) FetchByType added in v1.2.0

func (s *Codedeploy) FetchByType(ctx context.Context, t string) (cloud.GraphAPI, error)

func (*Codedeploy) IsSyncDisabled added in v1.2.0

func (s *Codedeploy) IsSyncDisabled() bool

func (*Codedeploy) Name added in v1.2.0

func (s *Codedeploy) Name() string

func (*Codedeploy) Profile added in v1.2.0

func (s *Codedeploy) Profile() string

func (*Codedeploy) Region added in v1.2.0

func (s *Codedeploy) Region() string

func (*Codedeploy) ResourceTypes added in v1.2.0

func (s *Codedeploy) ResourceTypes() []string

type Codepipeline added in v1.2.0

type Codepipeline struct {
	CodepipelineClient *codepipeline.Client
	// contains filtered or unexported fields
}

func (*Codepipeline) Fetch added in v1.2.0

func (s *Codepipeline) Fetch(ctx context.Context) (cloud.GraphAPI, error)

func (*Codepipeline) FetchByType added in v1.2.0

func (s *Codepipeline) FetchByType(ctx context.Context, t string) (cloud.GraphAPI, error)

func (*Codepipeline) IsSyncDisabled added in v1.2.0

func (s *Codepipeline) IsSyncDisabled() bool

func (*Codepipeline) Name added in v1.2.0

func (s *Codepipeline) Name() string

func (*Codepipeline) Profile added in v1.2.0

func (s *Codepipeline) Profile() string

func (*Codepipeline) Region added in v1.2.0

func (s *Codepipeline) Region() string

func (*Codepipeline) ResourceTypes added in v1.2.0

func (s *Codepipeline) ResourceTypes() []string

type Cognito added in v1.2.0

type Cognito struct {
	CognitoidentityproviderClient *cognitoidentityprovider.Client
	CognitoidentityClient         *cognitoidentity.Client
	// contains filtered or unexported fields
}

func (*Cognito) Fetch added in v1.2.0

func (s *Cognito) Fetch(ctx context.Context) (cloud.GraphAPI, error)

func (*Cognito) FetchByType added in v1.2.0

func (s *Cognito) FetchByType(ctx context.Context, t string) (cloud.GraphAPI, error)

func (*Cognito) IsSyncDisabled added in v1.2.0

func (s *Cognito) IsSyncDisabled() bool

func (*Cognito) Name added in v1.2.0

func (s *Cognito) Name() string

func (*Cognito) Profile added in v1.2.0

func (s *Cognito) Profile() string

func (*Cognito) Region added in v1.2.0

func (s *Cognito) Region() string

func (*Cognito) ResourceTypes added in v1.2.0

func (s *Cognito) ResourceTypes() []string

type Configservice added in v1.2.0

type Configservice struct {
	ConfigserviceClient *configservice.Client
	// contains filtered or unexported fields
}

func (*Configservice) Fetch added in v1.2.0

func (s *Configservice) Fetch(ctx context.Context) (cloud.GraphAPI, error)

func (*Configservice) FetchByType added in v1.2.0

func (s *Configservice) FetchByType(ctx context.Context, t string) (cloud.GraphAPI, error)

func (*Configservice) IsSyncDisabled added in v1.2.0

func (s *Configservice) IsSyncDisabled() bool

func (*Configservice) Name added in v1.2.0

func (s *Configservice) Name() string

func (*Configservice) Profile added in v1.2.0

func (s *Configservice) Profile() string

func (*Configservice) Region added in v1.2.0

func (s *Configservice) Region() string

func (*Configservice) ResourceTypes added in v1.2.0

func (s *Configservice) ResourceTypes() []string

type DNS

type DNS struct {
	Route53Client *route53.Client
	// contains filtered or unexported fields
}

func (*DNS) Fetch

func (s *DNS) Fetch(ctx context.Context) (cloud.GraphAPI, error)

func (*DNS) FetchByType

func (s *DNS) FetchByType(ctx context.Context, t string) (cloud.GraphAPI, error)

func (*DNS) IsSyncDisabled

func (s *DNS) IsSyncDisabled() bool

func (*DNS) Name

func (s *DNS) Name() string

func (*DNS) Profile

func (s *DNS) Profile() string

func (*DNS) Region

func (s *DNS) Region() string

func (*DNS) ResourceTypes

func (s *DNS) ResourceTypes() []string

type Dynamodb

type Dynamodb struct {
	DynamodbClient *dynamodb.Client
	// contains filtered or unexported fields
}

func (*Dynamodb) Fetch

func (s *Dynamodb) Fetch(ctx context.Context) (cloud.GraphAPI, error)

func (*Dynamodb) FetchByType

func (s *Dynamodb) FetchByType(ctx context.Context, t string) (cloud.GraphAPI, error)

func (*Dynamodb) IsSyncDisabled

func (s *Dynamodb) IsSyncDisabled() bool

func (*Dynamodb) Name

func (s *Dynamodb) Name() string

func (*Dynamodb) Profile

func (s *Dynamodb) Profile() string

func (*Dynamodb) Region

func (s *Dynamodb) Region() string

func (*Dynamodb) ResourceTypes

func (s *Dynamodb) ResourceTypes() []string

type EFS

type EFS struct {
	EFSClient *efs.Client
	// contains filtered or unexported fields
}

func (*EFS) Fetch

func (s *EFS) Fetch(ctx context.Context) (cloud.GraphAPI, error)

func (*EFS) FetchByType

func (s *EFS) FetchByType(ctx context.Context, t string) (cloud.GraphAPI, error)

func (*EFS) IsSyncDisabled

func (s *EFS) IsSyncDisabled() bool

func (*EFS) Name

func (s *EFS) Name() string

func (*EFS) Profile

func (s *EFS) Profile() string

func (*EFS) Region

func (s *EFS) Region() string

func (*EFS) ResourceTypes

func (s *EFS) ResourceTypes() []string

type EKS

type EKS struct {
	EKSClient *eks.Client
	// contains filtered or unexported fields
}

func (*EKS) Fetch

func (s *EKS) Fetch(ctx context.Context) (cloud.GraphAPI, error)

func (*EKS) FetchByType

func (s *EKS) FetchByType(ctx context.Context, t string) (cloud.GraphAPI, error)

func (*EKS) IsSyncDisabled

func (s *EKS) IsSyncDisabled() bool

func (*EKS) Name

func (s *EKS) Name() string

func (*EKS) Profile

func (s *EKS) Profile() string

func (*EKS) Region

func (s *EKS) Region() string

func (*EKS) ResourceTypes

func (s *EKS) ResourceTypes() []string

type Elasticache added in v1.2.0

type Elasticache struct {
	ElasticacheClient *elasticache.Client
	// contains filtered or unexported fields
}

func (*Elasticache) Fetch added in v1.2.0

func (s *Elasticache) Fetch(ctx context.Context) (cloud.GraphAPI, error)

func (*Elasticache) FetchByType added in v1.2.0

func (s *Elasticache) FetchByType(ctx context.Context, t string) (cloud.GraphAPI, error)

func (*Elasticache) IsSyncDisabled added in v1.2.0

func (s *Elasticache) IsSyncDisabled() bool

func (*Elasticache) Name added in v1.2.0

func (s *Elasticache) Name() string

func (*Elasticache) Profile added in v1.2.0

func (s *Elasticache) Profile() string

func (*Elasticache) Region added in v1.2.0

func (s *Elasticache) Region() string

func (*Elasticache) ResourceTypes added in v1.2.0

func (s *Elasticache) ResourceTypes() []string

type Eventbridge added in v1.2.0

type Eventbridge struct {
	EventbridgeClient *eventbridge.Client
	// contains filtered or unexported fields
}

func (*Eventbridge) Fetch added in v1.2.0

func (s *Eventbridge) Fetch(ctx context.Context) (cloud.GraphAPI, error)

func (*Eventbridge) FetchByType added in v1.2.0

func (s *Eventbridge) FetchByType(ctx context.Context, t string) (cloud.GraphAPI, error)

func (*Eventbridge) IsSyncDisabled added in v1.2.0

func (s *Eventbridge) IsSyncDisabled() bool

func (*Eventbridge) Name added in v1.2.0

func (s *Eventbridge) Name() string

func (*Eventbridge) Profile added in v1.2.0

func (s *Eventbridge) Profile() string

func (*Eventbridge) Region added in v1.2.0

func (s *Eventbridge) Region() string

func (*Eventbridge) ResourceTypes added in v1.2.0

func (s *Eventbridge) ResourceTypes() []string

type Fsx added in v1.2.0

type Fsx struct {
	FsxClient *fsx.Client
	// contains filtered or unexported fields
}

func (*Fsx) Fetch added in v1.2.0

func (s *Fsx) Fetch(ctx context.Context) (cloud.GraphAPI, error)

func (*Fsx) FetchByType added in v1.2.0

func (s *Fsx) FetchByType(ctx context.Context, t string) (cloud.GraphAPI, error)

func (*Fsx) IsSyncDisabled added in v1.2.0

func (s *Fsx) IsSyncDisabled() bool

func (*Fsx) Name added in v1.2.0

func (s *Fsx) Name() string

func (*Fsx) Profile added in v1.2.0

func (s *Fsx) Profile() string

func (*Fsx) Region added in v1.2.0

func (s *Fsx) Region() string

func (*Fsx) ResourceTypes added in v1.2.0

func (s *Fsx) ResourceTypes() []string

type Globalaccelerator added in v1.2.0

type Globalaccelerator struct {
	GlobalacceleratorClient *globalaccelerator.Client
	// contains filtered or unexported fields
}

func (*Globalaccelerator) Fetch added in v1.2.0

func (*Globalaccelerator) FetchByType added in v1.2.0

func (s *Globalaccelerator) FetchByType(ctx context.Context, t string) (cloud.GraphAPI, error)

func (*Globalaccelerator) IsSyncDisabled added in v1.2.0

func (s *Globalaccelerator) IsSyncDisabled() bool

func (*Globalaccelerator) Name added in v1.2.0

func (s *Globalaccelerator) Name() string

func (*Globalaccelerator) Profile added in v1.2.0

func (s *Globalaccelerator) Profile() string

func (*Globalaccelerator) Region added in v1.2.0

func (s *Globalaccelerator) Region() string

func (*Globalaccelerator) ResourceTypes added in v1.2.0

func (s *Globalaccelerator) ResourceTypes() []string

type Glue added in v1.2.0

type Glue struct {
	GlueClient *glue.Client
	// contains filtered or unexported fields
}

func (*Glue) Fetch added in v1.2.0

func (s *Glue) Fetch(ctx context.Context) (cloud.GraphAPI, error)

func (*Glue) FetchByType added in v1.2.0

func (s *Glue) FetchByType(ctx context.Context, t string) (cloud.GraphAPI, error)

func (*Glue) IsSyncDisabled added in v1.2.0

func (s *Glue) IsSyncDisabled() bool

func (*Glue) Name added in v1.2.0

func (s *Glue) Name() string

func (*Glue) Profile added in v1.2.0

func (s *Glue) Profile() string

func (*Glue) Region added in v1.2.0

func (s *Glue) Region() string

func (*Glue) ResourceTypes added in v1.2.0

func (s *Glue) ResourceTypes() []string

type Identity

type Identity struct {
	Account, Arn, UserID, ResourceType, ResourcePath, Resource string
}

func (*Identity) IsRoot

func (i *Identity) IsRoot() bool

func (*Identity) IsUserType

func (i *Identity) IsUserType() bool

type Infra

type Infra struct {
	Ec2Client                    *ec2.Client
	Elbv2Client                  *elbv2.Client
	ElbClient                    *elb.Client
	RDSClient                    *rds.Client
	AutoscalingClient            *autoscaling.Client
	ECRClient                    *ecr.Client
	ECSClient                    *ecs.Client
	ApplicationautoscalingClient *applicationautoscaling.Client
	ACMClient                    *acm.Client
	// contains filtered or unexported fields
}

func (*Infra) Fetch

func (s *Infra) Fetch(ctx context.Context) (cloud.GraphAPI, error)

func (*Infra) FetchByType

func (s *Infra) FetchByType(ctx context.Context, t string) (cloud.GraphAPI, error)

func (*Infra) IsSyncDisabled

func (s *Infra) IsSyncDisabled() bool

func (*Infra) Name

func (s *Infra) Name() string

func (*Infra) Profile

func (s *Infra) Profile() string

func (*Infra) Region

func (s *Infra) Region() string

func (*Infra) ResourceTypes

func (s *Infra) ResourceTypes() []string

type Kinesis added in v1.2.0

type Kinesis struct {
	KinesisClient *kinesis.Client
	// contains filtered or unexported fields
}

func (*Kinesis) Fetch added in v1.2.0

func (s *Kinesis) Fetch(ctx context.Context) (cloud.GraphAPI, error)

func (*Kinesis) FetchByType added in v1.2.0

func (s *Kinesis) FetchByType(ctx context.Context, t string) (cloud.GraphAPI, error)

func (*Kinesis) IsSyncDisabled added in v1.2.0

func (s *Kinesis) IsSyncDisabled() bool

func (*Kinesis) Name added in v1.2.0

func (s *Kinesis) Name() string

func (*Kinesis) Profile added in v1.2.0

func (s *Kinesis) Profile() string

func (*Kinesis) Region added in v1.2.0

func (s *Kinesis) Region() string

func (*Kinesis) ResourceTypes added in v1.2.0

func (s *Kinesis) ResourceTypes() []string

type Lambda

type Lambda struct {
	LambdaClient *lambda.Client
	// contains filtered or unexported fields
}

func (*Lambda) Fetch

func (s *Lambda) Fetch(ctx context.Context) (cloud.GraphAPI, error)

func (*Lambda) FetchByType

func (s *Lambda) FetchByType(ctx context.Context, t string) (cloud.GraphAPI, error)

func (*Lambda) IsSyncDisabled

func (s *Lambda) IsSyncDisabled() bool

func (*Lambda) Name

func (s *Lambda) Name() string

func (*Lambda) Profile

func (s *Lambda) Profile() string

func (*Lambda) Region

func (s *Lambda) Region() string

func (*Lambda) ResourceTypes

func (s *Lambda) ResourceTypes() []string

type Messaging

type Messaging struct {
	SNSClient *sns.Client
	SQSClient *sqs.Client
	// contains filtered or unexported fields
}

func (*Messaging) Fetch

func (s *Messaging) Fetch(ctx context.Context) (cloud.GraphAPI, error)

func (*Messaging) FetchByType

func (s *Messaging) FetchByType(ctx context.Context, t string) (cloud.GraphAPI, error)

func (*Messaging) IsSyncDisabled

func (s *Messaging) IsSyncDisabled() bool

func (*Messaging) Name

func (s *Messaging) Name() string

func (*Messaging) Profile

func (s *Messaging) Profile() string

func (*Messaging) Region

func (s *Messaging) Region() string

func (*Messaging) ResourceTypes

func (s *Messaging) ResourceTypes() []string

type Monitoring

type Monitoring struct {
	CloudwatchClient *cloudwatch.Client
	// contains filtered or unexported fields
}

func (*Monitoring) Fetch

func (s *Monitoring) Fetch(ctx context.Context) (cloud.GraphAPI, error)

func (*Monitoring) FetchByType

func (s *Monitoring) FetchByType(ctx context.Context, t string) (cloud.GraphAPI, error)

func (*Monitoring) IsSyncDisabled

func (s *Monitoring) IsSyncDisabled() bool

func (*Monitoring) Name

func (s *Monitoring) Name() string

func (*Monitoring) Profile

func (s *Monitoring) Profile() string

func (*Monitoring) Region

func (s *Monitoring) Region() string

func (*Monitoring) ResourceTypes

func (s *Monitoring) ResourceTypes() []string

type Mq added in v1.2.0

type Mq struct {
	MqClient *mq.Client
	// contains filtered or unexported fields
}

func (*Mq) Fetch added in v1.2.0

func (s *Mq) Fetch(ctx context.Context) (cloud.GraphAPI, error)

func (*Mq) FetchByType added in v1.2.0

func (s *Mq) FetchByType(ctx context.Context, t string) (cloud.GraphAPI, error)

func (*Mq) IsSyncDisabled added in v1.2.0

func (s *Mq) IsSyncDisabled() bool

func (*Mq) Name added in v1.2.0

func (s *Mq) Name() string

func (*Mq) Profile added in v1.2.0

func (s *Mq) Profile() string

func (*Mq) Region added in v1.2.0

func (s *Mq) Region() string

func (*Mq) ResourceTypes added in v1.2.0

func (s *Mq) ResourceTypes() []string

type Msk added in v1.2.0

type Msk struct {
	KafkaClient *kafka.Client
	// contains filtered or unexported fields
}

func (*Msk) Fetch added in v1.2.0

func (s *Msk) Fetch(ctx context.Context) (cloud.GraphAPI, error)

func (*Msk) FetchByType added in v1.2.0

func (s *Msk) FetchByType(ctx context.Context, t string) (cloud.GraphAPI, error)

func (*Msk) IsSyncDisabled added in v1.2.0

func (s *Msk) IsSyncDisabled() bool

func (*Msk) Name added in v1.2.0

func (s *Msk) Name() string

func (*Msk) Profile added in v1.2.0

func (s *Msk) Profile() string

func (*Msk) Region added in v1.2.0

func (s *Msk) Region() string

func (*Msk) ResourceTypes added in v1.2.0

func (s *Msk) ResourceTypes() []string

type NetworkMonitor

type NetworkMonitor struct {
	// contains filtered or unexported fields
}

func (*NetworkMonitor) AddRequest

func (n *NetworkMonitor) AddRequest(name string)

func (*NetworkMonitor) DisplayStats

func (n *NetworkMonitor) DisplayStats(w io.Writer)

func (*NetworkMonitor) SetRequestEnd

func (n *NetworkMonitor) SetRequestEnd(name string)

type Redshift added in v1.2.0

type Redshift struct {
	RedshiftClient *redshift.Client
	// contains filtered or unexported fields
}

func (*Redshift) Fetch added in v1.2.0

func (s *Redshift) Fetch(ctx context.Context) (cloud.GraphAPI, error)

func (*Redshift) FetchByType added in v1.2.0

func (s *Redshift) FetchByType(ctx context.Context, t string) (cloud.GraphAPI, error)

func (*Redshift) IsSyncDisabled added in v1.2.0

func (s *Redshift) IsSyncDisabled() bool

func (*Redshift) Name added in v1.2.0

func (s *Redshift) Name() string

func (*Redshift) Profile added in v1.2.0

func (s *Redshift) Profile() string

func (*Redshift) Region added in v1.2.0

func (s *Redshift) Region() string

func (*Redshift) ResourceTypes added in v1.2.0

func (s *Redshift) ResourceTypes() []string

type SSM

type SSM struct {
	SSMClient *ssm.Client
	// contains filtered or unexported fields
}

func (*SSM) Fetch

func (s *SSM) Fetch(ctx context.Context) (cloud.GraphAPI, error)

func (*SSM) FetchByType

func (s *SSM) FetchByType(ctx context.Context, t string) (cloud.GraphAPI, error)

func (*SSM) IsSyncDisabled

func (s *SSM) IsSyncDisabled() bool

func (*SSM) Name

func (s *SSM) Name() string

func (*SSM) Profile

func (s *SSM) Profile() string

func (*SSM) Region

func (s *SSM) Region() string

func (*SSM) ResourceTypes

func (s *SSM) ResourceTypes() []string

type Secretsmanager

type Secretsmanager struct {
	SecretsmanagerClient *secretsmanager.Client
	KMSClient            *kms.Client
	// contains filtered or unexported fields
}

func (*Secretsmanager) Fetch

func (s *Secretsmanager) Fetch(ctx context.Context) (cloud.GraphAPI, error)

func (*Secretsmanager) FetchByType

func (s *Secretsmanager) FetchByType(ctx context.Context, t string) (cloud.GraphAPI, error)

func (*Secretsmanager) IsSyncDisabled

func (s *Secretsmanager) IsSyncDisabled() bool

func (*Secretsmanager) Name

func (s *Secretsmanager) Name() string

func (*Secretsmanager) Profile

func (s *Secretsmanager) Profile() string

func (*Secretsmanager) Region

func (s *Secretsmanager) Region() string

func (*Secretsmanager) ResourceTypes

func (s *Secretsmanager) ResourceTypes() []string

type Ses added in v1.2.0

type Ses struct {
	Sesv2Client *sesv2.Client
	// contains filtered or unexported fields
}

func (*Ses) Fetch added in v1.2.0

func (s *Ses) Fetch(ctx context.Context) (cloud.GraphAPI, error)

func (*Ses) FetchByType added in v1.2.0

func (s *Ses) FetchByType(ctx context.Context, t string) (cloud.GraphAPI, error)

func (*Ses) IsSyncDisabled added in v1.2.0

func (s *Ses) IsSyncDisabled() bool

func (*Ses) Name added in v1.2.0

func (s *Ses) Name() string

func (*Ses) Profile added in v1.2.0

func (s *Ses) Profile() string

func (*Ses) Region added in v1.2.0

func (s *Ses) Region() string

func (*Ses) ResourceTypes added in v1.2.0

func (s *Ses) ResourceTypes() []string

type Stepfunctions added in v1.2.0

type Stepfunctions struct {
	SfnClient *sfn.Client
	// contains filtered or unexported fields
}

func (*Stepfunctions) Fetch added in v1.2.0

func (s *Stepfunctions) Fetch(ctx context.Context) (cloud.GraphAPI, error)

func (*Stepfunctions) FetchByType added in v1.2.0

func (s *Stepfunctions) FetchByType(ctx context.Context, t string) (cloud.GraphAPI, error)

func (*Stepfunctions) IsSyncDisabled added in v1.2.0

func (s *Stepfunctions) IsSyncDisabled() bool

func (*Stepfunctions) Name added in v1.2.0

func (s *Stepfunctions) Name() string

func (*Stepfunctions) Profile added in v1.2.0

func (s *Stepfunctions) Profile() string

func (*Stepfunctions) Region added in v1.2.0

func (s *Stepfunctions) Region() string

func (*Stepfunctions) ResourceTypes added in v1.2.0

func (s *Stepfunctions) ResourceTypes() []string

type Storage

type Storage struct {
	S3Client *s3.Client
	// contains filtered or unexported fields
}

func (*Storage) Fetch

func (s *Storage) Fetch(ctx context.Context) (cloud.GraphAPI, error)

func (*Storage) FetchByType

func (s *Storage) FetchByType(ctx context.Context, t string) (cloud.GraphAPI, error)

func (*Storage) IsSyncDisabled

func (s *Storage) IsSyncDisabled() bool

func (*Storage) Name

func (s *Storage) Name() string

func (*Storage) Profile

func (s *Storage) Profile() string

func (*Storage) Region

func (s *Storage) Region() string

func (*Storage) ResourceTypes

func (s *Storage) ResourceTypes() []string

type UserPolicies

type UserPolicies struct {
	Username string
	Inlined  []string
	Attached []string
	ByGroup  map[string][]string
}

type Waf added in v1.2.0

type Waf struct {
	Wafv2Client *wafv2.Client
	// contains filtered or unexported fields
}

func (*Waf) Fetch added in v1.2.0

func (s *Waf) Fetch(ctx context.Context) (cloud.GraphAPI, error)

func (*Waf) FetchByType added in v1.2.0

func (s *Waf) FetchByType(ctx context.Context, t string) (cloud.GraphAPI, error)

func (*Waf) IsSyncDisabled added in v1.2.0

func (s *Waf) IsSyncDisabled() bool

func (*Waf) Name added in v1.2.0

func (s *Waf) Name() string

func (*Waf) Profile added in v1.2.0

func (s *Waf) Profile() string

func (*Waf) Region added in v1.2.0

func (s *Waf) Region() string

func (*Waf) ResourceTypes added in v1.2.0

func (s *Waf) ResourceTypes() []string

Jump to

Keyboard shortcuts

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