Documentation
¶
Index ¶
- Constants
- Variables
- func GetCloudServicesForAPIs(apis ...string) (services []cloud.Service)
- func GetCloudServicesForTypes(types ...string) (services []cloud.Service)
- func Init(profile, region string, extraConf map[string]any, log *logger.Logger, ...) error
- func NewAccess(cfg aws.Config, profile string, extraConf map[string]any, log *logger.Logger) cloud.Service
- func NewApigateway(cfg aws.Config, profile string, extraConf map[string]any, log *logger.Logger) cloud.Service
- func NewBackup(cfg aws.Config, profile string, extraConf map[string]any, log *logger.Logger) cloud.Service
- func NewBeanstalk(cfg aws.Config, profile string, extraConf map[string]any, log *logger.Logger) cloud.Service
- func NewCDN(cfg aws.Config, profile string, extraConf map[string]any, log *logger.Logger) cloud.Service
- func NewCloudformation(cfg aws.Config, profile string, extraConf map[string]any, log *logger.Logger) cloud.Service
- func NewCloudmap(cfg aws.Config, profile string, extraConf map[string]any, log *logger.Logger) cloud.Service
- func NewCloudtrail(cfg aws.Config, profile string, extraConf map[string]any, log *logger.Logger) cloud.Service
- func NewCloudwatchlogs(cfg aws.Config, profile string, extraConf map[string]any, log *logger.Logger) cloud.Service
- func NewCodebuild(cfg aws.Config, profile string, extraConf map[string]any, log *logger.Logger) cloud.Service
- func NewCodedeploy(cfg aws.Config, profile string, extraConf map[string]any, log *logger.Logger) cloud.Service
- func NewCodepipeline(cfg aws.Config, profile string, extraConf map[string]any, log *logger.Logger) cloud.Service
- func NewCognito(cfg aws.Config, profile string, extraConf map[string]any, log *logger.Logger) cloud.Service
- func NewConfigservice(cfg aws.Config, profile string, extraConf map[string]any, log *logger.Logger) cloud.Service
- func NewDNS(cfg aws.Config, profile string, extraConf map[string]any, log *logger.Logger) cloud.Service
- func NewDynamodb(cfg aws.Config, profile string, extraConf map[string]any, log *logger.Logger) cloud.Service
- func NewEFS(cfg aws.Config, profile string, extraConf map[string]any, log *logger.Logger) cloud.Service
- func NewEKS(cfg aws.Config, profile string, extraConf map[string]any, log *logger.Logger) cloud.Service
- func NewElasticache(cfg aws.Config, profile string, extraConf map[string]any, log *logger.Logger) cloud.Service
- func NewEventbridge(cfg aws.Config, profile string, extraConf map[string]any, log *logger.Logger) cloud.Service
- func NewFsx(cfg aws.Config, profile string, extraConf map[string]any, log *logger.Logger) cloud.Service
- func NewGlobalaccelerator(cfg aws.Config, profile string, extraConf map[string]any, log *logger.Logger) cloud.Service
- func NewGlue(cfg aws.Config, profile string, extraConf map[string]any, log *logger.Logger) cloud.Service
- func NewInfra(cfg aws.Config, profile string, extraConf map[string]any, log *logger.Logger) cloud.Service
- func NewKinesis(cfg aws.Config, profile string, extraConf map[string]any, log *logger.Logger) cloud.Service
- func NewLambda(cfg aws.Config, profile string, extraConf map[string]any, log *logger.Logger) cloud.Service
- func NewMessaging(cfg aws.Config, profile string, extraConf map[string]any, log *logger.Logger) cloud.Service
- func NewMonitoring(cfg aws.Config, profile string, extraConf map[string]any, log *logger.Logger) cloud.Service
- func NewMq(cfg aws.Config, profile string, extraConf map[string]any, log *logger.Logger) cloud.Service
- func NewMsk(cfg aws.Config, profile string, extraConf map[string]any, log *logger.Logger) cloud.Service
- func NewRedshift(cfg aws.Config, profile string, extraConf map[string]any, log *logger.Logger) cloud.Service
- func NewSSM(cfg aws.Config, profile string, extraConf map[string]any, log *logger.Logger) cloud.Service
- func NewSecretsmanager(cfg aws.Config, profile string, extraConf map[string]any, log *logger.Logger) cloud.Service
- func NewSes(cfg aws.Config, profile string, extraConf map[string]any, log *logger.Logger) cloud.Service
- func NewStepfunctions(cfg aws.Config, profile string, extraConf map[string]any, log *logger.Logger) cloud.Service
- func NewStorage(cfg aws.Config, profile string, extraConf map[string]any, log *logger.Logger) cloud.Service
- func NewWaf(cfg aws.Config, profile string, extraConf map[string]any, log *logger.Logger) cloud.Service
- func ResolveRegionFromEnv() (region string)
- func ResourceTypesPerServiceName() map[string][]string
- type Access
- func (s *Access) Fetch(ctx context.Context) (cloud.GraphAPI, error)
- func (s *Access) FetchByType(ctx context.Context, t string) (cloud.GraphAPI, error)
- func (s *Access) GetIdentity() (*Identity, error)
- func (s *Access) GetUserPolicies(username string) (*UserPolicies, error)
- func (s *Access) IsSyncDisabled() bool
- func (s *Access) Name() string
- func (s *Access) Profile() string
- func (s *Access) Region() string
- func (s *Access) ResourceTypes() []string
- type Apigateway
- func (s *Apigateway) Fetch(ctx context.Context) (cloud.GraphAPI, error)
- func (s *Apigateway) FetchByType(ctx context.Context, t string) (cloud.GraphAPI, error)
- func (s *Apigateway) IsSyncDisabled() bool
- func (s *Apigateway) Name() string
- func (s *Apigateway) Profile() string
- func (s *Apigateway) Region() string
- func (s *Apigateway) ResourceTypes() []string
- type Backup
- func (s *Backup) Fetch(ctx context.Context) (cloud.GraphAPI, error)
- func (s *Backup) FetchByType(ctx context.Context, t string) (cloud.GraphAPI, error)
- func (s *Backup) IsSyncDisabled() bool
- func (s *Backup) Name() string
- func (s *Backup) Profile() string
- func (s *Backup) Region() string
- func (s *Backup) ResourceTypes() []string
- type Beanstalk
- func (s *Beanstalk) Fetch(ctx context.Context) (cloud.GraphAPI, error)
- func (s *Beanstalk) FetchByType(ctx context.Context, t string) (cloud.GraphAPI, error)
- func (s *Beanstalk) IsSyncDisabled() bool
- func (s *Beanstalk) Name() string
- func (s *Beanstalk) Profile() string
- func (s *Beanstalk) Region() string
- func (s *Beanstalk) ResourceTypes() []string
- type CDN
- func (s *CDN) Fetch(ctx context.Context) (cloud.GraphAPI, error)
- func (s *CDN) FetchByType(ctx context.Context, t string) (cloud.GraphAPI, error)
- func (s *CDN) IsSyncDisabled() bool
- func (s *CDN) Name() string
- func (s *CDN) Profile() string
- func (s *CDN) Region() string
- func (s *CDN) ResourceTypes() []string
- type Cloudformation
- func (s *Cloudformation) Fetch(ctx context.Context) (cloud.GraphAPI, error)
- func (s *Cloudformation) FetchByType(ctx context.Context, t string) (cloud.GraphAPI, error)
- func (s *Cloudformation) IsSyncDisabled() bool
- func (s *Cloudformation) Name() string
- func (s *Cloudformation) Profile() string
- func (s *Cloudformation) Region() string
- func (s *Cloudformation) ResourceTypes() []string
- type Cloudmap
- func (s *Cloudmap) Fetch(ctx context.Context) (cloud.GraphAPI, error)
- func (s *Cloudmap) FetchByType(ctx context.Context, t string) (cloud.GraphAPI, error)
- func (s *Cloudmap) IsSyncDisabled() bool
- func (s *Cloudmap) Name() string
- func (s *Cloudmap) Profile() string
- func (s *Cloudmap) Region() string
- func (s *Cloudmap) ResourceTypes() []string
- type Cloudtrail
- func (s *Cloudtrail) Fetch(ctx context.Context) (cloud.GraphAPI, error)
- func (s *Cloudtrail) FetchByType(ctx context.Context, t string) (cloud.GraphAPI, error)
- func (s *Cloudtrail) IsSyncDisabled() bool
- func (s *Cloudtrail) Name() string
- func (s *Cloudtrail) Profile() string
- func (s *Cloudtrail) Region() string
- func (s *Cloudtrail) ResourceTypes() []string
- type Cloudwatchlogs
- func (s *Cloudwatchlogs) Fetch(ctx context.Context) (cloud.GraphAPI, error)
- func (s *Cloudwatchlogs) FetchByType(ctx context.Context, t string) (cloud.GraphAPI, error)
- func (s *Cloudwatchlogs) IsSyncDisabled() bool
- func (s *Cloudwatchlogs) Name() string
- func (s *Cloudwatchlogs) Profile() string
- func (s *Cloudwatchlogs) Region() string
- func (s *Cloudwatchlogs) ResourceTypes() []string
- type Codebuild
- func (s *Codebuild) Fetch(ctx context.Context) (cloud.GraphAPI, error)
- func (s *Codebuild) FetchByType(ctx context.Context, t string) (cloud.GraphAPI, error)
- func (s *Codebuild) IsSyncDisabled() bool
- func (s *Codebuild) Name() string
- func (s *Codebuild) Profile() string
- func (s *Codebuild) Region() string
- func (s *Codebuild) ResourceTypes() []string
- type Codedeploy
- func (s *Codedeploy) Fetch(ctx context.Context) (cloud.GraphAPI, error)
- func (s *Codedeploy) FetchByType(ctx context.Context, t string) (cloud.GraphAPI, error)
- func (s *Codedeploy) IsSyncDisabled() bool
- func (s *Codedeploy) Name() string
- func (s *Codedeploy) Profile() string
- func (s *Codedeploy) Region() string
- func (s *Codedeploy) ResourceTypes() []string
- type Codepipeline
- func (s *Codepipeline) Fetch(ctx context.Context) (cloud.GraphAPI, error)
- func (s *Codepipeline) FetchByType(ctx context.Context, t string) (cloud.GraphAPI, error)
- func (s *Codepipeline) IsSyncDisabled() bool
- func (s *Codepipeline) Name() string
- func (s *Codepipeline) Profile() string
- func (s *Codepipeline) Region() string
- func (s *Codepipeline) ResourceTypes() []string
- type Cognito
- func (s *Cognito) Fetch(ctx context.Context) (cloud.GraphAPI, error)
- func (s *Cognito) FetchByType(ctx context.Context, t string) (cloud.GraphAPI, error)
- func (s *Cognito) IsSyncDisabled() bool
- func (s *Cognito) Name() string
- func (s *Cognito) Profile() string
- func (s *Cognito) Region() string
- func (s *Cognito) ResourceTypes() []string
- type Configservice
- func (s *Configservice) Fetch(ctx context.Context) (cloud.GraphAPI, error)
- func (s *Configservice) FetchByType(ctx context.Context, t string) (cloud.GraphAPI, error)
- func (s *Configservice) IsSyncDisabled() bool
- func (s *Configservice) Name() string
- func (s *Configservice) Profile() string
- func (s *Configservice) Region() string
- func (s *Configservice) ResourceTypes() []string
- type DNS
- func (s *DNS) Fetch(ctx context.Context) (cloud.GraphAPI, error)
- func (s *DNS) FetchByType(ctx context.Context, t string) (cloud.GraphAPI, error)
- func (s *DNS) IsSyncDisabled() bool
- func (s *DNS) Name() string
- func (s *DNS) Profile() string
- func (s *DNS) Region() string
- func (s *DNS) ResourceTypes() []string
- type Dynamodb
- func (s *Dynamodb) Fetch(ctx context.Context) (cloud.GraphAPI, error)
- func (s *Dynamodb) FetchByType(ctx context.Context, t string) (cloud.GraphAPI, error)
- func (s *Dynamodb) IsSyncDisabled() bool
- func (s *Dynamodb) Name() string
- func (s *Dynamodb) Profile() string
- func (s *Dynamodb) Region() string
- func (s *Dynamodb) ResourceTypes() []string
- type EFS
- func (s *EFS) Fetch(ctx context.Context) (cloud.GraphAPI, error)
- func (s *EFS) FetchByType(ctx context.Context, t string) (cloud.GraphAPI, error)
- func (s *EFS) IsSyncDisabled() bool
- func (s *EFS) Name() string
- func (s *EFS) Profile() string
- func (s *EFS) Region() string
- func (s *EFS) ResourceTypes() []string
- type EKS
- func (s *EKS) Fetch(ctx context.Context) (cloud.GraphAPI, error)
- func (s *EKS) FetchByType(ctx context.Context, t string) (cloud.GraphAPI, error)
- func (s *EKS) IsSyncDisabled() bool
- func (s *EKS) Name() string
- func (s *EKS) Profile() string
- func (s *EKS) Region() string
- func (s *EKS) ResourceTypes() []string
- type Elasticache
- func (s *Elasticache) Fetch(ctx context.Context) (cloud.GraphAPI, error)
- func (s *Elasticache) FetchByType(ctx context.Context, t string) (cloud.GraphAPI, error)
- func (s *Elasticache) IsSyncDisabled() bool
- func (s *Elasticache) Name() string
- func (s *Elasticache) Profile() string
- func (s *Elasticache) Region() string
- func (s *Elasticache) ResourceTypes() []string
- type Eventbridge
- func (s *Eventbridge) Fetch(ctx context.Context) (cloud.GraphAPI, error)
- func (s *Eventbridge) FetchByType(ctx context.Context, t string) (cloud.GraphAPI, error)
- func (s *Eventbridge) IsSyncDisabled() bool
- func (s *Eventbridge) Name() string
- func (s *Eventbridge) Profile() string
- func (s *Eventbridge) Region() string
- func (s *Eventbridge) ResourceTypes() []string
- type Fsx
- func (s *Fsx) Fetch(ctx context.Context) (cloud.GraphAPI, error)
- func (s *Fsx) FetchByType(ctx context.Context, t string) (cloud.GraphAPI, error)
- func (s *Fsx) IsSyncDisabled() bool
- func (s *Fsx) Name() string
- func (s *Fsx) Profile() string
- func (s *Fsx) Region() string
- func (s *Fsx) ResourceTypes() []string
- type Globalaccelerator
- func (s *Globalaccelerator) Fetch(ctx context.Context) (cloud.GraphAPI, error)
- func (s *Globalaccelerator) FetchByType(ctx context.Context, t string) (cloud.GraphAPI, error)
- func (s *Globalaccelerator) IsSyncDisabled() bool
- func (s *Globalaccelerator) Name() string
- func (s *Globalaccelerator) Profile() string
- func (s *Globalaccelerator) Region() string
- func (s *Globalaccelerator) ResourceTypes() []string
- type Glue
- func (s *Glue) Fetch(ctx context.Context) (cloud.GraphAPI, error)
- func (s *Glue) FetchByType(ctx context.Context, t string) (cloud.GraphAPI, error)
- func (s *Glue) IsSyncDisabled() bool
- func (s *Glue) Name() string
- func (s *Glue) Profile() string
- func (s *Glue) Region() string
- func (s *Glue) ResourceTypes() []string
- type Identity
- type Infra
- func (s *Infra) Fetch(ctx context.Context) (cloud.GraphAPI, error)
- func (s *Infra) FetchByType(ctx context.Context, t string) (cloud.GraphAPI, error)
- func (s *Infra) IsSyncDisabled() bool
- func (s *Infra) Name() string
- func (s *Infra) Profile() string
- func (s *Infra) Region() string
- func (s *Infra) ResourceTypes() []string
- type Kinesis
- func (s *Kinesis) Fetch(ctx context.Context) (cloud.GraphAPI, error)
- func (s *Kinesis) FetchByType(ctx context.Context, t string) (cloud.GraphAPI, error)
- func (s *Kinesis) IsSyncDisabled() bool
- func (s *Kinesis) Name() string
- func (s *Kinesis) Profile() string
- func (s *Kinesis) Region() string
- func (s *Kinesis) ResourceTypes() []string
- type Lambda
- func (s *Lambda) Fetch(ctx context.Context) (cloud.GraphAPI, error)
- func (s *Lambda) FetchByType(ctx context.Context, t string) (cloud.GraphAPI, error)
- func (s *Lambda) IsSyncDisabled() bool
- func (s *Lambda) Name() string
- func (s *Lambda) Profile() string
- func (s *Lambda) Region() string
- func (s *Lambda) ResourceTypes() []string
- type Messaging
- func (s *Messaging) Fetch(ctx context.Context) (cloud.GraphAPI, error)
- func (s *Messaging) FetchByType(ctx context.Context, t string) (cloud.GraphAPI, error)
- func (s *Messaging) IsSyncDisabled() bool
- func (s *Messaging) Name() string
- func (s *Messaging) Profile() string
- func (s *Messaging) Region() string
- func (s *Messaging) ResourceTypes() []string
- type Monitoring
- func (s *Monitoring) Fetch(ctx context.Context) (cloud.GraphAPI, error)
- func (s *Monitoring) FetchByType(ctx context.Context, t string) (cloud.GraphAPI, error)
- func (s *Monitoring) IsSyncDisabled() bool
- func (s *Monitoring) Name() string
- func (s *Monitoring) Profile() string
- func (s *Monitoring) Region() string
- func (s *Monitoring) ResourceTypes() []string
- type Mq
- func (s *Mq) Fetch(ctx context.Context) (cloud.GraphAPI, error)
- func (s *Mq) FetchByType(ctx context.Context, t string) (cloud.GraphAPI, error)
- func (s *Mq) IsSyncDisabled() bool
- func (s *Mq) Name() string
- func (s *Mq) Profile() string
- func (s *Mq) Region() string
- func (s *Mq) ResourceTypes() []string
- type Msk
- func (s *Msk) Fetch(ctx context.Context) (cloud.GraphAPI, error)
- func (s *Msk) FetchByType(ctx context.Context, t string) (cloud.GraphAPI, error)
- func (s *Msk) IsSyncDisabled() bool
- func (s *Msk) Name() string
- func (s *Msk) Profile() string
- func (s *Msk) Region() string
- func (s *Msk) ResourceTypes() []string
- type NetworkMonitor
- type Redshift
- func (s *Redshift) Fetch(ctx context.Context) (cloud.GraphAPI, error)
- func (s *Redshift) FetchByType(ctx context.Context, t string) (cloud.GraphAPI, error)
- func (s *Redshift) IsSyncDisabled() bool
- func (s *Redshift) Name() string
- func (s *Redshift) Profile() string
- func (s *Redshift) Region() string
- func (s *Redshift) ResourceTypes() []string
- type SSM
- func (s *SSM) Fetch(ctx context.Context) (cloud.GraphAPI, error)
- func (s *SSM) FetchByType(ctx context.Context, t string) (cloud.GraphAPI, error)
- func (s *SSM) IsSyncDisabled() bool
- func (s *SSM) Name() string
- func (s *SSM) Profile() string
- func (s *SSM) Region() string
- func (s *SSM) ResourceTypes() []string
- type Secretsmanager
- func (s *Secretsmanager) Fetch(ctx context.Context) (cloud.GraphAPI, error)
- func (s *Secretsmanager) FetchByType(ctx context.Context, t string) (cloud.GraphAPI, error)
- func (s *Secretsmanager) IsSyncDisabled() bool
- func (s *Secretsmanager) Name() string
- func (s *Secretsmanager) Profile() string
- func (s *Secretsmanager) Region() string
- func (s *Secretsmanager) ResourceTypes() []string
- type Ses
- func (s *Ses) Fetch(ctx context.Context) (cloud.GraphAPI, error)
- func (s *Ses) FetchByType(ctx context.Context, t string) (cloud.GraphAPI, error)
- func (s *Ses) IsSyncDisabled() bool
- func (s *Ses) Name() string
- func (s *Ses) Profile() string
- func (s *Ses) Region() string
- func (s *Ses) ResourceTypes() []string
- type Stepfunctions
- func (s *Stepfunctions) Fetch(ctx context.Context) (cloud.GraphAPI, error)
- func (s *Stepfunctions) FetchByType(ctx context.Context, t string) (cloud.GraphAPI, error)
- func (s *Stepfunctions) IsSyncDisabled() bool
- func (s *Stepfunctions) Name() string
- func (s *Stepfunctions) Profile() string
- func (s *Stepfunctions) Region() string
- func (s *Stepfunctions) ResourceTypes() []string
- type Storage
- func (s *Storage) Fetch(ctx context.Context) (cloud.GraphAPI, error)
- func (s *Storage) FetchByType(ctx context.Context, t string) (cloud.GraphAPI, error)
- func (s *Storage) IsSyncDisabled() bool
- func (s *Storage) Name() string
- func (s *Storage) Profile() string
- func (s *Storage) Region() string
- func (s *Storage) ResourceTypes() []string
- type UserPolicies
- type Waf
- func (s *Waf) Fetch(ctx context.Context) (cloud.GraphAPI, error)
- func (s *Waf) FetchByType(ctx context.Context, t string) (cloud.GraphAPI, error)
- func (s *Waf) IsSyncDisabled() bool
- func (s *Waf) Name() string
- func (s *Waf) Profile() string
- func (s *Waf) Region() string
- func (s *Waf) ResourceTypes() []string
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 NewApigateway ¶
func NewBeanstalk ¶ added in v1.2.0
func NewCloudformation ¶
func NewCloudmap ¶ added in v1.2.0
func NewCloudtrail ¶
func NewCloudwatchlogs ¶
func NewCodebuild ¶ added in v1.2.0
func NewCodedeploy ¶ added in v1.2.0
func NewCodepipeline ¶ added in v1.2.0
func NewCognito ¶ added in v1.2.0
func NewConfigservice ¶ added in v1.2.0
func NewDynamodb ¶
func NewElasticache ¶ added in v1.2.0
func NewEventbridge ¶ added in v1.2.0
func NewGlobalaccelerator ¶ added in v1.2.0
func NewKinesis ¶ added in v1.2.0
func NewMessaging ¶
func NewMonitoring ¶
func NewRedshift ¶ added in v1.2.0
func NewSecretsmanager ¶
func NewStepfunctions ¶ added in v1.2.0
func NewStorage ¶
func ResolveRegionFromEnv ¶
func ResolveRegionFromEnv() (region string)
Types ¶
type Access ¶
type Access struct {
IAMClient *iam.Client
STSClient *sts.Client
// contains filtered or unexported fields
}
func (*Access) FetchByType ¶
func (*Access) GetIdentity ¶
func (*Access) GetUserPolicies ¶
func (s *Access) GetUserPolicies(username string) (*UserPolicies, error)
func (*Access) IsSyncDisabled ¶
func (*Access) ResourceTypes ¶
type Apigateway ¶
type Apigateway struct {
Apigatewayv2Client *apigatewayv2.Client
// contains filtered or unexported fields
}
func (*Apigateway) FetchByType ¶
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
func (*Backup) FetchByType ¶ added in v1.2.0
func (*Backup) IsSyncDisabled ¶ added in v1.2.0
func (*Backup) ResourceTypes ¶ added in v1.2.0
type Beanstalk ¶ added in v1.2.0
type Beanstalk struct {
ElasticbeanstalkClient *elasticbeanstalk.Client
// contains filtered or unexported fields
}
func (*Beanstalk) FetchByType ¶ added in v1.2.0
func (*Beanstalk) IsSyncDisabled ¶ added in v1.2.0
func (*Beanstalk) ResourceTypes ¶ added in v1.2.0
type CDN ¶
type CDN struct {
CloudfrontClient *cloudfront.Client
// contains filtered or unexported fields
}
func (*CDN) FetchByType ¶
func (*CDN) IsSyncDisabled ¶
func (*CDN) ResourceTypes ¶
type Cloudformation ¶
type Cloudformation struct {
CloudformationClient *cloudformation.Client
// contains filtered or unexported fields
}
func (*Cloudformation) FetchByType ¶
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) FetchByType ¶ added in v1.2.0
func (*Cloudmap) IsSyncDisabled ¶ added in v1.2.0
func (*Cloudmap) ResourceTypes ¶ added in v1.2.0
type Cloudtrail ¶
type Cloudtrail struct {
CloudtrailClient *cloudtrail.Client
// contains filtered or unexported fields
}
func (*Cloudtrail) FetchByType ¶
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) FetchByType ¶
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) FetchByType ¶ added in v1.2.0
func (*Codebuild) IsSyncDisabled ¶ added in v1.2.0
func (*Codebuild) ResourceTypes ¶ added in v1.2.0
type Codedeploy ¶ added in v1.2.0
type Codedeploy struct {
CodedeployClient *codedeploy.Client
// contains filtered or unexported fields
}
func (*Codedeploy) FetchByType ¶ added in v1.2.0
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) FetchByType ¶ added in v1.2.0
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) FetchByType ¶ added in v1.2.0
func (*Cognito) IsSyncDisabled ¶ added in v1.2.0
func (*Cognito) ResourceTypes ¶ added in v1.2.0
type Configservice ¶ added in v1.2.0
type Configservice struct {
ConfigserviceClient *configservice.Client
// contains filtered or unexported fields
}
func (*Configservice) FetchByType ¶ added in v1.2.0
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 Dynamodb ¶
func (*Dynamodb) FetchByType ¶
func (*Dynamodb) IsSyncDisabled ¶
func (*Dynamodb) ResourceTypes ¶
type Elasticache ¶ added in v1.2.0
type Elasticache struct {
ElasticacheClient *elasticache.Client
// contains filtered or unexported fields
}
func (*Elasticache) FetchByType ¶ added in v1.2.0
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) FetchByType ¶ added in v1.2.0
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
func (*Fsx) FetchByType ¶ added in v1.2.0
func (*Fsx) IsSyncDisabled ¶ added in v1.2.0
func (*Fsx) ResourceTypes ¶ added in v1.2.0
type Globalaccelerator ¶ added in v1.2.0
type Globalaccelerator struct {
GlobalacceleratorClient *globalaccelerator.Client
// contains filtered or unexported fields
}
func (*Globalaccelerator) FetchByType ¶ added in v1.2.0
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
func (*Glue) FetchByType ¶ added in v1.2.0
func (*Glue) IsSyncDisabled ¶ added in v1.2.0
func (*Glue) ResourceTypes ¶ added in v1.2.0
type Identity ¶
type Identity struct {
Account, Arn, UserID, ResourceType, ResourcePath, Resource string
}
func (*Identity) IsUserType ¶
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) FetchByType ¶
func (*Infra) IsSyncDisabled ¶
func (*Infra) ResourceTypes ¶
type Kinesis ¶ added in v1.2.0
func (*Kinesis) FetchByType ¶ added in v1.2.0
func (*Kinesis) IsSyncDisabled ¶ added in v1.2.0
func (*Kinesis) ResourceTypes ¶ added in v1.2.0
type Lambda ¶
func (*Lambda) FetchByType ¶
func (*Lambda) IsSyncDisabled ¶
func (*Lambda) ResourceTypes ¶
type Messaging ¶
type Messaging struct {
SNSClient *sns.Client
SQSClient *sqs.Client
// contains filtered or unexported fields
}
func (*Messaging) FetchByType ¶
func (*Messaging) IsSyncDisabled ¶
func (*Messaging) ResourceTypes ¶
type Monitoring ¶
type Monitoring struct {
CloudwatchClient *cloudwatch.Client
// contains filtered or unexported fields
}
func (*Monitoring) FetchByType ¶
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
func (*Mq) FetchByType ¶ added in v1.2.0
func (*Mq) IsSyncDisabled ¶ added in v1.2.0
func (*Mq) ResourceTypes ¶ added in v1.2.0
type Msk ¶ added in v1.2.0
func (*Msk) FetchByType ¶ added in v1.2.0
func (*Msk) IsSyncDisabled ¶ added in v1.2.0
func (*Msk) ResourceTypes ¶ added in v1.2.0
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
func (*Redshift) FetchByType ¶ added in v1.2.0
func (*Redshift) IsSyncDisabled ¶ added in v1.2.0
func (*Redshift) ResourceTypes ¶ added in v1.2.0
type Secretsmanager ¶
type Secretsmanager struct {
SecretsmanagerClient *secretsmanager.Client
KMSClient *kms.Client
// contains filtered or unexported fields
}
func (*Secretsmanager) FetchByType ¶
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
func (*Ses) FetchByType ¶ added in v1.2.0
func (*Ses) IsSyncDisabled ¶ added in v1.2.0
func (*Ses) ResourceTypes ¶ added in v1.2.0
type Stepfunctions ¶ added in v1.2.0
func (*Stepfunctions) FetchByType ¶ added in v1.2.0
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 ¶
func (*Storage) FetchByType ¶
func (*Storage) IsSyncDisabled ¶
func (*Storage) ResourceTypes ¶
type UserPolicies ¶
type Waf ¶ added in v1.2.0
func (*Waf) FetchByType ¶ added in v1.2.0
func (*Waf) IsSyncDisabled ¶ added in v1.2.0
func (*Waf) ResourceTypes ¶ added in v1.2.0
Click to show internal directories.
Click to hide internal directories.