Documentation
¶
Index ¶
- Constants
- Variables
- func ShouldIncludeVpcEndpoint(endpoint *types.VpcEndpoint, firstSeenTime *time.Time, configObj config.Config) bool
- func SnapshotHasAWSBackupTag(tags []types.Tag) bool
- func WaitUntilNotebookInstanceDeleted(ctx context.Context, client SageMakerNotebookInstancesAPI, name *string) error
- func WaitUntilNotebookInstanceStopped(ctx context.Context, client SageMakerNotebookInstancesAPI, name *string) error
- type ACM
- func (a *ACM) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (a *ACM) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (a *ACM) Init(cfg aws.Config)
- func (a *ACM) MaxBatchSize() int
- func (a *ACM) Nuke(arns []string) error
- func (a *ACM) ResourceIdentifiers() []string
- func (a *ACM) ResourceName() string
- type ACMPCA
- func (ap *ACMPCA) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (ap *ACMPCA) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (ap *ACMPCA) Init(cfg aws.Config)
- func (ap *ACMPCA) MaxBatchSize() int
- func (ap *ACMPCA) Nuke(arns []string) error
- func (ap *ACMPCA) ResourceIdentifiers() []string
- func (ap *ACMPCA) ResourceName() string
- type ACMPCAServiceAPI
- type ACMServiceAPI
- type AMIs
- func (ami *AMIs) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (ami *AMIs) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (ami *AMIs) Init(cfg aws.Config)
- func (ami *AMIs) MaxBatchSize() int
- func (ami *AMIs) Nuke(identifiers []string) error
- func (ami *AMIs) ResourceIdentifiers() []string
- func (ami *AMIs) ResourceName() string
- type AMIsAPI
- type ASGroups
- func (ag *ASGroups) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (ag *ASGroups) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (ag *ASGroups) Init(cfg aws.Config)
- func (ag *ASGroups) MaxBatchSize() int
- func (ag *ASGroups) Nuke(identifiers []string) error
- func (ag *ASGroups) ResourceIdentifiers() []string
- func (ag *ASGroups) ResourceName() string
- type ASGroupsAPI
- type AccessAnalyzer
- func (analyzer *AccessAnalyzer) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (analyzer *AccessAnalyzer) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (analyzer *AccessAnalyzer) Init(cfg aws.Config)
- func (analyzer *AccessAnalyzer) MaxBatchSize() int
- func (analyzer *AccessAnalyzer) Nuke(identifiers []string) error
- func (analyzer *AccessAnalyzer) ResourceIdentifiers() []string
- func (analyzer *AccessAnalyzer) ResourceName() string
- type AccessAnalyzerAPI
- type ApiGateway
- func (gateway *ApiGateway) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (gateway *ApiGateway) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (gateway *ApiGateway) Init(cfg aws.Config)
- func (gateway *ApiGateway) MaxBatchSize() int
- func (gateway *ApiGateway) Nuke(identifiers []string) error
- func (gateway *ApiGateway) ResourceIdentifiers() []string
- func (gateway *ApiGateway) ResourceName() string
- type ApiGatewayServiceAPI
- type ApiGatewayV2
- func (gw *ApiGatewayV2) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (gw *ApiGatewayV2) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (gw *ApiGatewayV2) Init(cfg aws.Config)
- func (gw *ApiGatewayV2) MaxBatchSize() int
- func (gw *ApiGatewayV2) Nuke(identifiers []string) error
- func (gw *ApiGatewayV2) ResourceIdentifiers() []string
- func (gw *ApiGatewayV2) ResourceName() string
- type ApiGatewayV2API
- type AppRunnerService
- func (a *AppRunnerService) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (a *AppRunnerService) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (a *AppRunnerService) Init(cfg aws.Config)
- func (a *AppRunnerService) MaxBatchSize() int
- func (a *AppRunnerService) Nuke(identifiers []string) error
- func (a *AppRunnerService) ResourceIdentifiers() []string
- func (a *AppRunnerService) ResourceName() string
- type AppRunnerServiceAPI
- type BackupVault
- func (bv *BackupVault) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (bv *BackupVault) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (bv *BackupVault) Init(cfg aws.Config)
- func (bv *BackupVault) MaxBatchSize() int
- func (bv *BackupVault) Nuke(identifiers []string) error
- func (bv *BackupVault) ResourceIdentifiers() []string
- func (bv *BackupVault) ResourceName() string
- func (bv *BackupVault) WaitUntilRecoveryPointsDeleted(name *string) error
- type BackupVaultAPI
- type BaseAwsResource
- func (br *BaseAwsResource) GetAndSetIdentifiers(_ context.Context, _ config.Config) ([]string, error)
- func (br *BaseAwsResource) GetAndSetResourceConfig(_ config.Config) config.ResourceType
- func (br *BaseAwsResource) GetNukableStatus(identifier string) (error, bool)
- func (br *BaseAwsResource) Init(cfg aws.Config)
- func (br *BaseAwsResource) IsNukable(identifier string) (bool, error)
- func (br *BaseAwsResource) MaxBatchSize() int
- func (br *BaseAwsResource) Nuke(_ []string) error
- func (br *BaseAwsResource) PrepareContext(parentContext context.Context, resourceConfig config.ResourceType) error
- func (br *BaseAwsResource) ResourceIdentifiers() []string
- func (br *BaseAwsResource) ResourceName() string
- func (br *BaseAwsResource) SetNukableStatus(identifier string, err error)
- func (br *BaseAwsResource) VerifyNukablePermissions(ids []*string, nukableCheckfn func(id *string) error)
- type CacheClusterType
- type CloudFormationStacks
- func (cfs *CloudFormationStacks) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (cfs *CloudFormationStacks) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (cfs *CloudFormationStacks) Init(cfg aws.Config)
- func (cfs *CloudFormationStacks) MaxBatchSize() int
- func (cfs *CloudFormationStacks) Nuke(identifiers []string) error
- func (cfs *CloudFormationStacks) ResourceIdentifiers() []string
- func (cfs *CloudFormationStacks) ResourceName() string
- type CloudFormationStacksAPI
- type CloudMapNamespaces
- func (cns *CloudMapNamespaces) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (cns *CloudMapNamespaces) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (cns *CloudMapNamespaces) Init(cfg aws.Config)
- func (cns *CloudMapNamespaces) MaxBatchSize() int
- func (cns *CloudMapNamespaces) Nuke(identifiers []string) error
- func (cns *CloudMapNamespaces) ResourceIdentifiers() []string
- func (cns *CloudMapNamespaces) ResourceName() string
- type CloudMapNamespacesAPI
- type CloudMapServices
- func (cms *CloudMapServices) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (cms *CloudMapServices) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (cms *CloudMapServices) Init(cfg aws.Config)
- func (cms *CloudMapServices) MaxBatchSize() int
- func (cms *CloudMapServices) Nuke(identifiers []string) error
- func (cms *CloudMapServices) ResourceIdentifiers() []string
- func (cms *CloudMapServices) ResourceName() string
- type CloudMapServicesAPI
- type CloudWatchAlarms
- func (cw *CloudWatchAlarms) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (cw *CloudWatchAlarms) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (cw *CloudWatchAlarms) Init(cfg aws.Config)
- func (cw *CloudWatchAlarms) MaxBatchSize() int
- func (cw *CloudWatchAlarms) Nuke(identifiers []string) error
- func (cw *CloudWatchAlarms) ResourceIdentifiers() []string
- func (cw *CloudWatchAlarms) ResourceName() string
- type CloudWatchAlarmsAPI
- type CloudWatchDashboards
- func (cwdb *CloudWatchDashboards) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (cwdb *CloudWatchDashboards) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (cwdb *CloudWatchDashboards) Init(cfg aws.Config)
- func (cwdb *CloudWatchDashboards) MaxBatchSize() int
- func (cwdb *CloudWatchDashboards) Nuke(identifiers []string) error
- func (cwdb *CloudWatchDashboards) ResourceIdentifiers() []string
- func (cwdb *CloudWatchDashboards) ResourceName() string
- type CloudWatchDashboardsAPI
- type CloudWatchLogGroups
- func (csr *CloudWatchLogGroups) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (csr *CloudWatchLogGroups) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (csr *CloudWatchLogGroups) Init(cfg aws.Config)
- func (csr *CloudWatchLogGroups) MaxBatchSize() int
- func (csr *CloudWatchLogGroups) Nuke(identifiers []string) error
- func (csr *CloudWatchLogGroups) ResourceIdentifiers() []string
- func (csr *CloudWatchLogGroups) ResourceName() string
- type CloudWatchLogGroupsAPI
- type CloudfrontDistribution
- func (cd *CloudfrontDistribution) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (cd *CloudfrontDistribution) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (cd *CloudfrontDistribution) Init(cfg aws.Config)
- func (cd *CloudfrontDistribution) MaxBatchSize() int
- func (cd *CloudfrontDistribution) Nuke(identifiers []string) error
- func (cd *CloudfrontDistribution) ResourceIdentifiers() []string
- func (cd *CloudfrontDistribution) ResourceName() string
- type CloudfrontDistributionAPI
- type CloudtrailTrail
- func (ct *CloudtrailTrail) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (ct *CloudtrailTrail) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (ct *CloudtrailTrail) Init(cfg aws.Config)
- func (ct *CloudtrailTrail) MaxBatchSize() int
- func (ct *CloudtrailTrail) Nuke(identifiers []string) error
- func (ct *CloudtrailTrail) ResourceIdentifiers() []string
- func (ct *CloudtrailTrail) ResourceName() string
- type CloudtrailTrailAPI
- type CodeDeployApplications
- func (cda *CodeDeployApplications) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (cda *CodeDeployApplications) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (cda *CodeDeployApplications) Init(cfg aws.Config)
- func (cda *CodeDeployApplications) MaxBatchSize() int
- func (cda *CodeDeployApplications) Nuke(identifiers []string) error
- func (cda *CodeDeployApplications) ResourceIdentifiers() []string
- func (cda *CodeDeployApplications) ResourceName() string
- type CodeDeployApplicationsAPI
- type ConfigServiceRecorders
- func (csr *ConfigServiceRecorders) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (csr *ConfigServiceRecorders) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (csr *ConfigServiceRecorders) Init(cfg aws.Config)
- func (csr *ConfigServiceRecorders) MaxBatchSize() int
- func (csr *ConfigServiceRecorders) Nuke(configServiceRecorderNames []string) error
- func (csr *ConfigServiceRecorders) ResourceIdentifiers() []string
- func (csr *ConfigServiceRecorders) ResourceName() string
- type ConfigServiceRecordersAPI
- type ConfigServiceRule
- func (csr *ConfigServiceRule) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (csr *ConfigServiceRule) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (csr *ConfigServiceRule) Init(cfg aws.Config)
- func (csr *ConfigServiceRule) MaxBatchSize() int
- func (csr *ConfigServiceRule) Nuke(identifiers []string) error
- func (csr *ConfigServiceRule) ResourceIdentifiers() []string
- func (csr *ConfigServiceRule) ResourceName() string
- type ConfigServiceRuleAPI
- type CouldNotLookupCacheClusterErr
- type DBClusters
- func (instance *DBClusters) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (instance *DBClusters) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (instance *DBClusters) Init(cfg aws.Config)
- func (instance *DBClusters) MaxBatchSize() int
- func (instance *DBClusters) Nuke(identifiers []string) error
- func (instance *DBClusters) ResourceIdentifiers() []string
- func (instance *DBClusters) ResourceName() string
- type DBClustersAPI
- type DBGCMembershipsAPI
- type DBGlobalClusterMemberships
- func (instance *DBGlobalClusterMemberships) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (instance *DBGlobalClusterMemberships) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (instance *DBGlobalClusterMemberships) Init(cfg aws.Config)
- func (instance *DBGlobalClusterMemberships) MaxBatchSize() int
- func (instance *DBGlobalClusterMemberships) Nuke(identifiers []string) error
- func (instance *DBGlobalClusterMemberships) ResourceIdentifiers() []string
- func (instance *DBGlobalClusterMemberships) ResourceName() string
- type DBGlobalClusters
- func (instance *DBGlobalClusters) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (instance *DBGlobalClusters) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (instance *DBGlobalClusters) Init(cfg aws.Config)
- func (instance *DBGlobalClusters) MaxBatchSize() int
- func (instance *DBGlobalClusters) Nuke(identifiers []string) error
- func (instance *DBGlobalClusters) ResourceIdentifiers() []string
- func (instance *DBGlobalClusters) ResourceName() string
- type DBGlobalClustersAPI
- type DBInstances
- func (di *DBInstances) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (di *DBInstances) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (di *DBInstances) Init(cfg aws.Config)
- func (di *DBInstances) MaxBatchSize() int
- func (di *DBInstances) Nuke(identifiers []string) error
- func (di *DBInstances) ResourceIdentifiers() []string
- func (di *DBInstances) ResourceName() string
- type DBSubnetGroups
- func (dsg *DBSubnetGroups) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (dsg *DBSubnetGroups) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (dsg *DBSubnetGroups) Init(cfg aws.Config)
- func (dsg *DBSubnetGroups) MaxBatchSize() int
- func (dsg *DBSubnetGroups) Nuke(identifiers []string) error
- func (dsg *DBSubnetGroups) ResourceIdentifiers() []string
- func (dsg *DBSubnetGroups) ResourceName() string
- type DBSubnetGroupsAPI
- type DHCPOption
- type DataSyncLocation
- func (dsl *DataSyncLocation) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (dsl *DataSyncLocation) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (dsl *DataSyncLocation) Init(cfg aws.Config)
- func (dsl *DataSyncLocation) MaxBatchSize() int
- func (dsl *DataSyncLocation) Nuke(identifiers []string) error
- func (dsl *DataSyncLocation) ResourceIdentifiers() []string
- func (dsl *DataSyncLocation) ResourceName() string
- type DataSyncLocationAPI
- type DataSyncTask
- func (dst *DataSyncTask) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (dst *DataSyncTask) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (dst *DataSyncTask) Init(cfg aws.Config)
- func (dst *DataSyncTask) MaxBatchSize() int
- func (dst *DataSyncTask) Nuke(identifiers []string) error
- func (dst *DataSyncTask) ResourceIdentifiers() []string
- func (dst *DataSyncTask) ResourceName() string
- type DataSyncTaskAPI
- type DetectorOutputWithID
- type DynamoDB
- func (ddb *DynamoDB) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (ddb *DynamoDB) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (ddb *DynamoDB) Init(cfg aws.Config)
- func (ddb *DynamoDB) MaxBatchSize() int
- func (ddb *DynamoDB) Nuke(identifiers []string) error
- func (ddb *DynamoDB) ResourceIdentifiers() []string
- func (ddb *DynamoDB) ResourceName() string
- type DynamoDBAPI
- type EBApplications
- func (eb *EBApplications) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (eb *EBApplications) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (eb *EBApplications) Init(cfg aws.Config)
- func (eb *EBApplications) MaxBatchSize() int
- func (eb *EBApplications) Nuke(identifiers []string) error
- func (eb *EBApplications) ResourceIdentifiers() []string
- func (eb *EBApplications) ResourceName() string
- type EBApplicationsAPI
- type EBSVolumes
- func (ev *EBSVolumes) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (ev *EBSVolumes) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (ev *EBSVolumes) Init(cfg aws.Config)
- func (ev *EBSVolumes) MaxBatchSize() int
- func (ev *EBSVolumes) Nuke(identifiers []string) error
- func (ev *EBSVolumes) ResourceIdentifiers() []string
- func (ev *EBSVolumes) ResourceName() string
- type EBSVolumesAPI
- type EC2DedicatedHosts
- func (h *EC2DedicatedHosts) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (h *EC2DedicatedHosts) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (h *EC2DedicatedHosts) Init(cfg aws.Config)
- func (h *EC2DedicatedHosts) MaxBatchSize() int
- func (h *EC2DedicatedHosts) Nuke(identifiers []string) error
- func (h *EC2DedicatedHosts) ResourceIdentifiers() []string
- func (h *EC2DedicatedHosts) ResourceName() string
- type EC2DedicatedHostsAPI
- type EC2DhcpOption
- func (v *EC2DhcpOption) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (v *EC2DhcpOption) Init(cfg aws.Config)
- func (v *EC2DhcpOption) MaxBatchSize() int
- func (v *EC2DhcpOption) Nuke(identifiers []string) error
- func (v *EC2DhcpOption) ResourceIdentifiers() []string
- func (v *EC2DhcpOption) ResourceName() string
- type EC2DhcpOptionAPI
- type EC2Endpoints
- func (e *EC2Endpoints) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (e *EC2Endpoints) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (e *EC2Endpoints) Init(cfg aws.Config)
- func (e *EC2Endpoints) MaxBatchSize() int
- func (e *EC2Endpoints) Nuke(identifiers []string) error
- func (e *EC2Endpoints) ResourceIdentifiers() []string
- func (e *EC2Endpoints) ResourceName() string
- type EC2EndpointsAPI
- type EC2IPAMAPIaa
- type EC2IPAMByoasn
- func (byoasn *EC2IPAMByoasn) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (byoasn *EC2IPAMByoasn) Init(cfg aws.Config)
- func (byoasn *EC2IPAMByoasn) MaxBatchSize() int
- func (byoasn *EC2IPAMByoasn) Nuke(identifiers []string) error
- func (byoasn *EC2IPAMByoasn) ResourceIdentifiers() []string
- func (byoasn *EC2IPAMByoasn) ResourceName() string
- type EC2IPAMByoasnAPI
- type EC2IPAMCustomAllocation
- func (cs *EC2IPAMCustomAllocation) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (cs *EC2IPAMCustomAllocation) Init(cfg aws.Config)
- func (cs *EC2IPAMCustomAllocation) MaxBatchSize() int
- func (cs *EC2IPAMCustomAllocation) Nuke(identifiers []string) error
- func (cs *EC2IPAMCustomAllocation) ResourceIdentifiers() []string
- func (cs *EC2IPAMCustomAllocation) ResourceName() string
- type EC2IPAMCustomAllocationAPI
- type EC2IPAMPool
- func (pool *EC2IPAMPool) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (pool *EC2IPAMPool) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (pool *EC2IPAMPool) Init(cfg aws.Config)
- func (pool *EC2IPAMPool) MaxBatchSize() int
- func (pool *EC2IPAMPool) Nuke(identifiers []string) error
- func (pool *EC2IPAMPool) ResourceIdentifiers() []string
- func (pool *EC2IPAMPool) ResourceName() string
- type EC2IPAMPoolAPI
- type EC2IPAMResourceDiscovery
- func (ipam *EC2IPAMResourceDiscovery) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (ipam *EC2IPAMResourceDiscovery) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (ipam *EC2IPAMResourceDiscovery) Init(cfg aws.Config)
- func (ipam *EC2IPAMResourceDiscovery) MaxBatchSize() int
- func (ipam *EC2IPAMResourceDiscovery) Nuke(identifiers []string) error
- func (ipam *EC2IPAMResourceDiscovery) ResourceIdentifiers() []string
- func (ipam *EC2IPAMResourceDiscovery) ResourceName() string
- type EC2IPAMResourceDiscoveryAPI
- type EC2IPAMs
- func (ipam *EC2IPAMs) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (ipam *EC2IPAMs) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (ipam *EC2IPAMs) Init(cfg aws.Config)
- func (ipam *EC2IPAMs) MaxBatchSize() int
- func (ipam *EC2IPAMs) Nuke(identifiers []string) error
- func (ipam *EC2IPAMs) ResourceIdentifiers() []string
- func (ipam *EC2IPAMs) ResourceName() string
- type EC2Instances
- func (ei *EC2Instances) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (ei *EC2Instances) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (ei *EC2Instances) Init(cfg aws.Config)
- func (ei *EC2Instances) MaxBatchSize() int
- func (ei *EC2Instances) Nuke(identifiers []string) error
- func (ei *EC2Instances) ResourceIdentifiers() []string
- func (ei *EC2Instances) ResourceName() string
- type EC2InstancesAPI
- type EC2IpamScopes
- func (scope *EC2IpamScopes) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (scope *EC2IpamScopes) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (scope *EC2IpamScopes) Init(cfg aws.Config)
- func (scope *EC2IpamScopes) MaxBatchSize() int
- func (scope *EC2IpamScopes) Nuke(identifiers []string) error
- func (scope *EC2IpamScopes) ResourceIdentifiers() []string
- func (scope *EC2IpamScopes) ResourceName() string
- type EC2IpamScopesAPI
- type EC2KeyPairs
- func (k *EC2KeyPairs) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (k *EC2KeyPairs) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (k *EC2KeyPairs) Init(cfg aws.Config)
- func (k *EC2KeyPairs) MaxBatchSize() int
- func (k *EC2KeyPairs) Nuke(identifiers []string) error
- func (k *EC2KeyPairs) ResourceIdentifiers() []string
- func (k *EC2KeyPairs) ResourceName() string
- type EC2KeyPairsAPI
- type EC2PlacementGroups
- func (k *EC2PlacementGroups) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (k *EC2PlacementGroups) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (k *EC2PlacementGroups) Init(cfg aws.Config)
- func (k *EC2PlacementGroups) MaxBatchSize() int
- func (k *EC2PlacementGroups) Nuke(identifiers []string) error
- func (k *EC2PlacementGroups) ResourceIdentifiers() []string
- func (k *EC2PlacementGroups) ResourceName() string
- type EC2PlacementGroupsAPI
- type EC2Subnet
- func (es *EC2Subnet) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (es *EC2Subnet) Init(cfg aws.Config)
- func (es *EC2Subnet) MaxBatchSize() int
- func (es *EC2Subnet) Nuke(identifiers []string) error
- func (es *EC2Subnet) ResourceIdentifiers() []string
- func (es *EC2Subnet) ResourceName() string
- type EC2SubnetAPI
- type EC2VPCAPI
- type EC2VPCs
- func (v *EC2VPCs) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (v *EC2VPCs) Init(cfg aws.Config)
- func (v *EC2VPCs) MaxBatchSize() int
- func (v *EC2VPCs) Nuke(identifiers []string) error
- func (v *EC2VPCs) ResourceIdentifiers() []string
- func (v *EC2VPCs) ResourceName() string
- type ECR
- func (registry *ECR) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (registry *ECR) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (registry *ECR) Init(cfg aws.Config)
- func (registry *ECR) MaxBatchSize() int
- func (registry *ECR) Nuke(identifiers []string) error
- func (registry *ECR) ResourceIdentifiers() []string
- func (registry *ECR) ResourceName() string
- type ECRAPI
- type ECSClusters
- func (clusters *ECSClusters) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (clusters *ECSClusters) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (clusters *ECSClusters) Init(cfg aws.Config)
- func (clusters *ECSClusters) MaxBatchSize() int
- func (clusters *ECSClusters) Nuke(identifiers []string) error
- func (clusters *ECSClusters) ResourceIdentifiers() []string
- func (clusters *ECSClusters) ResourceName() string
- type ECSClustersAPI
- type ECSServices
- func (services *ECSServices) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (services *ECSServices) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (services *ECSServices) Init(cfg aws.Config)
- func (services *ECSServices) MaxBatchSize() int
- func (services *ECSServices) Nuke(identifiers []string) error
- func (services *ECSServices) ResourceIdentifiers() []string
- func (services *ECSServices) ResourceName() string
- type ECSServicesAPI
- type EIPAddresses
- func (eip *EIPAddresses) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (eip *EIPAddresses) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (eip *EIPAddresses) Init(cfg aws.Config)
- func (eip *EIPAddresses) MaxBatchSize() int
- func (eip *EIPAddresses) Nuke(identifiers []string) error
- func (eip *EIPAddresses) ResourceIdentifiers() []string
- func (eip *EIPAddresses) ResourceName() string
- type EIPAddressesAPI
- type EKSClusters
- func (clusters *EKSClusters) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (clusters *EKSClusters) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (clusters *EKSClusters) Init(cfg aws.Config)
- func (clusters *EKSClusters) MaxBatchSize() int
- func (clusters *EKSClusters) Nuke(identifiers []string) error
- func (clusters *EKSClusters) ResourceIdentifiers() []string
- func (clusters *EKSClusters) ResourceName() string
- type EKSClustersAPI
- type ELBClientAPI
- type EgressOnlyIGAPI
- type EgressOnlyInternetGateway
- func (egigw *EgressOnlyInternetGateway) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (egigw *EgressOnlyInternetGateway) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (egigw *EgressOnlyInternetGateway) Init(cfg aws.Config)
- func (egigw *EgressOnlyInternetGateway) MaxBatchSize() int
- func (egigw *EgressOnlyInternetGateway) Nuke(identifiers []string) error
- func (egigw *EgressOnlyInternetGateway) ResourceIdentifiers() []string
- func (egigw *EgressOnlyInternetGateway) ResourceName() string
- type ElasticCacheServerless
- func (cache *ElasticCacheServerless) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (cache *ElasticCacheServerless) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (cache *ElasticCacheServerless) Init(cfg aws.Config)
- func (cache *ElasticCacheServerless) MaxBatchSize() int
- func (cache *ElasticCacheServerless) Nuke(identifiers []string) error
- func (cache *ElasticCacheServerless) ResourceIdentifiers() []string
- func (cache *ElasticCacheServerless) ResourceName() string
- type ElasticCacheServerlessAPI
- type ElasticFileSystem
- func (ef *ElasticFileSystem) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (ef *ElasticFileSystem) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (ef *ElasticFileSystem) Init(cfg aws.Config)
- func (ef *ElasticFileSystem) MaxBatchSize() int
- func (ef *ElasticFileSystem) Nuke(identifiers []string) error
- func (ef *ElasticFileSystem) ResourceIdentifiers() []string
- func (ef *ElasticFileSystem) ResourceName() string
- type ElasticFileSystemAPI
- type ElasticacheParameterGroups
- func (pg *ElasticacheParameterGroups) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (pg *ElasticacheParameterGroups) Init(cfg aws.Config)
- func (pg *ElasticacheParameterGroups) MaxBatchSize() int
- func (pg *ElasticacheParameterGroups) Nuke(identifiers []string) error
- func (pg *ElasticacheParameterGroups) ResourceIdentifiers() []string
- func (pg *ElasticacheParameterGroups) ResourceName() string
- type ElasticacheParameterGroupsAPI
- type ElasticacheSubnetGroups
- func (sg *ElasticacheSubnetGroups) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (sg *ElasticacheSubnetGroups) Init(cfg aws.Config)
- func (sg *ElasticacheSubnetGroups) MaxBatchSize() int
- func (sg *ElasticacheSubnetGroups) Nuke(identifiers []string) error
- func (sg *ElasticacheSubnetGroups) ResourceIdentifiers() []string
- func (sg *ElasticacheSubnetGroups) ResourceName() string
- type ElasticacheSubnetGroupsAPI
- type Elasticaches
- func (cache *Elasticaches) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (cache *Elasticaches) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (cache *Elasticaches) Init(cfg aws.Config)
- func (cache *Elasticaches) MaxBatchSize() int
- func (cache *Elasticaches) Nuke(identifiers []string) error
- func (cache *Elasticaches) ResourceIdentifiers() []string
- func (cache *Elasticaches) ResourceName() string
- type ElasticachesAPI
- type ElbDeleteError
- type EventBridge
- func (eb *EventBridge) GetAndSetIdentifiers(ctx context.Context, cnfObj config.Config) ([]string, error)
- func (eb *EventBridge) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (eb *EventBridge) Init(cfg aws.Config)
- func (eb *EventBridge) MaxBatchSize() int
- func (eb *EventBridge) Nuke(identifiers []string) error
- func (eb *EventBridge) ResourceIdentifiers() []string
- func (eb *EventBridge) ResourceName() string
- type EventBridgeAPI
- type EventBridgeArchive
- func (eba *EventBridgeArchive) GetAndSetIdentifiers(ctx context.Context, cnfObj config.Config) ([]string, error)
- func (eba *EventBridgeArchive) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (eba *EventBridgeArchive) Init(cfg aws.Config)
- func (eba *EventBridgeArchive) MaxBatchSize() int
- func (eba *EventBridgeArchive) Nuke(identifiers []string) error
- func (eba *EventBridgeArchive) ResourceIdentifiers() []string
- func (eba *EventBridgeArchive) ResourceName() string
- type EventBridgeArchiveAPI
- type EventBridgeRule
- func (ebr *EventBridgeRule) GetAndSetIdentifiers(ctx context.Context, cnfObj config.Config) ([]string, error)
- func (ebr *EventBridgeRule) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (ebr *EventBridgeRule) Init(cfg aws.Config)
- func (ebr *EventBridgeRule) MaxBatchSize() int
- func (ebr *EventBridgeRule) Nuke(identifiers []string) error
- func (ebr *EventBridgeRule) ResourceIdentifiers() []string
- func (ebr *EventBridgeRule) ResourceName() string
- type EventBridgeRuleAPI
- type EventBridgeSchedule
- func (sch *EventBridgeSchedule) GetAndSetIdentifiers(ctx context.Context, cnfObj config.Config) ([]string, error)
- func (sch *EventBridgeSchedule) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (sch *EventBridgeSchedule) Init(cfg aws.Config)
- func (sch *EventBridgeSchedule) MaxBatchSize() int
- func (sch *EventBridgeSchedule) Nuke(identifiers []string) error
- func (sch *EventBridgeSchedule) ResourceIdentifiers() []string
- func (sch *EventBridgeSchedule) ResourceName() string
- type EventBridgeScheduleAPI
- type EventBridgeScheduleGroup
- func (sch *EventBridgeScheduleGroup) GetAndSetIdentifiers(ctx context.Context, cnfObj config.Config) ([]string, error)
- func (sch *EventBridgeScheduleGroup) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (sch *EventBridgeScheduleGroup) Init(cfg aws.Config)
- func (sch *EventBridgeScheduleGroup) MaxBatchSize() int
- func (sch *EventBridgeScheduleGroup) Nuke(identifiers []string) error
- func (sch *EventBridgeScheduleGroup) ResourceIdentifiers() []string
- func (sch *EventBridgeScheduleGroup) ResourceName() string
- type EventBridgeScheduleGroupAPI
- type Grafana
- func (g *Grafana) GetAndSetIdentifiers(ctx context.Context, cnfObj config.Config) ([]string, error)
- func (g *Grafana) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (g *Grafana) Init(cfg aws.Config)
- func (g *Grafana) MaxBatchSize() int
- func (g *Grafana) Nuke(identifiers []string) error
- func (g *Grafana) ResourceIdentifiers() []string
- func (g *Grafana) ResourceName() string
- type GrafanaAPI
- type GuardDuty
- func (gd *GuardDuty) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (gd *GuardDuty) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (gd *GuardDuty) Init(cfg aws.Config)
- func (gd *GuardDuty) MaxBatchSize() int
- func (gd *GuardDuty) Nuke(detectorIds []string) error
- func (gd *GuardDuty) ResourceIdentifiers() []string
- func (gd *GuardDuty) ResourceName() string
- type GuardDutyAPI
- type IAMGroups
- func (ig *IAMGroups) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (ig *IAMGroups) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (ig *IAMGroups) Init(cfg aws.Config)
- func (ig *IAMGroups) MaxBatchSize() int
- func (ig *IAMGroups) Nuke(identifiers []string) error
- func (ig *IAMGroups) ResourceIdentifiers() []string
- func (ig *IAMGroups) ResourceName() string
- type IAMGroupsAPI
- type IAMInstanceProfileAPI
- type IAMInstanceProfiles
- func (ip *IAMInstanceProfiles) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (ip *IAMInstanceProfiles) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (ip *IAMInstanceProfiles) Init(cfg aws.Config)
- func (ip *IAMInstanceProfiles) MaxBatchSize() int
- func (ip *IAMInstanceProfiles) Nuke(identifiers []string) error
- func (ip *IAMInstanceProfiles) ResourceIdentifiers() []string
- func (ip *IAMInstanceProfiles) ResourceName() string
- type IAMPolicies
- func (ip *IAMPolicies) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (ip *IAMPolicies) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (ip *IAMPolicies) Init(cfg aws.Config)
- func (ip *IAMPolicies) MaxBatchSize() int
- func (ip *IAMPolicies) Nuke(identifiers []string) error
- func (ip *IAMPolicies) ResourceIdentifiers() []string
- func (ip *IAMPolicies) ResourceName() string
- type IAMPoliciesAPI
- type IAMRoles
- func (ir *IAMRoles) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (ir *IAMRoles) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (ir *IAMRoles) Init(cfg aws.Config)
- func (ir *IAMRoles) MaxBatchSize() int
- func (ir *IAMRoles) Nuke(identifiers []string) error
- func (ir *IAMRoles) ResourceIdentifiers() []string
- func (ir *IAMRoles) ResourceName() string
- type IAMRolesAPI
- type IAMServiceLinkedRoles
- func (islr *IAMServiceLinkedRoles) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (islr *IAMServiceLinkedRoles) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (islr *IAMServiceLinkedRoles) Init(cfg aws.Config)
- func (islr *IAMServiceLinkedRoles) MaxBatchSize() int
- func (islr *IAMServiceLinkedRoles) Nuke(identifiers []string) error
- func (islr *IAMServiceLinkedRoles) ResourceIdentifiers() []string
- func (islr *IAMServiceLinkedRoles) ResourceName() string
- type IAMServiceLinkedRolesAPI
- type IAMUsers
- func (iu *IAMUsers) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (iu *IAMUsers) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (iu *IAMUsers) Init(cfg aws.Config)
- func (iu *IAMUsers) MaxBatchSize() int
- func (iu *IAMUsers) Nuke(users []string) error
- func (iu *IAMUsers) ResourceIdentifiers() []string
- func (iu *IAMUsers) ResourceName() string
- type IAMUsersAPI
- type ImageAvailableError
- type InternetGateway
- func (igw *InternetGateway) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (igw *InternetGateway) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (igw *InternetGateway) Init(cfg aws.Config)
- func (igw *InternetGateway) MaxBatchSize() int
- func (igw *InternetGateway) Nuke(identifiers []string) error
- func (igw *InternetGateway) ResourceIdentifiers() []string
- func (igw *InternetGateway) ResourceName() string
- type InternetGatewayAPI
- type KinesisFirehose
- func (kf *KinesisFirehose) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (kf *KinesisFirehose) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (kf *KinesisFirehose) Init(cfg aws.Config)
- func (kf *KinesisFirehose) MaxBatchSize() int
- func (kf *KinesisFirehose) Nuke(identifiers []string) error
- func (kf *KinesisFirehose) ResourceIdentifiers() []string
- func (kf *KinesisFirehose) ResourceName() string
- type KinesisFirehoseAPI
- type KinesisStreams
- func (ks *KinesisStreams) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (ks *KinesisStreams) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (ks *KinesisStreams) Init(cfg aws.Config)
- func (ks *KinesisStreams) MaxBatchSize() int
- func (ks *KinesisStreams) Nuke(identifiers []string) error
- func (ks *KinesisStreams) ResourceIdentifiers() []string
- func (ks *KinesisStreams) ResourceName() string
- type KinesisStreamsAPI
- type KmsCheckIncludeResult
- type KmsCustomerKeys
- func (kck *KmsCustomerKeys) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (kck *KmsCustomerKeys) Init(cfg aws.Config)
- func (kck *KmsCustomerKeys) MaxBatchSize() int
- func (kck *KmsCustomerKeys) Nuke(keyIds []string) error
- func (kck *KmsCustomerKeys) ResourceIdentifiers() []string
- func (kck *KmsCustomerKeys) ResourceName() string
- type KmsCustomerKeysAPI
- type LambdaDeleteError
- type LambdaFunctions
- func (lf *LambdaFunctions) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (lf *LambdaFunctions) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (lf *LambdaFunctions) Init(cfg aws.Config)
- func (lf *LambdaFunctions) MaxBatchSize() int
- func (lf *LambdaFunctions) Nuke(identifiers []string) error
- func (lf *LambdaFunctions) ResourceIdentifiers() []string
- func (lf *LambdaFunctions) ResourceName() string
- type LambdaFunctionsAPI
- type LambdaLayers
- func (ll *LambdaLayers) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (ll *LambdaLayers) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (ll *LambdaLayers) Init(cfg aws.Config)
- func (ll *LambdaLayers) MaxBatchSize() int
- func (ll *LambdaLayers) Nuke(identifiers []string) error
- func (ll *LambdaLayers) ResourceIdentifiers() []string
- func (ll *LambdaLayers) ResourceName() string
- type LambdaLayersAPI
- type LambdaVersionDeleteError
- type LaunchConfigs
- func (lc *LaunchConfigs) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (lc *LaunchConfigs) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (lc *LaunchConfigs) Init(cfg aws.Config)
- func (lc *LaunchConfigs) MaxBatchSize() int
- func (lc *LaunchConfigs) Nuke(identifiers []string) error
- func (lc *LaunchConfigs) ResourceIdentifiers() []string
- func (lc *LaunchConfigs) ResourceName() string
- type LaunchConfigsAPI
- type LaunchTemplates
- func (lt *LaunchTemplates) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (lt *LaunchTemplates) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (lt *LaunchTemplates) Init(cfg aws.Config)
- func (lt *LaunchTemplates) MaxBatchSize() int
- func (lt *LaunchTemplates) Nuke(identifiers []string) error
- func (lt *LaunchTemplates) ResourceIdentifiers() []string
- func (lt *LaunchTemplates) ResourceName() string
- type LaunchTemplatesAPI
- type LoadBalancers
- func (balancer *LoadBalancers) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (balancer *LoadBalancers) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (balancer *LoadBalancers) Init(cfg aws.Config)
- func (balancer *LoadBalancers) MaxBatchSize() int
- func (balancer *LoadBalancers) Nuke(identifiers []string) error
- func (balancer *LoadBalancers) ResourceIdentifiers() []string
- func (balancer *LoadBalancers) ResourceName() string
- type LoadBalancersAPI
- type LoadBalancersV2
- func (balancer *LoadBalancersV2) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (balancer *LoadBalancersV2) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (balancer *LoadBalancersV2) Init(cfg aws.Config)
- func (balancer *LoadBalancersV2) MaxBatchSize() int
- func (balancer *LoadBalancersV2) Nuke(identifiers []string) error
- func (balancer *LoadBalancersV2) ResourceIdentifiers() []string
- func (balancer *LoadBalancersV2) ResourceName() string
- type LoadBalancersV2API
- type MSKCluster
- func (m *MSKCluster) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (m *MSKCluster) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (m *MSKCluster) Init(cfg aws.Config)
- func (m *MSKCluster) MaxBatchSize() int
- func (m *MSKCluster) Nuke(identifiers []string) error
- func (m *MSKCluster) ResourceIdentifiers() []string
- func (m *MSKCluster) ResourceName() string
- type MSKClusterAPI
- type MacieMember
- func (mm *MacieMember) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (mm *MacieMember) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (mm *MacieMember) Init(cfg aws.Config)
- func (mm *MacieMember) MaxBatchSize() int
- func (mm *MacieMember) Nuke(identifiers []string) error
- func (mm *MacieMember) ResourceIdentifiers() []string
- func (mm *MacieMember) ResourceName() string
- type MacieMemberAPI
- type ManagedPrometheus
- func (a *ManagedPrometheus) GetAndSetIdentifiers(ctx context.Context, cnfObj config.Config) ([]string, error)
- func (a *ManagedPrometheus) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (a *ManagedPrometheus) Init(cfg aws.Config)
- func (a *ManagedPrometheus) MaxBatchSize() int
- func (a *ManagedPrometheus) Nuke(identifiers []string) error
- func (a *ManagedPrometheus) ResourceIdentifiers() []string
- func (a *ManagedPrometheus) ResourceName() string
- type ManagedPrometheusAPI
- type NatGateways
- func (ngw *NatGateways) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (ngw *NatGateways) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (ngw *NatGateways) Init(cfg aws.Config)
- func (ngw *NatGateways) MaxBatchSize() int
- func (ngw *NatGateways) Nuke(identifiers []string) error
- func (ngw *NatGateways) ResourceIdentifiers() []string
- func (ngw *NatGateways) ResourceName() string
- type NatGatewaysAPI
- type NetworkACL
- func (nacl *NetworkACL) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (nacl *NetworkACL) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (nacl *NetworkACL) Init(cfg aws.Config)
- func (nacl *NetworkACL) MaxBatchSize() int
- func (nacl *NetworkACL) Nuke(identifiers []string) error
- func (nacl *NetworkACL) ResourceIdentifiers() []string
- func (nacl *NetworkACL) ResourceName() string
- type NetworkACLAPI
- type NetworkFirewall
- func (nfw *NetworkFirewall) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (nfw *NetworkFirewall) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (nfw *NetworkFirewall) Init(cfg aws.Config)
- func (nfw *NetworkFirewall) MaxBatchSize() int
- func (nfw *NetworkFirewall) Nuke(identifiers []string) error
- func (nfw *NetworkFirewall) ResourceIdentifiers() []string
- func (nfw *NetworkFirewall) ResourceName() string
- type NetworkFirewallAPI
- type NetworkFirewallPolicy
- func (nfw *NetworkFirewallPolicy) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (nfw *NetworkFirewallPolicy) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (nfw *NetworkFirewallPolicy) Init(cfg aws.Config)
- func (nfw *NetworkFirewallPolicy) MaxBatchSize() int
- func (nfw *NetworkFirewallPolicy) Nuke(identifiers []string) error
- func (nfw *NetworkFirewallPolicy) ResourceIdentifiers() []string
- func (nfw *NetworkFirewallPolicy) ResourceName() string
- type NetworkFirewallPolicyAPI
- type NetworkFirewallResourcePolicy
- func (nfrp *NetworkFirewallResourcePolicy) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (nfrp *NetworkFirewallResourcePolicy) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (nfrp *NetworkFirewallResourcePolicy) Init(cfg aws.Config)
- func (nfrp *NetworkFirewallResourcePolicy) MaxBatchSize() int
- func (nfrp *NetworkFirewallResourcePolicy) Nuke(identifiers []string) error
- func (nfrp *NetworkFirewallResourcePolicy) ResourceIdentifiers() []string
- func (nfrp *NetworkFirewallResourcePolicy) ResourceName() string
- type NetworkFirewallResourcePolicyAPI
- type NetworkFirewallRuleGroup
- func (nfrg *NetworkFirewallRuleGroup) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (nfrg *NetworkFirewallRuleGroup) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (nfrg *NetworkFirewallRuleGroup) Init(cfg aws.Config)
- func (nfrg *NetworkFirewallRuleGroup) MaxBatchSize() int
- func (nfrg *NetworkFirewallRuleGroup) Nuke(identifiers []string) error
- func (nfrg *NetworkFirewallRuleGroup) ResourceIdentifiers() []string
- func (nfrg *NetworkFirewallRuleGroup) ResourceName() string
- type NetworkFirewallRuleGroupAPI
- type NetworkFirewallTLSConfig
- func (nftc *NetworkFirewallTLSConfig) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (nftc *NetworkFirewallTLSConfig) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (nftc *NetworkFirewallTLSConfig) Init(cfg aws.Config)
- func (nftc *NetworkFirewallTLSConfig) MaxBatchSize() int
- func (nftc *NetworkFirewallTLSConfig) Nuke(identifiers []string) error
- func (nftc *NetworkFirewallTLSConfig) ResourceIdentifiers() []string
- func (nftc *NetworkFirewallTLSConfig) ResourceName() string
- type NetworkFirewallTLSConfigAPI
- type NetworkInterface
- func (ni *NetworkInterface) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (ni *NetworkInterface) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (ni *NetworkInterface) Init(cfg aws.Config)
- func (ni *NetworkInterface) MaxBatchSize() int
- func (ni *NetworkInterface) Nuke(identifiers []string) error
- func (ni *NetworkInterface) ResourceIdentifiers() []string
- func (ni *NetworkInterface) ResourceName() string
- type NetworkInterfaceAPI
- type OIDCProviders
- func (oidcprovider *OIDCProviders) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (oidcprovider *OIDCProviders) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (oidcprovider *OIDCProviders) Init(cfg aws.Config)
- func (oidcprovider *OIDCProviders) MaxBatchSize() int
- func (oidcprovider *OIDCProviders) Nuke(identifiers []string) error
- func (oidcprovider *OIDCProviders) ResourceIdentifiers() []string
- func (oidcprovider *OIDCProviders) ResourceName() string
- type OIDCProvidersAPI
- type OpenSearchDomains
- func (osd *OpenSearchDomains) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (osd *OpenSearchDomains) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (osd *OpenSearchDomains) Init(cfg aws.Config)
- func (osd *OpenSearchDomains) MaxBatchSize() int
- func (osd *OpenSearchDomains) Nuke(identifiers []string) error
- func (osd *OpenSearchDomains) ResourceIdentifiers() []string
- func (osd *OpenSearchDomains) ResourceName() string
- type OpenSearchDomainsAPI
- type RDSAPI
- type RdsDeleteError
- type RdsParameterGroup
- func (pg *RdsParameterGroup) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (pg *RdsParameterGroup) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (pg *RdsParameterGroup) Init(cfg aws.Config)
- func (pg *RdsParameterGroup) MaxBatchSize() int
- func (pg *RdsParameterGroup) Nuke(identifiers []string) error
- func (pg *RdsParameterGroup) ResourceIdentifiers() []string
- func (pg *RdsParameterGroup) ResourceName() string
- type RdsParameterGroupAPI
- type RdsProxy
- func (pg *RdsProxy) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (pg *RdsProxy) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (pg *RdsProxy) Init(cfg aws.Config)
- func (pg *RdsProxy) MaxBatchSize() int
- func (pg *RdsProxy) Nuke(identifiers []string) error
- func (pg *RdsProxy) ResourceIdentifiers() []string
- func (pg *RdsProxy) ResourceName() string
- type RdsProxyAPI
- type RdsSnapshot
- func (snapshot *RdsSnapshot) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (snapshot *RdsSnapshot) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (snapshot *RdsSnapshot) Init(cfg aws.Config)
- func (snapshot *RdsSnapshot) MaxBatchSize() int
- func (snapshot *RdsSnapshot) Nuke(identifiers []string) error
- func (snapshot *RdsSnapshot) ResourceIdentifiers() []string
- func (snapshot *RdsSnapshot) ResourceName() string
- type RdsSnapshotAPI
- type RedshiftClusters
- func (rc *RedshiftClusters) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (rc *RedshiftClusters) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (rc *RedshiftClusters) Init(cfg aws.Config)
- func (rc *RedshiftClusters) MaxBatchSize() int
- func (rc *RedshiftClusters) Nuke(identifiers []string) error
- func (rc *RedshiftClusters) ResourceIdentifiers() []string
- func (rc *RedshiftClusters) ResourceName() string
- type RedshiftClustersAPI
- type Route53CidrCollection
- func (r *Route53CidrCollection) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (r *Route53CidrCollection) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (r *Route53CidrCollection) Init(cfg aws.Config)
- func (r *Route53CidrCollection) MaxBatchSize() int
- func (r *Route53CidrCollection) Nuke(identifiers []string) error
- func (r *Route53CidrCollection) ResourceIdentifiers() []string
- func (r *Route53CidrCollection) ResourceName() string
- type Route53CidrCollectionAPI
- type Route53HostedZone
- func (r *Route53HostedZone) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (r *Route53HostedZone) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (r *Route53HostedZone) Init(cfg aws.Config)
- func (r *Route53HostedZone) MaxBatchSize() int
- func (r *Route53HostedZone) Nuke(identifiers []string) error
- func (r *Route53HostedZone) ResourceIdentifiers() []string
- func (r *Route53HostedZone) ResourceName() string
- type Route53HostedZoneAPI
- type Route53TrafficPolicy
- func (r *Route53TrafficPolicy) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (r *Route53TrafficPolicy) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (r *Route53TrafficPolicy) Init(cfg aws.Config)
- func (r *Route53TrafficPolicy) MaxBatchSize() int
- func (r *Route53TrafficPolicy) Nuke(identifiers []string) error
- func (r *Route53TrafficPolicy) ResourceIdentifiers() []string
- func (r *Route53TrafficPolicy) ResourceName() string
- type Route53TrafficPolicyAPI
- type RuleGroup
- type S3API
- type S3AccessPoint
- func (ap *S3AccessPoint) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (ap *S3AccessPoint) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (ap *S3AccessPoint) Init(cfg aws.Config)
- func (ap *S3AccessPoint) MaxBatchSize() int
- func (ap *S3AccessPoint) Nuke(identifiers []string) error
- func (ap *S3AccessPoint) ResourceIdentifiers() []string
- func (ap *S3AccessPoint) ResourceName() string
- type S3Bucket
- type S3Buckets
- func (bucket *S3Buckets) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (bucket *S3Buckets) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (bucket *S3Buckets) Init(cfg aws.Config)
- func (bucket *S3Buckets) MaxBatchSize() int
- func (bucket *S3Buckets) MaxConcurrentGetSize() int
- func (bucket *S3Buckets) Nuke(identifiers []string) error
- func (bucket *S3Buckets) ObjectMaxBatchSize() int
- func (bucket *S3Buckets) ResourceIdentifiers() []string
- func (bucket *S3Buckets) ResourceName() string
- type S3ControlAPI
- type S3ControlAccessPointAPI
- type S3ControlMultiRegionAPI
- type S3MultiRegionAccessPoint
- func (ap *S3MultiRegionAccessPoint) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (ap *S3MultiRegionAccessPoint) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (ap *S3MultiRegionAccessPoint) Init(cfg aws.Config)
- func (ap *S3MultiRegionAccessPoint) MaxBatchSize() int
- func (ap *S3MultiRegionAccessPoint) Nuke(identifiers []string) error
- func (ap *S3MultiRegionAccessPoint) ResourceIdentifiers() []string
- func (ap *S3MultiRegionAccessPoint) ResourceName() string
- type S3ObjectLambdaAccessPoint
- func (ap *S3ObjectLambdaAccessPoint) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (ap *S3ObjectLambdaAccessPoint) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (ap *S3ObjectLambdaAccessPoint) Init(cfg aws.Config)
- func (ap *S3ObjectLambdaAccessPoint) MaxBatchSize() int
- func (ap *S3ObjectLambdaAccessPoint) Nuke(identifiers []string) error
- func (ap *S3ObjectLambdaAccessPoint) ResourceIdentifiers() []string
- func (ap *S3ObjectLambdaAccessPoint) ResourceName() string
- type SESAPI
- type SESConfigurationSet
- type SESEmailReceivingAPI
- type SESIdentityAPI
- type SNSTopic
- func (s *SNSTopic) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (s *SNSTopic) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (s *SNSTopic) Init(cfg aws.Config)
- func (s *SNSTopic) MaxBatchSize() int
- func (s *SNSTopic) Nuke(identifiers []string) error
- func (s *SNSTopic) ResourceIdentifiers() []string
- func (s *SNSTopic) ResourceName() string
- type SNSTopicAPI
- type SageMakerAPI
- type SageMakerEndpoint
- func (s *SageMakerEndpoint) GetAll(c context.Context, configObj config.Config) ([]*string, error)
- func (s *SageMakerEndpoint) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (s *SageMakerEndpoint) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (s *SageMakerEndpoint) Init(cfg aws.Config)
- func (s *SageMakerEndpoint) IsNukable(identifier string) (bool, error)
- func (s *SageMakerEndpoint) MaxBatchSize() int
- func (s *SageMakerEndpoint) Nuke(identifiers []string) error
- func (s *SageMakerEndpoint) ResourceIdentifiers() []string
- func (s *SageMakerEndpoint) ResourceName() string
- type SageMakerEndpointConfig
- func (s *SageMakerEndpointConfig) GetAll(c context.Context, configObj config.Config) ([]*string, error)
- func (s *SageMakerEndpointConfig) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (s *SageMakerEndpointConfig) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (s *SageMakerEndpointConfig) Init(cfg aws.Config)
- func (s *SageMakerEndpointConfig) IsNukable(identifier string) (bool, error)
- func (s *SageMakerEndpointConfig) MaxBatchSize() int
- func (s *SageMakerEndpointConfig) Nuke(identifiers []string) error
- func (s *SageMakerEndpointConfig) ResourceIdentifiers() []string
- func (s *SageMakerEndpointConfig) ResourceName() string
- type SageMakerEndpointConfigAPI
- type SageMakerNotebookInstanceDeleteError
- type SageMakerNotebookInstances
- func (smni *SageMakerNotebookInstances) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (smni *SageMakerNotebookInstances) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (smni *SageMakerNotebookInstances) Init(cfg aws.Config)
- func (smni *SageMakerNotebookInstances) MaxBatchSize() int
- func (smni *SageMakerNotebookInstances) Nuke(identifiers []string) error
- func (smni *SageMakerNotebookInstances) ResourceIdentifiers() []string
- func (smni *SageMakerNotebookInstances) ResourceName() string
- type SageMakerNotebookInstancesAPI
- type SageMakerStudio
- func (s *SageMakerStudio) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (s *SageMakerStudio) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (s *SageMakerStudio) Init(cfg aws.Config)
- func (s *SageMakerStudio) IsNukable(identifier string) (bool, error)
- func (s *SageMakerStudio) MaxBatchSize() int
- func (s *SageMakerStudio) Nuke(identifiers []string) error
- func (s *SageMakerStudio) ResourceIdentifiers() []string
- func (s *SageMakerStudio) ResourceName() string
- type SageMakerStudioAPI
- type SecretsManagerSecrets
- func (sms *SecretsManagerSecrets) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (sms *SecretsManagerSecrets) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (sms *SecretsManagerSecrets) Init(cfg aws.Config)
- func (sms *SecretsManagerSecrets) MaxBatchSize() int
- func (sms *SecretsManagerSecrets) Nuke(identifiers []string) error
- func (sms *SecretsManagerSecrets) ResourceIdentifiers() []string
- func (sms *SecretsManagerSecrets) ResourceName() string
- type SecretsManagerSecretsAPI
- type SecurityGroup
- func (sg *SecurityGroup) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (sg *SecurityGroup) Init(cfg aws.Config)
- func (sg *SecurityGroup) MaxBatchSize() int
- func (sg *SecurityGroup) Nuke(identifiers []string) error
- func (sg *SecurityGroup) ResourceIdentifiers() []string
- func (sg *SecurityGroup) ResourceName() string
- func (sg *SecurityGroup) RevokeIPv6SecurityGroupEgress(id string) error
- type SecurityGroupAPI
- type SecurityHub
- func (sh *SecurityHub) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (sh *SecurityHub) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (sh *SecurityHub) Init(cfg aws.Config)
- func (sh *SecurityHub) MaxBatchSize() int
- func (sh *SecurityHub) Nuke(identifiers []string) error
- func (sh *SecurityHub) ResourceIdentifiers() []string
- func (sh *SecurityHub) ResourceName() string
- type SecurityHubAPI
- type SesConfigurationSet
- func (scs *SesConfigurationSet) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (scs *SesConfigurationSet) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (scs *SesConfigurationSet) Init(cfg aws.Config)
- func (scs *SesConfigurationSet) MaxBatchSize() int
- func (scs *SesConfigurationSet) Nuke(identifiers []string) error
- func (scs *SesConfigurationSet) ResourceIdentifiers() []string
- func (scs *SesConfigurationSet) ResourceName() string
- type SesEmailTemplates
- func (set *SesEmailTemplates) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (set *SesEmailTemplates) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (s *SesEmailTemplates) Init(cfg aws.Config)
- func (set *SesEmailTemplates) MaxBatchSize() int
- func (set *SesEmailTemplates) Nuke(identifiers []string) error
- func (set *SesEmailTemplates) ResourceIdentifiers() []string
- func (set *SesEmailTemplates) ResourceName() string
- type SesIdentities
- func (Sid *SesIdentities) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (Sid *SesIdentities) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (Sid *SesIdentities) Init(cfg aws.Config)
- func (Sid *SesIdentities) MaxBatchSize() int
- func (Sid *SesIdentities) Nuke(identifiers []string) error
- func (Sid *SesIdentities) ResourceIdentifiers() []string
- func (Sid *SesIdentities) ResourceName() string
- type SesReceiptFilter
- func (sef *SesReceiptFilter) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (sef *SesReceiptFilter) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (sef *SesReceiptFilter) Init(cfg aws.Config)
- func (sef *SesReceiptFilter) MaxBatchSize() int
- func (sef *SesReceiptFilter) Nuke(identifiers []string) error
- func (sef *SesReceiptFilter) ResourceIdentifiers() []string
- func (sef *SesReceiptFilter) ResourceName() string
- type SesReceiptRule
- func (ser *SesReceiptRule) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (sef *SesReceiptRule) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (sef *SesReceiptRule) Init(cfg aws.Config)
- func (ser *SesReceiptRule) MaxBatchSize() int
- func (ser *SesReceiptRule) Nuke(identifiers []string) error
- func (ser *SesReceiptRule) ResourceIdentifiers() []string
- func (ser *SesReceiptRule) ResourceName() string
- type SnapshotAPI
- type Snapshots
- func (s *Snapshots) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (s *Snapshots) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (s *Snapshots) Init(cfg aws.Config)
- func (s *Snapshots) MaxBatchSize() int
- func (s *Snapshots) Nuke(identifiers []string) error
- func (s *Snapshots) ResourceIdentifiers() []string
- func (s *Snapshots) ResourceName() string
- type SqsQueue
- func (sq *SqsQueue) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (sq *SqsQueue) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (sq *SqsQueue) Init(cfg aws.Config)
- func (sq *SqsQueue) MaxBatchSize() int
- func (sq *SqsQueue) Nuke(identifiers []string) error
- func (sq *SqsQueue) ResourceIdentifiers() []string
- func (sq *SqsQueue) ResourceName() string
- type SqsQueueAPI
- type TGWVpcAPI
- type TooManyAccessAnalyzersErr
- type TooManyApiGatewayErr
- type TooManyApiGatewayV2Err
- type TooManyCloudWatchAlarmsErr
- type TooManyCloudWatchDashboardsErr
- type TooManyEKSClustersErr
- type TooManyElasticFileSystemsErr
- type TooManyIamGroupErr
- type TooManyIamPolicyErr
- type TooManyIamRoleErr
- type TooManyIamServiceLinkedRoleErr
- type TooManyLogGroupsErr
- type TooManyNatErr
- type TooManyOIDCProvidersErr
- type TooManyOpenSearchDomainsErr
- type TooManySNSTopicsErr
- type TooManyStreamsErr
- type TransitGatewayAPI
- type TransitGatewayPeeringAttachment
- func (tgpa *TransitGatewayPeeringAttachment) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (tgpa *TransitGatewayPeeringAttachment) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (tgpa *TransitGatewayPeeringAttachment) Init(cfg aws.Config)
- func (tgpa *TransitGatewayPeeringAttachment) MaxBatchSize() int
- func (tgpa *TransitGatewayPeeringAttachment) Nuke(identifiers []string) error
- func (tgpa *TransitGatewayPeeringAttachment) ResourceIdentifiers() []string
- func (tgpa *TransitGatewayPeeringAttachment) ResourceName() string
- type TransitGatewayPeeringAttachmentAPI
- type TransitGateways
- func (tgw *TransitGateways) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (tgw *TransitGateways) Init(cfg aws.Config)
- func (tgw *TransitGateways) MaxBatchSize() int
- func (tgw *TransitGateways) Nuke(identifiers []string) error
- func (tgw *TransitGateways) ResourceIdentifiers() []string
- func (tgw *TransitGateways) ResourceName() string
- func (tgw *TransitGateways) WaitUntilTransitGatewayAttachmentDeleted(id *string, attachmentType types.TransitGatewayAttachmentResourceType) error
- type TransitGatewaysRouteTables
- func (tgw *TransitGatewaysRouteTables) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (tgw *TransitGatewaysRouteTables) Init(cfg aws.Config)
- func (tgw *TransitGatewaysRouteTables) MaxBatchSize() int
- func (tgw *TransitGatewaysRouteTables) Nuke(identifiers []string) error
- func (tgw *TransitGatewaysRouteTables) ResourceIdentifiers() []string
- func (tgw *TransitGatewaysRouteTables) ResourceName() string
- type TransitGatewaysRouteTablesAPI
- type TransitGatewaysVpcAttachment
- func (tgw *TransitGatewaysVpcAttachment) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (tgw *TransitGatewaysVpcAttachment) Init(cfg aws.Config)
- func (tgw *TransitGatewaysVpcAttachment) MaxBatchSize() int
- func (tgw *TransitGatewaysVpcAttachment) Nuke(identifiers []string) error
- func (tgw *TransitGatewaysVpcAttachment) ResourceIdentifiers() []string
- func (tgw *TransitGatewaysVpcAttachment) ResourceName() string
- type VPCLatticeAPI
- type VPCLatticeService
- func (n *VPCLatticeService) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (n *VPCLatticeService) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (sch *VPCLatticeService) Init(cfg aws.Config)
- func (n *VPCLatticeService) MaxBatchSize() int
- func (n *VPCLatticeService) Nuke(arns []string) error
- func (n *VPCLatticeService) ResourceIdentifiers() []string
- func (n *VPCLatticeService) ResourceName() string
- func (n *VPCLatticeService) ResourceServiceName() string
- type VPCLatticeServiceAPI
- type VPCLatticeServiceNetwork
- func (n *VPCLatticeServiceNetwork) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (n *VPCLatticeServiceNetwork) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (sch *VPCLatticeServiceNetwork) Init(cfg aws.Config)
- func (n *VPCLatticeServiceNetwork) MaxBatchSize() int
- func (n *VPCLatticeServiceNetwork) Nuke(arns []string) error
- func (n *VPCLatticeServiceNetwork) ResourceIdentifiers() []string
- func (n *VPCLatticeServiceNetwork) ResourceName() string
- func (n *VPCLatticeServiceNetwork) ResourceServiceName() string
- type VPCLatticeServiceNetworkAPI
- type VPCLatticeTargetGroup
- func (n *VPCLatticeTargetGroup) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
- func (n *VPCLatticeTargetGroup) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
- func (sch *VPCLatticeTargetGroup) Init(cfg aws.Config)
- func (n *VPCLatticeTargetGroup) MaxBatchSize() int
- func (n *VPCLatticeTargetGroup) Nuke(arns []string) error
- func (n *VPCLatticeTargetGroup) ResourceIdentifiers() []string
- func (n *VPCLatticeTargetGroup) ResourceName() string
- func (n *VPCLatticeTargetGroup) ResourceServiceName() string
Constants ¶
const ( TransitGatewayAttachmentTypePeering = "peering" TransitGatewayAttachmentTypeVPC = "vpc" TransitGatewayAttachmentTypeConnect = "connect" )
const AwsResourceExclusionTagKey = "cloud-nuke-excluded"
const (
NetworkInterfaceTypeInterface = "interface"
)
Variables ¶
var MaxResultCount = int32(10)
var ReceiptRuleAllowedRegions = []string{
"us-east-1", "us-east-2", "us-west-2", "ap-southeast-3", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1",
"ca-central-1", "eu-central-1", "eu-west-1", "eu-west-2",
}
Functions ¶
func ShouldIncludeVpcEndpoint ¶ added in v0.35.0
func SnapshotHasAWSBackupTag ¶
SnapshotHasAWSBackupTag Check if the image has an AWS Backup tag Resources created by AWS Backup are listed as owned by self, but are actually AWS managed resources and cannot be deleted here.
func WaitUntilNotebookInstanceDeleted ¶ added in v0.38.0
func WaitUntilNotebookInstanceDeleted(ctx context.Context, client SageMakerNotebookInstancesAPI, name *string) error
func WaitUntilNotebookInstanceStopped ¶ added in v0.38.0
func WaitUntilNotebookInstanceStopped(ctx context.Context, client SageMakerNotebookInstancesAPI, name *string) error
Types ¶
type ACM ¶
type ACM struct {
BaseAwsResource
Client ACMServiceAPI
Region string
ARNs []string
}
ACM - represents all ACM
func (*ACM) GetAndSetIdentifiers ¶
func (*ACM) GetAndSetResourceConfig ¶ added in v0.37.0
func (a *ACM) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
GetAndSetResourceConfig To get the resource configuration
func (*ACM) MaxBatchSize ¶
func (*ACM) ResourceIdentifiers ¶
ResourceIdentifiers - the arns of the aws certificate manager certificates
func (*ACM) ResourceName ¶
ResourceName - the simple name of the aws resource
type ACMPCA ¶
type ACMPCA struct {
BaseAwsResource
Client ACMPCAServiceAPI
Region string
ARNs []string
}
ACMPCA - represents all ACMPA
func (*ACMPCA) GetAndSetIdentifiers ¶
func (*ACMPCA) GetAndSetResourceConfig ¶ added in v0.37.0
func (ap *ACMPCA) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*ACMPCA) MaxBatchSize ¶
func (*ACMPCA) ResourceIdentifiers ¶
ResourceIdentifiers - The volume ids of the ebs volumes
func (*ACMPCA) ResourceName ¶
ResourceName - the simple name of the aws resource
type ACMPCAServiceAPI ¶ added in v0.38.0
type ACMPCAServiceAPI interface {
DeleteCertificateAuthority(ctx context.Context, params *acmpca.DeleteCertificateAuthorityInput, optFns ...func(*acmpca.Options)) (*acmpca.DeleteCertificateAuthorityOutput, error)
DescribeCertificateAuthority(ctx context.Context, params *acmpca.DescribeCertificateAuthorityInput, optFns ...func(*acmpca.Options)) (*acmpca.DescribeCertificateAuthorityOutput, error)
ListCertificateAuthorities(ctx context.Context, params *acmpca.ListCertificateAuthoritiesInput, optFns ...func(*acmpca.Options)) (*acmpca.ListCertificateAuthoritiesOutput, error)
UpdateCertificateAuthority(ctx context.Context, params *acmpca.UpdateCertificateAuthorityInput, optFns ...func(*acmpca.Options)) (*acmpca.UpdateCertificateAuthorityOutput, error)
}
type ACMServiceAPI ¶ added in v0.38.0
type ACMServiceAPI interface {
DeleteCertificate(ctx context.Context, params *acm.DeleteCertificateInput, optFns ...func(*acm.Options)) (*acm.DeleteCertificateOutput, error)
ListCertificates(ctx context.Context, params *acm.ListCertificatesInput, optFns ...func(*acm.Options)) (*acm.ListCertificatesOutput, error)
}
type AMIs ¶
type AMIs struct {
BaseAwsResource
Client AMIsAPI
Region string
ImageIds []string
}
AMIs - represents all user owned AMIs
func (*AMIs) GetAndSetIdentifiers ¶
func (*AMIs) GetAndSetResourceConfig ¶ added in v0.37.0
func (ami *AMIs) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*AMIs) MaxBatchSize ¶
func (*AMIs) ResourceIdentifiers ¶
ResourceIdentifiers - The AMI image ids
func (*AMIs) ResourceName ¶
ResourceName - the simple name of the aws resource
type AMIsAPI ¶ added in v0.38.0
type AMIsAPI interface {
DeregisterImage(ctx context.Context, params *ec2.DeregisterImageInput, optFns ...func(*ec2.Options)) (*ec2.DeregisterImageOutput, error)
DescribeImages(ctx context.Context, params *ec2.DescribeImagesInput, optFns ...func(*ec2.Options)) (*ec2.DescribeImagesOutput, error)
}
type ASGroups ¶
type ASGroups struct {
BaseAwsResource
Client ASGroupsAPI
Region string
GroupNames []string
}
ASGroups - represents all auto-scaling groups
func (*ASGroups) GetAndSetIdentifiers ¶
func (*ASGroups) GetAndSetResourceConfig ¶ added in v0.37.0
func (ag *ASGroups) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*ASGroups) MaxBatchSize ¶
func (*ASGroups) ResourceIdentifiers ¶
ResourceIdentifiers - The group names of the auto-scaling groups
func (*ASGroups) ResourceName ¶
ResourceName - the simple name of the aws resource
type ASGroupsAPI ¶ added in v0.38.0
type ASGroupsAPI interface {
DescribeAutoScalingGroups(ctx context.Context, params *autoscaling.DescribeAutoScalingGroupsInput, optFns ...func(*autoscaling.Options)) (*autoscaling.DescribeAutoScalingGroupsOutput, error)
DeleteAutoScalingGroup(ctx context.Context, params *autoscaling.DeleteAutoScalingGroupInput, optFns ...func(*autoscaling.Options)) (*autoscaling.DeleteAutoScalingGroupOutput, error)
}
type AccessAnalyzer ¶
type AccessAnalyzer struct {
BaseAwsResource
Client AccessAnalyzerAPI
Region string
AnalyzerNames []string
}
AccessAnalyzer - represents all AWS secrets manager secrets that should be deleted.
func (*AccessAnalyzer) GetAndSetIdentifiers ¶
func (*AccessAnalyzer) GetAndSetResourceConfig ¶ added in v0.37.0
func (analyzer *AccessAnalyzer) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
GetAndSetResourceConfig To get the resource configuration
func (*AccessAnalyzer) Init ¶
func (analyzer *AccessAnalyzer) Init(cfg aws.Config)
func (*AccessAnalyzer) MaxBatchSize ¶
func (analyzer *AccessAnalyzer) MaxBatchSize() int
func (*AccessAnalyzer) Nuke ¶
func (analyzer *AccessAnalyzer) Nuke(identifiers []string) error
Nuke - nuke 'em all!!!
func (*AccessAnalyzer) ResourceIdentifiers ¶
func (analyzer *AccessAnalyzer) ResourceIdentifiers() []string
ResourceIdentifiers - The instance ids of the ec2 instances
func (*AccessAnalyzer) ResourceName ¶
func (analyzer *AccessAnalyzer) ResourceName() string
ResourceName - the simple name of the aws resource
type AccessAnalyzerAPI ¶ added in v0.38.0
type AccessAnalyzerAPI interface {
DeleteAnalyzer(ctx context.Context, params *accessanalyzer.DeleteAnalyzerInput, optFns ...func(*accessanalyzer.Options)) (*accessanalyzer.DeleteAnalyzerOutput, error)
ListAnalyzers(context.Context, *accessanalyzer.ListAnalyzersInput, ...func(*accessanalyzer.Options)) (*accessanalyzer.ListAnalyzersOutput, error)
}
type ApiGateway ¶
type ApiGateway struct {
BaseAwsResource
Client ApiGatewayServiceAPI
Region string
Ids []string
}
func (*ApiGateway) GetAndSetIdentifiers ¶
func (*ApiGateway) GetAndSetResourceConfig ¶ added in v0.37.0
func (gateway *ApiGateway) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*ApiGateway) Init ¶
func (gateway *ApiGateway) Init(cfg aws.Config)
func (*ApiGateway) MaxBatchSize ¶
func (gateway *ApiGateway) MaxBatchSize() int
func (*ApiGateway) Nuke ¶
func (gateway *ApiGateway) Nuke(identifiers []string) error
func (*ApiGateway) ResourceIdentifiers ¶
func (gateway *ApiGateway) ResourceIdentifiers() []string
func (*ApiGateway) ResourceName ¶
func (gateway *ApiGateway) ResourceName() string
type ApiGatewayServiceAPI ¶ added in v0.38.0
type ApiGatewayServiceAPI interface {
GetRestApis(ctx context.Context, params *apigateway.GetRestApisInput, optFns ...func(*apigateway.Options)) (*apigateway.GetRestApisOutput, error)
GetStages(ctx context.Context, params *apigateway.GetStagesInput, optFns ...func(*apigateway.Options)) (*apigateway.GetStagesOutput, error)
GetDomainNames(ctx context.Context, params *apigateway.GetDomainNamesInput, optFns ...func(*apigateway.Options)) (*apigateway.GetDomainNamesOutput, error)
GetBasePathMappings(ctx context.Context, params *apigateway.GetBasePathMappingsInput, optFns ...func(*apigateway.Options)) (*apigateway.GetBasePathMappingsOutput, error)
DeleteBasePathMapping(ctx context.Context, params *apigateway.DeleteBasePathMappingInput, optFns ...func(*apigateway.Options)) (*apigateway.DeleteBasePathMappingOutput, error)
DeleteClientCertificate(ctx context.Context, params *apigateway.DeleteClientCertificateInput, optFns ...func(*apigateway.Options)) (*apigateway.DeleteClientCertificateOutput, error)
DeleteRestApi(ctx context.Context, params *apigateway.DeleteRestApiInput, optFns ...func(*apigateway.Options)) (*apigateway.DeleteRestApiOutput, error)
}
type ApiGatewayV2 ¶
type ApiGatewayV2 struct {
BaseAwsResource
Client ApiGatewayV2API
Region string
Ids []string
}
func (*ApiGatewayV2) GetAndSetIdentifiers ¶
func (*ApiGatewayV2) GetAndSetResourceConfig ¶ added in v0.37.0
func (gw *ApiGatewayV2) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*ApiGatewayV2) Init ¶
func (gw *ApiGatewayV2) Init(cfg aws.Config)
func (*ApiGatewayV2) MaxBatchSize ¶
func (gw *ApiGatewayV2) MaxBatchSize() int
func (*ApiGatewayV2) Nuke ¶
func (gw *ApiGatewayV2) Nuke(identifiers []string) error
func (*ApiGatewayV2) ResourceIdentifiers ¶
func (gw *ApiGatewayV2) ResourceIdentifiers() []string
func (*ApiGatewayV2) ResourceName ¶
func (gw *ApiGatewayV2) ResourceName() string
type ApiGatewayV2API ¶ added in v0.38.0
type ApiGatewayV2API interface {
GetApis(ctx context.Context, params *apigatewayv2.GetApisInput, optFns ...func(*apigatewayv2.Options)) (*apigatewayv2.GetApisOutput, error)
GetDomainNames(ctx context.Context, params *apigatewayv2.GetDomainNamesInput, optFns ...func(*apigatewayv2.Options)) (*apigatewayv2.GetDomainNamesOutput, error)
GetApiMappings(ctx context.Context, params *apigatewayv2.GetApiMappingsInput, optFns ...func(*apigatewayv2.Options)) (*apigatewayv2.GetApiMappingsOutput, error)
DeleteApi(ctx context.Context, params *apigatewayv2.DeleteApiInput, optFns ...func(*apigatewayv2.Options)) (*apigatewayv2.DeleteApiOutput, error)
DeleteApiMapping(ctx context.Context, params *apigatewayv2.DeleteApiMappingInput, optFns ...func(*apigatewayv2.Options)) (*apigatewayv2.DeleteApiMappingOutput, error)
}
type AppRunnerService ¶ added in v0.37.0
type AppRunnerService struct {
BaseAwsResource
Client AppRunnerServiceAPI
Region string
AppRunners []string
}
func (*AppRunnerService) GetAndSetIdentifiers ¶ added in v0.37.0
func (*AppRunnerService) GetAndSetResourceConfig ¶ added in v0.37.0
func (a *AppRunnerService) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*AppRunnerService) Init ¶ added in v0.37.0
func (a *AppRunnerService) Init(cfg aws.Config)
func (*AppRunnerService) MaxBatchSize ¶ added in v0.37.0
func (a *AppRunnerService) MaxBatchSize() int
func (*AppRunnerService) Nuke ¶ added in v0.37.0
func (a *AppRunnerService) Nuke(identifiers []string) error
func (*AppRunnerService) ResourceIdentifiers ¶ added in v0.37.0
func (a *AppRunnerService) ResourceIdentifiers() []string
func (*AppRunnerService) ResourceName ¶ added in v0.37.0
func (a *AppRunnerService) ResourceName() string
type AppRunnerServiceAPI ¶ added in v0.38.0
type AppRunnerServiceAPI interface {
DeleteService(ctx context.Context, params *apprunner.DeleteServiceInput, optFns ...func(*apprunner.Options)) (*apprunner.DeleteServiceOutput, error)
ListServices(ctx context.Context, params *apprunner.ListServicesInput, optFns ...func(*apprunner.Options)) (*apprunner.ListServicesOutput, error)
}
type BackupVault ¶
type BackupVault struct {
BaseAwsResource
Client BackupVaultAPI
Region string
Names []string
}
func (*BackupVault) GetAndSetIdentifiers ¶
func (*BackupVault) GetAndSetResourceConfig ¶ added in v0.37.0
func (bv *BackupVault) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*BackupVault) Init ¶
func (bv *BackupVault) Init(cfg aws.Config)
func (*BackupVault) MaxBatchSize ¶
func (bv *BackupVault) MaxBatchSize() int
func (*BackupVault) Nuke ¶
func (bv *BackupVault) Nuke(identifiers []string) error
Nuke - nuke 'em all!!!
func (*BackupVault) ResourceIdentifiers ¶
func (bv *BackupVault) ResourceIdentifiers() []string
ResourceIdentifiers - The instance ids of the ec2 instances
func (*BackupVault) ResourceName ¶
func (bv *BackupVault) ResourceName() string
ResourceName - the simple name of the aws resource
func (*BackupVault) WaitUntilRecoveryPointsDeleted ¶ added in v0.37.2
func (bv *BackupVault) WaitUntilRecoveryPointsDeleted(name *string) error
type BackupVaultAPI ¶ added in v0.38.0
type BackupVaultAPI interface {
DeleteBackupVault(ctx context.Context, params *backup.DeleteBackupVaultInput, optFns ...func(*backup.Options)) (*backup.DeleteBackupVaultOutput, error)
DeleteRecoveryPoint(ctx context.Context, params *backup.DeleteRecoveryPointInput, optFns ...func(*backup.Options)) (*backup.DeleteRecoveryPointOutput, error)
ListBackupVaults(ctx context.Context, params *backup.ListBackupVaultsInput, optFns ...func(*backup.Options)) (*backup.ListBackupVaultsOutput, error)
ListRecoveryPointsByBackupVault(ctx context.Context, params *backup.ListRecoveryPointsByBackupVaultInput, optFns ...func(*backup.Options)) (*backup.ListRecoveryPointsByBackupVaultOutput, error)
}
type BaseAwsResource ¶ added in v0.34.0
type BaseAwsResource struct {
// A key-value of identifiers and nukable status
Nukables map[string]error
Timeout time.Duration
Context context.Context
// contains filtered or unexported fields
}
BaseAwsResource struct and its associated methods to serve as a placeholder or template for a resource that is not yet fully implemented within a system or framework. Its purpose is to provide a skeleton structure that adheres to a specific interface or contract expected by the system without containing the actual implementation details.
func (*BaseAwsResource) GetAndSetIdentifiers ¶ added in v0.34.0
func (*BaseAwsResource) GetAndSetResourceConfig ¶ added in v0.35.0
func (br *BaseAwsResource) GetAndSetResourceConfig(_ config.Config) config.ResourceType
func (*BaseAwsResource) GetNukableStatus ¶ added in v0.34.0
func (br *BaseAwsResource) GetNukableStatus(identifier string) (error, bool)
func (*BaseAwsResource) Init ¶ added in v0.34.0
func (br *BaseAwsResource) Init(cfg aws.Config)
func (*BaseAwsResource) IsNukable ¶ added in v0.34.0
func (br *BaseAwsResource) IsNukable(identifier string) (bool, error)
func (*BaseAwsResource) MaxBatchSize ¶ added in v0.34.0
func (br *BaseAwsResource) MaxBatchSize() int
func (*BaseAwsResource) Nuke ¶ added in v0.34.0
func (br *BaseAwsResource) Nuke(_ []string) error
func (*BaseAwsResource) PrepareContext ¶ added in v0.35.0
func (br *BaseAwsResource) PrepareContext(parentContext context.Context, resourceConfig config.ResourceType) error
func (*BaseAwsResource) ResourceIdentifiers ¶ added in v0.34.0
func (br *BaseAwsResource) ResourceIdentifiers() []string
func (*BaseAwsResource) ResourceName ¶ added in v0.34.0
func (br *BaseAwsResource) ResourceName() string
func (*BaseAwsResource) SetNukableStatus ¶ added in v0.34.0
func (br *BaseAwsResource) SetNukableStatus(identifier string, err error)
func (*BaseAwsResource) VerifyNukablePermissions ¶ added in v0.34.0
func (br *BaseAwsResource) VerifyNukablePermissions(ids []*string, nukableCheckfn func(id *string) error)
VerifyNukablePermissions performs nukable permission verification for each ID. For each ID, the function is executed, and the result (error or success) is recorded using the SetNukableStatus method, indicating whether the specified action is nukable
type CacheClusterType ¶
type CacheClusterType string
const ( Replication CacheClusterType = "replication" Single CacheClusterType = "single" )
type CloudFormationStacks ¶ added in v0.43.0
type CloudFormationStacks struct {
BaseAwsResource
Client CloudFormationStacksAPI
Region string
StackNames []string
}
func (*CloudFormationStacks) GetAndSetIdentifiers ¶ added in v0.43.0
func (*CloudFormationStacks) GetAndSetResourceConfig ¶ added in v0.43.0
func (cfs *CloudFormationStacks) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*CloudFormationStacks) Init ¶ added in v0.43.0
func (cfs *CloudFormationStacks) Init(cfg aws.Config)
func (*CloudFormationStacks) MaxBatchSize ¶ added in v0.43.0
func (cfs *CloudFormationStacks) MaxBatchSize() int
func (*CloudFormationStacks) Nuke ¶ added in v0.43.0
func (cfs *CloudFormationStacks) Nuke(identifiers []string) error
func (*CloudFormationStacks) ResourceIdentifiers ¶ added in v0.43.0
func (cfs *CloudFormationStacks) ResourceIdentifiers() []string
func (*CloudFormationStacks) ResourceName ¶ added in v0.43.0
func (cfs *CloudFormationStacks) ResourceName() string
type CloudFormationStacksAPI ¶ added in v0.43.0
type CloudFormationStacksAPI interface {
ListStacks(ctx context.Context, params *cloudformation.ListStacksInput, optFns ...func(*cloudformation.Options)) (*cloudformation.ListStacksOutput, error)
DeleteStack(ctx context.Context, params *cloudformation.DeleteStackInput, optFns ...func(*cloudformation.Options)) (*cloudformation.DeleteStackOutput, error)
DescribeStacks(ctx context.Context, params *cloudformation.DescribeStacksInput, optFns ...func(*cloudformation.Options)) (*cloudformation.DescribeStacksOutput, error)
}
type CloudMapNamespaces ¶ added in v0.43.0
type CloudMapNamespaces struct {
BaseAwsResource
Client CloudMapNamespacesAPI
Region string
NamespaceIds []string // Collection of namespace IDs to be managed
}
CloudMapNamespaces represents all Cloud Map namespaces found in a region. It embeds BaseAwsResource to inherit common resource management functionality.
func (*CloudMapNamespaces) GetAndSetIdentifiers ¶ added in v0.43.0
func (cns *CloudMapNamespaces) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
GetAndSetIdentifiers retrieves all Cloud Map namespace IDs that match the given configuration. It stores the found IDs internally and returns them.
func (*CloudMapNamespaces) GetAndSetResourceConfig ¶ added in v0.43.0
func (cns *CloudMapNamespaces) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*CloudMapNamespaces) Init ¶ added in v0.43.0
func (cns *CloudMapNamespaces) Init(cfg aws.Config)
Init initializes the CloudMapNamespaces resource with an AWS configuration. It creates the AWS Cloud Map client from the provided configuration.
func (*CloudMapNamespaces) MaxBatchSize ¶ added in v0.43.0
func (cns *CloudMapNamespaces) MaxBatchSize() int
MaxBatchSize returns the maximum number of resources that should be processed in a single batch. This helps prevent API rate limiting and timeouts.
func (*CloudMapNamespaces) Nuke ¶ added in v0.43.0
func (cns *CloudMapNamespaces) Nuke(identifiers []string) error
Nuke deletes all Cloud Map namespaces identified by the provided IDs. It ensures proper cleanup by waiting for dependent services to be deleted first.
func (*CloudMapNamespaces) ResourceIdentifiers ¶ added in v0.43.0
func (cns *CloudMapNamespaces) ResourceIdentifiers() []string
func (*CloudMapNamespaces) ResourceName ¶ added in v0.43.0
func (cns *CloudMapNamespaces) ResourceName() string
ResourceName returns the descriptive name of this resource type. This name is used in logging and reporting.
type CloudMapNamespacesAPI ¶ added in v0.43.0
type CloudMapNamespacesAPI interface {
ListNamespaces(ctx context.Context, params *servicediscovery.ListNamespacesInput, optFns ...func(*servicediscovery.Options)) (*servicediscovery.ListNamespacesOutput, error)
DeleteNamespace(ctx context.Context, params *servicediscovery.DeleteNamespaceInput, optFns ...func(*servicediscovery.Options)) (*servicediscovery.DeleteNamespaceOutput, error)
GetNamespace(ctx context.Context, params *servicediscovery.GetNamespaceInput, optFns ...func(*servicediscovery.Options)) (*servicediscovery.GetNamespaceOutput, error)
ListServices(ctx context.Context, params *servicediscovery.ListServicesInput, optFns ...func(*servicediscovery.Options)) (*servicediscovery.ListServicesOutput, error)
}
CloudMapNamespacesAPI defines the interface for the AWS Cloud Map API operations needed to manage namespaces. This interface is used for both real AWS SDK clients and mock implementations in tests.
type CloudMapServices ¶ added in v0.43.0
type CloudMapServices struct {
BaseAwsResource
Client CloudMapServicesAPI
Region string
ServiceIds []string // Collection of service IDs to be managed
}
CloudMapServices represents all Cloud Map services found in a region. It embeds BaseAwsResource to inherit common resource management functionality.
func (*CloudMapServices) GetAndSetIdentifiers ¶ added in v0.43.0
func (cms *CloudMapServices) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
GetAndSetIdentifiers retrieves all Cloud Map service IDs that match the given configuration. It stores the found IDs internally and returns them.
func (*CloudMapServices) GetAndSetResourceConfig ¶ added in v0.43.0
func (cms *CloudMapServices) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*CloudMapServices) Init ¶ added in v0.43.0
func (cms *CloudMapServices) Init(cfg aws.Config)
Init initializes the CloudMapServices resource with an AWS configuration. It creates the AWS Cloud Map client from the provided configuration.
func (*CloudMapServices) MaxBatchSize ¶ added in v0.43.0
func (cms *CloudMapServices) MaxBatchSize() int
MaxBatchSize returns the maximum number of resources that should be processed in a single batch. This helps prevent API rate limiting and timeouts.
func (*CloudMapServices) Nuke ¶ added in v0.43.0
func (cms *CloudMapServices) Nuke(identifiers []string) error
Nuke deletes all Cloud Map services identified by the provided IDs. It ensures proper cleanup by deregistering all service instances first.
func (*CloudMapServices) ResourceIdentifiers ¶ added in v0.43.0
func (cms *CloudMapServices) ResourceIdentifiers() []string
func (*CloudMapServices) ResourceName ¶ added in v0.43.0
func (cms *CloudMapServices) ResourceName() string
ResourceName returns the descriptive name of this resource type. This name is used in logging and reporting.
type CloudMapServicesAPI ¶ added in v0.43.0
type CloudMapServicesAPI interface {
ListServices(ctx context.Context, params *servicediscovery.ListServicesInput, optFns ...func(*servicediscovery.Options)) (*servicediscovery.ListServicesOutput, error)
DeleteService(ctx context.Context, params *servicediscovery.DeleteServiceInput, optFns ...func(*servicediscovery.Options)) (*servicediscovery.DeleteServiceOutput, error)
ListInstances(ctx context.Context, params *servicediscovery.ListInstancesInput, optFns ...func(*servicediscovery.Options)) (*servicediscovery.ListInstancesOutput, error)
DeregisterInstance(ctx context.Context, params *servicediscovery.DeregisterInstanceInput, optFns ...func(*servicediscovery.Options)) (*servicediscovery.DeregisterInstanceOutput, error)
}
CloudMapServicesAPI defines the interface for the AWS Cloud Map API operations needed to manage services. This interface is used for both real AWS SDK clients and mock implementations in tests.
type CloudWatchAlarms ¶
type CloudWatchAlarms struct {
BaseAwsResource
Client CloudWatchAlarmsAPI
Region string
AlarmNames []string
}
CloudWatchAlarms - represents all CloudWatchAlarms that should be deleted.
func (*CloudWatchAlarms) GetAndSetIdentifiers ¶
func (*CloudWatchAlarms) GetAndSetResourceConfig ¶ added in v0.37.0
func (cw *CloudWatchAlarms) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*CloudWatchAlarms) Init ¶
func (cw *CloudWatchAlarms) Init(cfg aws.Config)
func (*CloudWatchAlarms) MaxBatchSize ¶
func (cw *CloudWatchAlarms) MaxBatchSize() int
func (*CloudWatchAlarms) Nuke ¶
func (cw *CloudWatchAlarms) Nuke(identifiers []string) error
Nuke - nuke 'em all!!!
func (*CloudWatchAlarms) ResourceIdentifiers ¶
func (cw *CloudWatchAlarms) ResourceIdentifiers() []string
ResourceIdentifiers - The name of cloudwatch alarms
func (*CloudWatchAlarms) ResourceName ¶
func (cw *CloudWatchAlarms) ResourceName() string
ResourceName - the simple name of the aws resource
type CloudWatchAlarmsAPI ¶ added in v0.38.0
type CloudWatchAlarmsAPI interface {
DescribeAlarms(ctx context.Context, params *cloudwatch.DescribeAlarmsInput, optFns ...func(*cloudwatch.Options)) (*cloudwatch.DescribeAlarmsOutput, error)
DeleteAlarms(ctx context.Context, params *cloudwatch.DeleteAlarmsInput, optFns ...func(*cloudwatch.Options)) (*cloudwatch.DeleteAlarmsOutput, error)
PutCompositeAlarm(ctx context.Context, params *cloudwatch.PutCompositeAlarmInput, optFns ...func(*cloudwatch.Options)) (*cloudwatch.PutCompositeAlarmOutput, error)
}
type CloudWatchDashboards ¶
type CloudWatchDashboards struct {
BaseAwsResource
Client CloudWatchDashboardsAPI
Region string
DashboardNames []string
}
CloudWatchDashboards - represents all CloudWatch Dashboards that should be deleted.
func (*CloudWatchDashboards) GetAndSetIdentifiers ¶
func (*CloudWatchDashboards) GetAndSetResourceConfig ¶ added in v0.37.0
func (cwdb *CloudWatchDashboards) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*CloudWatchDashboards) Init ¶
func (cwdb *CloudWatchDashboards) Init(cfg aws.Config)
func (*CloudWatchDashboards) MaxBatchSize ¶
func (cwdb *CloudWatchDashboards) MaxBatchSize() int
func (*CloudWatchDashboards) Nuke ¶
func (cwdb *CloudWatchDashboards) Nuke(identifiers []string) error
Nuke - nuke 'em all!!!
func (*CloudWatchDashboards) ResourceIdentifiers ¶
func (cwdb *CloudWatchDashboards) ResourceIdentifiers() []string
ResourceIdentifiers - The dashboard names of the cloudwatch dashboards
func (*CloudWatchDashboards) ResourceName ¶
func (cwdb *CloudWatchDashboards) ResourceName() string
ResourceName - the simple name of the aws resource
type CloudWatchDashboardsAPI ¶ added in v0.38.0
type CloudWatchDashboardsAPI interface {
ListDashboards(ctx context.Context, params *cloudwatch.ListDashboardsInput, optFns ...func(*cloudwatch.Options)) (*cloudwatch.ListDashboardsOutput, error)
DeleteDashboards(ctx context.Context, params *cloudwatch.DeleteDashboardsInput, optFns ...func(*cloudwatch.Options)) (*cloudwatch.DeleteDashboardsOutput, error)
}
type CloudWatchLogGroups ¶
type CloudWatchLogGroups struct {
BaseAwsResource
Client CloudWatchLogGroupsAPI
Region string
Names []string
}
CloudWatchLogGroups - represents all Cloud Watch Log Groups
func (*CloudWatchLogGroups) GetAndSetIdentifiers ¶
func (*CloudWatchLogGroups) GetAndSetResourceConfig ¶ added in v0.37.0
func (csr *CloudWatchLogGroups) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*CloudWatchLogGroups) Init ¶
func (csr *CloudWatchLogGroups) Init(cfg aws.Config)
func (*CloudWatchLogGroups) MaxBatchSize ¶
func (csr *CloudWatchLogGroups) MaxBatchSize() int
func (*CloudWatchLogGroups) Nuke ¶
func (csr *CloudWatchLogGroups) Nuke(identifiers []string) error
Nuke - nuke 'em all!!!
func (*CloudWatchLogGroups) ResourceIdentifiers ¶
func (csr *CloudWatchLogGroups) ResourceIdentifiers() []string
ResourceIdentifiers - The instance ids of the ec2 instances
func (*CloudWatchLogGroups) ResourceName ¶
func (csr *CloudWatchLogGroups) ResourceName() string
ResourceName - the simple name of the aws resource
type CloudWatchLogGroupsAPI ¶ added in v0.38.0
type CloudWatchLogGroupsAPI interface {
DescribeLogGroups(ctx context.Context, params *cloudwatchlogs.DescribeLogGroupsInput, optFns ...func(*cloudwatchlogs.Options)) (*cloudwatchlogs.DescribeLogGroupsOutput, error)
DeleteLogGroup(ctx context.Context, params *cloudwatchlogs.DeleteLogGroupInput, optFns ...func(*cloudwatchlogs.Options)) (*cloudwatchlogs.DeleteLogGroupOutput, error)
}
type CloudfrontDistribution ¶ added in v0.41.0
type CloudfrontDistribution struct {
BaseAwsResource
Client CloudfrontDistributionAPI
Region string
Ids []string
}
CloudfrontDistribution - represents all CloudTrails
func (*CloudfrontDistribution) GetAndSetIdentifiers ¶ added in v0.41.0
func (*CloudfrontDistribution) GetAndSetResourceConfig ¶ added in v0.41.0
func (cd *CloudfrontDistribution) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*CloudfrontDistribution) Init ¶ added in v0.41.0
func (cd *CloudfrontDistribution) Init(cfg aws.Config)
func (*CloudfrontDistribution) MaxBatchSize ¶ added in v0.41.0
func (cd *CloudfrontDistribution) MaxBatchSize() int
func (*CloudfrontDistribution) Nuke ¶ added in v0.41.0
func (cd *CloudfrontDistribution) Nuke(identifiers []string) error
Nuke - nuke 'em all!!!
func (*CloudfrontDistribution) ResourceIdentifiers ¶ added in v0.41.0
func (cd *CloudfrontDistribution) ResourceIdentifiers() []string
ResourceIdentifiers - The instance ids of the ec2 instances
func (*CloudfrontDistribution) ResourceName ¶ added in v0.41.0
func (cd *CloudfrontDistribution) ResourceName() string
ResourceName - the simple name of the aws resource
type CloudfrontDistributionAPI ¶ added in v0.41.0
type CloudfrontDistributionAPI interface {
ListDistributions(ctx context.Context, params *cloudfront.ListDistributionsInput, optFns ...func(*cloudfront.Options)) (*cloudfront.ListDistributionsOutput, error)
GetDistributionConfig(ctx context.Context, params *cloudfront.GetDistributionConfigInput, optFns ...func(*cloudfront.Options)) (*cloudfront.GetDistributionConfigOutput, error)
UpdateDistribution(ctx context.Context, params *cloudfront.UpdateDistributionInput, optFns ...func(*cloudfront.Options)) (*cloudfront.UpdateDistributionOutput, error)
DeleteDistribution(ctx context.Context, params *cloudfront.DeleteDistributionInput, optFns ...func(*cloudfront.Options)) (*cloudfront.DeleteDistributionOutput, error)
}
type CloudtrailTrail ¶
type CloudtrailTrail struct {
BaseAwsResource
Client CloudtrailTrailAPI
Region string
Arns []string
}
CloudtrailTrail - represents all CloudTrails
func (*CloudtrailTrail) GetAndSetIdentifiers ¶
func (*CloudtrailTrail) GetAndSetResourceConfig ¶ added in v0.37.0
func (ct *CloudtrailTrail) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*CloudtrailTrail) Init ¶
func (ct *CloudtrailTrail) Init(cfg aws.Config)
func (*CloudtrailTrail) MaxBatchSize ¶
func (ct *CloudtrailTrail) MaxBatchSize() int
func (*CloudtrailTrail) Nuke ¶
func (ct *CloudtrailTrail) Nuke(identifiers []string) error
Nuke - nuke 'em all!!!
func (*CloudtrailTrail) ResourceIdentifiers ¶
func (ct *CloudtrailTrail) ResourceIdentifiers() []string
ResourceIdentifiers - The instance ids of the ec2 instances
func (*CloudtrailTrail) ResourceName ¶
func (ct *CloudtrailTrail) ResourceName() string
ResourceName - the simple name of the aws resource
type CloudtrailTrailAPI ¶ added in v0.38.0
type CloudtrailTrailAPI interface {
ListTrails(ctx context.Context, params *cloudtrail.ListTrailsInput, optFns ...func(*cloudtrail.Options)) (*cloudtrail.ListTrailsOutput, error)
DeleteTrail(ctx context.Context, params *cloudtrail.DeleteTrailInput, optFns ...func(*cloudtrail.Options)) (*cloudtrail.DeleteTrailOutput, error)
ListTags(ctx context.Context, params *cloudtrail.ListTagsInput, optFns ...func(*cloudtrail.Options)) (*cloudtrail.ListTagsOutput, error)
}
type CodeDeployApplications ¶
type CodeDeployApplications struct {
BaseAwsResource
Client CodeDeployApplicationsAPI
Region string
AppNames []string
}
CodeDeployApplications - represents all codedeploy applications
func (*CodeDeployApplications) GetAndSetIdentifiers ¶
func (*CodeDeployApplications) GetAndSetResourceConfig ¶ added in v0.37.0
func (cda *CodeDeployApplications) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*CodeDeployApplications) Init ¶
func (cda *CodeDeployApplications) Init(cfg aws.Config)
func (*CodeDeployApplications) MaxBatchSize ¶
func (cda *CodeDeployApplications) MaxBatchSize() int
func (*CodeDeployApplications) Nuke ¶
func (cda *CodeDeployApplications) Nuke(identifiers []string) error
Nuke - nuke 'em all!!!
func (*CodeDeployApplications) ResourceIdentifiers ¶
func (cda *CodeDeployApplications) ResourceIdentifiers() []string
ResourceIdentifiers - The instance ids of the code deploy applications
func (*CodeDeployApplications) ResourceName ¶
func (cda *CodeDeployApplications) ResourceName() string
ResourceName - the simple name of the aws resource
type CodeDeployApplicationsAPI ¶ added in v0.38.0
type CodeDeployApplicationsAPI interface {
ListApplications(ctx context.Context, params *codedeploy.ListApplicationsInput, optFns ...func(*codedeploy.Options)) (*codedeploy.ListApplicationsOutput, error)
BatchGetApplications(ctx context.Context, params *codedeploy.BatchGetApplicationsInput, optFns ...func(*codedeploy.Options)) (*codedeploy.BatchGetApplicationsOutput, error)
DeleteApplication(ctx context.Context, params *codedeploy.DeleteApplicationInput, optFns ...func(*codedeploy.Options)) (*codedeploy.DeleteApplicationOutput, error)
}
type ConfigServiceRecorders ¶
type ConfigServiceRecorders struct {
BaseAwsResource
Client ConfigServiceRecordersAPI
Region string
RecorderNames []string
}
func (*ConfigServiceRecorders) GetAndSetIdentifiers ¶
func (*ConfigServiceRecorders) GetAndSetResourceConfig ¶ added in v0.37.0
func (csr *ConfigServiceRecorders) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*ConfigServiceRecorders) Init ¶
func (csr *ConfigServiceRecorders) Init(cfg aws.Config)
func (*ConfigServiceRecorders) MaxBatchSize ¶
func (csr *ConfigServiceRecorders) MaxBatchSize() int
func (*ConfigServiceRecorders) Nuke ¶
func (csr *ConfigServiceRecorders) Nuke(configServiceRecorderNames []string) error
func (*ConfigServiceRecorders) ResourceIdentifiers ¶
func (csr *ConfigServiceRecorders) ResourceIdentifiers() []string
func (*ConfigServiceRecorders) ResourceName ¶
func (csr *ConfigServiceRecorders) ResourceName() string
type ConfigServiceRecordersAPI ¶ added in v0.38.0
type ConfigServiceRecordersAPI interface {
DescribeConfigurationRecorders(ctx context.Context, params *configservice.DescribeConfigurationRecordersInput, optFns ...func(*configservice.Options)) (*configservice.DescribeConfigurationRecordersOutput, error)
DeleteConfigurationRecorder(ctx context.Context, params *configservice.DeleteConfigurationRecorderInput, optFns ...func(*configservice.Options)) (*configservice.DeleteConfigurationRecorderOutput, error)
}
type ConfigServiceRule ¶
type ConfigServiceRule struct {
BaseAwsResource
Client ConfigServiceRuleAPI
Region string
RuleNames []string
}
func (*ConfigServiceRule) GetAndSetIdentifiers ¶
func (*ConfigServiceRule) GetAndSetResourceConfig ¶ added in v0.37.0
func (csr *ConfigServiceRule) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*ConfigServiceRule) Init ¶
func (csr *ConfigServiceRule) Init(cfg aws.Config)
func (*ConfigServiceRule) MaxBatchSize ¶
func (csr *ConfigServiceRule) MaxBatchSize() int
func (*ConfigServiceRule) Nuke ¶
func (csr *ConfigServiceRule) Nuke(identifiers []string) error
func (*ConfigServiceRule) ResourceIdentifiers ¶
func (csr *ConfigServiceRule) ResourceIdentifiers() []string
func (*ConfigServiceRule) ResourceName ¶
func (csr *ConfigServiceRule) ResourceName() string
type ConfigServiceRuleAPI ¶ added in v0.38.0
type ConfigServiceRuleAPI interface {
DescribeConfigRules(ctx context.Context, params *configservice.DescribeConfigRulesInput, optFns ...func(*configservice.Options)) (*configservice.DescribeConfigRulesOutput, error)
DescribeRemediationConfigurations(ctx context.Context, params *configservice.DescribeRemediationConfigurationsInput, optFns ...func(*configservice.Options)) (*configservice.DescribeRemediationConfigurationsOutput, error)
DeleteRemediationConfiguration(ctx context.Context, params *configservice.DeleteRemediationConfigurationInput, optFns ...func(*configservice.Options)) (*configservice.DeleteRemediationConfigurationOutput, error)
DeleteConfigRule(ctx context.Context, params *configservice.DeleteConfigRuleInput, optFns ...func(*configservice.Options)) (*configservice.DeleteConfigRuleOutput, error)
}
type CouldNotLookupCacheClusterErr ¶
type CouldNotLookupCacheClusterErr struct {
ClusterId *string
}
func (CouldNotLookupCacheClusterErr) Error ¶
func (err CouldNotLookupCacheClusterErr) Error() string
type DBClusters ¶
type DBClusters struct {
BaseAwsResource
Client DBClustersAPI
Region string
InstanceNames []string
}
func (*DBClusters) GetAndSetIdentifiers ¶
func (*DBClusters) GetAndSetResourceConfig ¶ added in v0.37.0
func (instance *DBClusters) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*DBClusters) Init ¶
func (instance *DBClusters) Init(cfg aws.Config)
func (*DBClusters) MaxBatchSize ¶
func (instance *DBClusters) MaxBatchSize() int
func (*DBClusters) Nuke ¶
func (instance *DBClusters) Nuke(identifiers []string) error
Nuke - nuke 'em all!!!
func (*DBClusters) ResourceIdentifiers ¶
func (instance *DBClusters) ResourceIdentifiers() []string
ResourceIdentifiers - The instance names of the rds db instances
func (*DBClusters) ResourceName ¶
func (instance *DBClusters) ResourceName() string
type DBClustersAPI ¶ added in v0.38.0
type DBClustersAPI interface {
DeleteDBCluster(ctx context.Context, params *rds.DeleteDBClusterInput, optFns ...func(*rds.Options)) (*rds.DeleteDBClusterOutput, error)
DescribeDBClusters(ctx context.Context, params *rds.DescribeDBClustersInput, optFns ...func(*rds.Options)) (*rds.DescribeDBClustersOutput, error)
ModifyDBCluster(ctx context.Context, params *rds.ModifyDBClusterInput, optFns ...func(*rds.Options)) (*rds.ModifyDBClusterOutput, error)
}
type DBGCMembershipsAPI ¶ added in v0.38.0
type DBGCMembershipsAPI interface {
DescribeGlobalClusters(ctx context.Context, params *rds.DescribeGlobalClustersInput, optFns ...func(*rds.Options)) (*rds.DescribeGlobalClustersOutput, error)
RemoveFromGlobalCluster(ctx context.Context, params *rds.RemoveFromGlobalClusterInput, optFns ...func(*rds.Options)) (*rds.RemoveFromGlobalClusterOutput, error)
}
type DBGlobalClusterMemberships ¶ added in v0.36.0
type DBGlobalClusterMemberships struct {
BaseAwsResource
Client DBGCMembershipsAPI
Region string
InstanceNames []string
}
func (*DBGlobalClusterMemberships) GetAndSetIdentifiers ¶ added in v0.36.0
func (*DBGlobalClusterMemberships) GetAndSetResourceConfig ¶ added in v0.37.0
func (instance *DBGlobalClusterMemberships) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*DBGlobalClusterMemberships) Init ¶ added in v0.36.0
func (instance *DBGlobalClusterMemberships) Init(cfg aws.Config)
func (*DBGlobalClusterMemberships) MaxBatchSize ¶ added in v0.36.0
func (instance *DBGlobalClusterMemberships) MaxBatchSize() int
func (*DBGlobalClusterMemberships) Nuke ¶ added in v0.36.0
func (instance *DBGlobalClusterMemberships) Nuke(identifiers []string) error
Nuke - nuke 'em all!!!
func (*DBGlobalClusterMemberships) ResourceIdentifiers ¶ added in v0.36.0
func (instance *DBGlobalClusterMemberships) ResourceIdentifiers() []string
ResourceIdentifiers - The instance names of the rds db instances
func (*DBGlobalClusterMemberships) ResourceName ¶ added in v0.36.0
func (instance *DBGlobalClusterMemberships) ResourceName() string
type DBGlobalClusters ¶ added in v0.36.0
type DBGlobalClusters struct {
BaseAwsResource
Client DBGlobalClustersAPI
Region string
InstanceNames []string
}
func (*DBGlobalClusters) GetAndSetIdentifiers ¶ added in v0.36.0
func (*DBGlobalClusters) GetAndSetResourceConfig ¶ added in v0.37.0
func (instance *DBGlobalClusters) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*DBGlobalClusters) Init ¶ added in v0.36.0
func (instance *DBGlobalClusters) Init(cfg aws.Config)
func (*DBGlobalClusters) MaxBatchSize ¶ added in v0.36.0
func (instance *DBGlobalClusters) MaxBatchSize() int
func (*DBGlobalClusters) Nuke ¶ added in v0.36.0
func (instance *DBGlobalClusters) Nuke(identifiers []string) error
Nuke - nuke 'em all!!!
func (*DBGlobalClusters) ResourceIdentifiers ¶ added in v0.36.0
func (instance *DBGlobalClusters) ResourceIdentifiers() []string
ResourceIdentifiers - The instance names of the rds db instances
func (*DBGlobalClusters) ResourceName ¶ added in v0.36.0
func (instance *DBGlobalClusters) ResourceName() string
type DBGlobalClustersAPI ¶ added in v0.38.0
type DBGlobalClustersAPI interface {
DescribeGlobalClusters(ctx context.Context, params *rds.DescribeGlobalClustersInput, optFns ...func(*rds.Options)) (*rds.DescribeGlobalClustersOutput, error)
DeleteGlobalCluster(ctx context.Context, params *rds.DeleteGlobalClusterInput, optFns ...func(*rds.Options)) (*rds.DeleteGlobalClusterOutput, error)
}
type DBInstances ¶
type DBInstances struct {
BaseAwsResource
Client RDSAPI
Region string
InstanceNames []string
}
func (*DBInstances) GetAndSetIdentifiers ¶
func (*DBInstances) GetAndSetResourceConfig ¶ added in v0.37.0
func (di *DBInstances) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*DBInstances) Init ¶
func (di *DBInstances) Init(cfg aws.Config)
func (*DBInstances) MaxBatchSize ¶
func (di *DBInstances) MaxBatchSize() int
func (*DBInstances) Nuke ¶
func (di *DBInstances) Nuke(identifiers []string) error
Nuke - nuke 'em all!!!
func (*DBInstances) ResourceIdentifiers ¶
func (di *DBInstances) ResourceIdentifiers() []string
ResourceIdentifiers - The instance names of the rds db instances
func (*DBInstances) ResourceName ¶
func (di *DBInstances) ResourceName() string
type DBSubnetGroups ¶
type DBSubnetGroups struct {
BaseAwsResource
Client DBSubnetGroupsAPI
Region string
InstanceNames []string
}
func (*DBSubnetGroups) GetAndSetIdentifiers ¶
func (*DBSubnetGroups) GetAndSetResourceConfig ¶ added in v0.37.0
func (dsg *DBSubnetGroups) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*DBSubnetGroups) Init ¶
func (dsg *DBSubnetGroups) Init(cfg aws.Config)
func (*DBSubnetGroups) MaxBatchSize ¶
func (dsg *DBSubnetGroups) MaxBatchSize() int
func (*DBSubnetGroups) Nuke ¶
func (dsg *DBSubnetGroups) Nuke(identifiers []string) error
Nuke - nuke 'em all!!!
func (*DBSubnetGroups) ResourceIdentifiers ¶
func (dsg *DBSubnetGroups) ResourceIdentifiers() []string
ResourceIdentifiers - The instance names of the rds db instances
func (*DBSubnetGroups) ResourceName ¶
func (dsg *DBSubnetGroups) ResourceName() string
type DBSubnetGroupsAPI ¶ added in v0.38.0
type DBSubnetGroupsAPI interface {
DescribeDBSubnetGroups(ctx context.Context, params *rds.DescribeDBSubnetGroupsInput, optFns ...func(*rds.Options)) (*rds.DescribeDBSubnetGroupsOutput, error)
DeleteDBSubnetGroup(ctx context.Context, params *rds.DeleteDBSubnetGroupInput, optFns ...func(*rds.Options)) (*rds.DeleteDBSubnetGroupOutput, error)
ListTagsForResource(ctx context.Context, params *rds.ListTagsForResourceInput, optFns ...func(*rds.Options)) (*rds.ListTagsForResourceOutput, error)
}
type DHCPOption ¶ added in v0.37.0
type DataSyncLocation ¶ added in v0.37.0
type DataSyncLocation struct {
BaseAwsResource
Client DataSyncLocationAPI
Region string
DataSyncLocations []string
}
func (*DataSyncLocation) GetAndSetIdentifiers ¶ added in v0.37.0
func (*DataSyncLocation) GetAndSetResourceConfig ¶ added in v0.37.0
func (dsl *DataSyncLocation) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*DataSyncLocation) Init ¶ added in v0.37.0
func (dsl *DataSyncLocation) Init(cfg aws.Config)
func (*DataSyncLocation) MaxBatchSize ¶ added in v0.37.0
func (dsl *DataSyncLocation) MaxBatchSize() int
func (*DataSyncLocation) Nuke ¶ added in v0.37.0
func (dsl *DataSyncLocation) Nuke(identifiers []string) error
func (*DataSyncLocation) ResourceIdentifiers ¶ added in v0.37.0
func (dsl *DataSyncLocation) ResourceIdentifiers() []string
func (*DataSyncLocation) ResourceName ¶ added in v0.37.0
func (dsl *DataSyncLocation) ResourceName() string
type DataSyncLocationAPI ¶ added in v0.38.0
type DataSyncLocationAPI interface {
DeleteLocation(ctx context.Context, params *datasync.DeleteLocationInput, optFns ...func(*datasync.Options)) (*datasync.DeleteLocationOutput, error)
ListLocations(ctx context.Context, params *datasync.ListLocationsInput, optFns ...func(*datasync.Options)) (*datasync.ListLocationsOutput, error)
}
type DataSyncTask ¶ added in v0.37.0
type DataSyncTask struct {
BaseAwsResource
Client DataSyncTaskAPI
Region string
DataSyncTasks []string
}
func (*DataSyncTask) GetAndSetIdentifiers ¶ added in v0.37.0
func (*DataSyncTask) GetAndSetResourceConfig ¶ added in v0.37.0
func (dst *DataSyncTask) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*DataSyncTask) Init ¶ added in v0.37.0
func (dst *DataSyncTask) Init(cfg aws.Config)
func (*DataSyncTask) MaxBatchSize ¶ added in v0.37.0
func (dst *DataSyncTask) MaxBatchSize() int
func (*DataSyncTask) Nuke ¶ added in v0.37.0
func (dst *DataSyncTask) Nuke(identifiers []string) error
func (*DataSyncTask) ResourceIdentifiers ¶ added in v0.37.0
func (dst *DataSyncTask) ResourceIdentifiers() []string
func (*DataSyncTask) ResourceName ¶ added in v0.37.0
func (dst *DataSyncTask) ResourceName() string
type DataSyncTaskAPI ¶ added in v0.38.0
type DataSyncTaskAPI interface {
DeleteTask(ctx context.Context, params *datasync.DeleteTaskInput, optFns ...func(*datasync.Options)) (*datasync.DeleteTaskOutput, error)
ListTasks(ctx context.Context, params *datasync.ListTasksInput, optFns ...func(*datasync.Options)) (*datasync.ListTasksOutput, error)
}
type DetectorOutputWithID ¶
type DetectorOutputWithID struct {
ID *string
Output *guardduty.GetDetectorOutput
}
type DynamoDB ¶
type DynamoDB struct {
BaseAwsResource
Client DynamoDBAPI
Region string
DynamoTableNames []string
}
func (*DynamoDB) GetAndSetIdentifiers ¶
func (*DynamoDB) GetAndSetResourceConfig ¶ added in v0.37.0
func (ddb *DynamoDB) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*DynamoDB) MaxBatchSize ¶
func (*DynamoDB) ResourceIdentifiers ¶
func (*DynamoDB) ResourceName ¶
type DynamoDBAPI ¶ added in v0.38.0
type DynamoDBAPI interface {
ListTables(ctx context.Context, params *dynamodb.ListTablesInput, optFns ...func(*dynamodb.Options)) (*dynamodb.ListTablesOutput, error)
DescribeTable(ctx context.Context, params *dynamodb.DescribeTableInput, optFns ...func(*dynamodb.Options)) (*dynamodb.DescribeTableOutput, error)
DeleteTable(ctx context.Context, params *dynamodb.DeleteTableInput, optFns ...func(*dynamodb.Options)) (*dynamodb.DeleteTableOutput, error)
}
type EBApplications ¶ added in v0.34.0
type EBApplications struct {
BaseAwsResource
Client EBApplicationsAPI
Region string
// contains filtered or unexported fields
}
EBApplications - represents all elastic beanstalk applications
func (*EBApplications) GetAndSetIdentifiers ¶ added in v0.34.0
func (*EBApplications) GetAndSetResourceConfig ¶ added in v0.37.0
func (eb *EBApplications) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*EBApplications) Init ¶ added in v0.34.0
func (eb *EBApplications) Init(cfg aws.Config)
func (*EBApplications) MaxBatchSize ¶ added in v0.34.0
func (eb *EBApplications) MaxBatchSize() int
func (*EBApplications) Nuke ¶ added in v0.34.0
func (eb *EBApplications) Nuke(identifiers []string) error
Nuke - nuke 'em all!!!
func (*EBApplications) ResourceIdentifiers ¶ added in v0.34.0
func (eb *EBApplications) ResourceIdentifiers() []string
ResourceIdentifiers - The application ids of the elastic beanstalk
func (*EBApplications) ResourceName ¶ added in v0.34.0
func (eb *EBApplications) ResourceName() string
ResourceName - the simple name of the aws resource
type EBApplicationsAPI ¶ added in v0.38.0
type EBApplicationsAPI interface {
DescribeApplications(ctx context.Context, params *elasticbeanstalk.DescribeApplicationsInput, optFns ...func(*elasticbeanstalk.Options)) (*elasticbeanstalk.DescribeApplicationsOutput, error)
DeleteApplication(ctx context.Context, params *elasticbeanstalk.DeleteApplicationInput, optFns ...func(*elasticbeanstalk.Options)) (*elasticbeanstalk.DeleteApplicationOutput, error)
}
type EBSVolumes ¶
type EBSVolumes struct {
BaseAwsResource
Client EBSVolumesAPI
Region string
VolumeIds []string
}
EBSVolumes - represents all ebs volumes
func (*EBSVolumes) GetAndSetIdentifiers ¶
func (*EBSVolumes) GetAndSetResourceConfig ¶ added in v0.37.0
func (ev *EBSVolumes) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*EBSVolumes) Init ¶
func (ev *EBSVolumes) Init(cfg aws.Config)
func (*EBSVolumes) MaxBatchSize ¶
func (ev *EBSVolumes) MaxBatchSize() int
func (*EBSVolumes) Nuke ¶
func (ev *EBSVolumes) Nuke(identifiers []string) error
Nuke - nuke 'em all!!!
func (*EBSVolumes) ResourceIdentifiers ¶
func (ev *EBSVolumes) ResourceIdentifiers() []string
ResourceIdentifiers - The volume ids of the ebs volumes
func (*EBSVolumes) ResourceName ¶
func (ev *EBSVolumes) ResourceName() string
ResourceName - the simple name of the aws resource
type EBSVolumesAPI ¶ added in v0.38.0
type EBSVolumesAPI interface {
DescribeVolumes(ctx context.Context, params *ec2.DescribeVolumesInput, optFns ...func(*ec2.Options)) (*ec2.DescribeVolumesOutput, error)
DeleteVolume(ctx context.Context, params *ec2.DeleteVolumeInput, optFns ...func(*ec2.Options)) (*ec2.DeleteVolumeOutput, error)
}
type EC2DedicatedHosts ¶
type EC2DedicatedHosts struct {
BaseAwsResource
Client EC2DedicatedHostsAPI
Region string
HostIds []string
}
EC2DedicatedHosts - represents all host allocation IDs
func (*EC2DedicatedHosts) GetAndSetIdentifiers ¶
func (*EC2DedicatedHosts) GetAndSetResourceConfig ¶ added in v0.37.0
func (h *EC2DedicatedHosts) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*EC2DedicatedHosts) Init ¶
func (h *EC2DedicatedHosts) Init(cfg aws.Config)
func (*EC2DedicatedHosts) MaxBatchSize ¶
func (h *EC2DedicatedHosts) MaxBatchSize() int
func (*EC2DedicatedHosts) Nuke ¶
func (h *EC2DedicatedHosts) Nuke(identifiers []string) error
Nuke - nuke 'em all!!!
func (*EC2DedicatedHosts) ResourceIdentifiers ¶
func (h *EC2DedicatedHosts) ResourceIdentifiers() []string
ResourceIdentifiers - The instance ids of the ec2 instances
func (*EC2DedicatedHosts) ResourceName ¶
func (h *EC2DedicatedHosts) ResourceName() string
ResourceName - the simple name of the aws resource
type EC2DedicatedHostsAPI ¶ added in v0.38.0
type EC2DedicatedHostsAPI interface {
DescribeHosts(ctx context.Context, params *ec2.DescribeHostsInput, optFns ...func(*ec2.Options)) (*ec2.DescribeHostsOutput, error)
ReleaseHosts(ctx context.Context, params *ec2.ReleaseHostsInput, optFns ...func(*ec2.Options)) (*ec2.ReleaseHostsOutput, error)
}
type EC2DhcpOption ¶
type EC2DhcpOption struct {
BaseAwsResource
Client EC2DhcpOptionAPI
Region string
VPCIds []string
DhcpOptions map[string]DHCPOption
}
func (*EC2DhcpOption) GetAndSetIdentifiers ¶
func (*EC2DhcpOption) Init ¶
func (v *EC2DhcpOption) Init(cfg aws.Config)
func (*EC2DhcpOption) MaxBatchSize ¶
func (v *EC2DhcpOption) MaxBatchSize() int
func (*EC2DhcpOption) Nuke ¶
func (v *EC2DhcpOption) Nuke(identifiers []string) error
func (*EC2DhcpOption) ResourceIdentifiers ¶
func (v *EC2DhcpOption) ResourceIdentifiers() []string
ResourceIdentifiers - The instance ids of the ec2 instances
func (*EC2DhcpOption) ResourceName ¶
func (v *EC2DhcpOption) ResourceName() string
ResourceName - the simple name of the aws resource
type EC2DhcpOptionAPI ¶ added in v0.38.0
type EC2DhcpOptionAPI interface {
AssociateDhcpOptions(ctx context.Context, params *ec2.AssociateDhcpOptionsInput, optFns ...func(*ec2.Options)) (*ec2.AssociateDhcpOptionsOutput, error)
DescribeDhcpOptions(ctx context.Context, params *ec2.DescribeDhcpOptionsInput, optFns ...func(*ec2.Options)) (*ec2.DescribeDhcpOptionsOutput, error)
DescribeVpcs(ctx context.Context, params *ec2.DescribeVpcsInput, optFns ...func(*ec2.Options)) (*ec2.DescribeVpcsOutput, error)
DeleteDhcpOptions(ctx context.Context, params *ec2.DeleteDhcpOptionsInput, optFns ...func(*ec2.Options)) (*ec2.DeleteDhcpOptionsOutput, error)
}
type EC2Endpoints ¶ added in v0.35.0
type EC2Endpoints struct {
BaseAwsResource
Client EC2EndpointsAPI
Region string
Endpoints []string
}
EC2Endpoints - represents all ec2 endpoints
func (*EC2Endpoints) GetAndSetIdentifiers ¶ added in v0.35.0
func (*EC2Endpoints) GetAndSetResourceConfig ¶ added in v0.37.0
func (e *EC2Endpoints) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*EC2Endpoints) Init ¶ added in v0.35.0
func (e *EC2Endpoints) Init(cfg aws.Config)
func (*EC2Endpoints) MaxBatchSize ¶ added in v0.35.0
func (e *EC2Endpoints) MaxBatchSize() int
func (*EC2Endpoints) Nuke ¶ added in v0.35.0
func (e *EC2Endpoints) Nuke(identifiers []string) error
Nuke - nuke 'em all!!!
func (*EC2Endpoints) ResourceIdentifiers ¶ added in v0.35.0
func (e *EC2Endpoints) ResourceIdentifiers() []string
func (*EC2Endpoints) ResourceName ¶ added in v0.35.0
func (e *EC2Endpoints) ResourceName() string
ResourceName - the simple name of the aws resource
type EC2EndpointsAPI ¶ added in v0.38.0
type EC2EndpointsAPI interface {
DescribeVpcEndpoints(ctx context.Context, params *ec2.DescribeVpcEndpointsInput, optFns ...func(*ec2.Options)) (*ec2.DescribeVpcEndpointsOutput, error)
DeleteVpcEndpoints(ctx context.Context, params *ec2.DeleteVpcEndpointsInput, optFns ...func(*ec2.Options)) (*ec2.DeleteVpcEndpointsOutput, error)
}
type EC2IPAMAPIaa ¶ added in v0.38.0
type EC2IPAMAPIaa interface {
DescribeIpams(ctx context.Context, params *ec2.DescribeIpamsInput, optFns ...func(*ec2.Options)) (*ec2.DescribeIpamsOutput, error)
DeleteIpam(ctx context.Context, params *ec2.DeleteIpamInput, optFns ...func(*ec2.Options)) (*ec2.DeleteIpamOutput, error)
GetIpamPoolCidrs(ctx context.Context, params *ec2.GetIpamPoolCidrsInput, optFns ...func(*ec2.Options)) (*ec2.GetIpamPoolCidrsOutput, error)
DeprovisionIpamPoolCidr(ctx context.Context, params *ec2.DeprovisionIpamPoolCidrInput, optFns ...func(*ec2.Options)) (*ec2.DeprovisionIpamPoolCidrOutput, error)
GetIpamPoolAllocations(ctx context.Context, params *ec2.GetIpamPoolAllocationsInput, optFns ...func(*ec2.Options)) (*ec2.GetIpamPoolAllocationsOutput, error)
ReleaseIpamPoolAllocation(ctx context.Context, params *ec2.ReleaseIpamPoolAllocationInput, optFns ...func(*ec2.Options)) (*ec2.ReleaseIpamPoolAllocationOutput, error)
DescribeIpamScopes(ctx context.Context, params *ec2.DescribeIpamScopesInput, optFns ...func(*ec2.Options)) (*ec2.DescribeIpamScopesOutput, error)
DescribeIpamPools(ctx context.Context, params *ec2.DescribeIpamPoolsInput, optFns ...func(*ec2.Options)) (*ec2.DescribeIpamPoolsOutput, error)
DeleteIpamPool(ctx context.Context, params *ec2.DeleteIpamPoolInput, optFns ...func(*ec2.Options)) (*ec2.DeleteIpamPoolOutput, error)
}
type EC2IPAMByoasn ¶ added in v0.34.0
type EC2IPAMByoasn struct {
BaseAwsResource
Client EC2IPAMByoasnAPI
Region string
Pools []string
}
EC2IPAMByoasn IPAM Byoasn- represents all IPAMs
func (*EC2IPAMByoasn) GetAndSetIdentifiers ¶ added in v0.34.0
func (*EC2IPAMByoasn) Init ¶ added in v0.34.0
func (byoasn *EC2IPAMByoasn) Init(cfg aws.Config)
func (*EC2IPAMByoasn) MaxBatchSize ¶ added in v0.34.0
func (byoasn *EC2IPAMByoasn) MaxBatchSize() int
func (*EC2IPAMByoasn) Nuke ¶ added in v0.34.0
func (byoasn *EC2IPAMByoasn) Nuke(identifiers []string) error
Nuke - nuke 'em all!!!
func (*EC2IPAMByoasn) ResourceIdentifiers ¶ added in v0.34.0
func (byoasn *EC2IPAMByoasn) ResourceIdentifiers() []string
ResourceIdentifiers - The ids of the IPAMs
func (*EC2IPAMByoasn) ResourceName ¶ added in v0.34.0
func (byoasn *EC2IPAMByoasn) ResourceName() string
ResourceName - the simple name of the aws resource
type EC2IPAMByoasnAPI ¶ added in v0.38.0
type EC2IPAMByoasnAPI interface {
DescribeIpamByoasn(ctx context.Context, params *ec2.DescribeIpamByoasnInput, optFns ...func(*ec2.Options)) (*ec2.DescribeIpamByoasnOutput, error)
DisassociateIpamByoasn(ctx context.Context, params *ec2.DisassociateIpamByoasnInput, optFns ...func(*ec2.Options)) (*ec2.DisassociateIpamByoasnOutput, error)
}
type EC2IPAMCustomAllocation ¶ added in v0.34.0
type EC2IPAMCustomAllocation struct {
BaseAwsResource
Client EC2IPAMCustomAllocationAPI
Region string
Allocations []string
PoolAndAllocationMap map[string]string
}
EC2IPAMCustomAllocation IPAM Byoasn- represents all IPAMs
func (*EC2IPAMCustomAllocation) GetAndSetIdentifiers ¶ added in v0.34.0
func (*EC2IPAMCustomAllocation) Init ¶ added in v0.34.0
func (cs *EC2IPAMCustomAllocation) Init(cfg aws.Config)
func (*EC2IPAMCustomAllocation) MaxBatchSize ¶ added in v0.34.0
func (cs *EC2IPAMCustomAllocation) MaxBatchSize() int
func (*EC2IPAMCustomAllocation) Nuke ¶ added in v0.34.0
func (cs *EC2IPAMCustomAllocation) Nuke(identifiers []string) error
Nuke - nuke 'em all!!!
func (*EC2IPAMCustomAllocation) ResourceIdentifiers ¶ added in v0.34.0
func (cs *EC2IPAMCustomAllocation) ResourceIdentifiers() []string
ResourceIdentifiers - The ids of the IPAMs
func (*EC2IPAMCustomAllocation) ResourceName ¶ added in v0.34.0
func (cs *EC2IPAMCustomAllocation) ResourceName() string
ResourceName - the simple name of the aws resource
type EC2IPAMCustomAllocationAPI ¶ added in v0.38.0
type EC2IPAMCustomAllocationAPI interface {
DescribeIpamPools(ctx context.Context, params *ec2.DescribeIpamPoolsInput, optFns ...func(*ec2.Options)) (*ec2.DescribeIpamPoolsOutput, error)
GetIpamPoolAllocations(ctx context.Context, params *ec2.GetIpamPoolAllocationsInput, optFns ...func(*ec2.Options)) (*ec2.GetIpamPoolAllocationsOutput, error)
ReleaseIpamPoolAllocation(ctx context.Context, params *ec2.ReleaseIpamPoolAllocationInput, optFns ...func(*ec2.Options)) (*ec2.ReleaseIpamPoolAllocationOutput, error)
}
type EC2IPAMPool ¶ added in v0.34.0
type EC2IPAMPool struct {
BaseAwsResource
Client EC2IPAMPoolAPI
Region string
Pools []string
}
EC2IPAMPool IPAM Pool- represents all IPAMs
func (*EC2IPAMPool) GetAndSetIdentifiers ¶ added in v0.34.0
func (*EC2IPAMPool) GetAndSetResourceConfig ¶ added in v0.37.0
func (pool *EC2IPAMPool) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*EC2IPAMPool) Init ¶ added in v0.34.0
func (pool *EC2IPAMPool) Init(cfg aws.Config)
func (*EC2IPAMPool) MaxBatchSize ¶ added in v0.34.0
func (pool *EC2IPAMPool) MaxBatchSize() int
func (*EC2IPAMPool) Nuke ¶ added in v0.34.0
func (pool *EC2IPAMPool) Nuke(identifiers []string) error
Nuke - nuke 'em all!!!
func (*EC2IPAMPool) ResourceIdentifiers ¶ added in v0.34.0
func (pool *EC2IPAMPool) ResourceIdentifiers() []string
ResourceIdentifiers - The ids of the IPAMs
func (*EC2IPAMPool) ResourceName ¶ added in v0.34.0
func (pool *EC2IPAMPool) ResourceName() string
ResourceName - the simple name of the aws resource
type EC2IPAMPoolAPI ¶ added in v0.38.0
type EC2IPAMPoolAPI interface {
DescribeIpamPools(ctx context.Context, params *ec2.DescribeIpamPoolsInput, optFns ...func(*ec2.Options)) (*ec2.DescribeIpamPoolsOutput, error)
DeleteIpamPool(ctx context.Context, params *ec2.DeleteIpamPoolInput, optFns ...func(*ec2.Options)) (*ec2.DeleteIpamPoolOutput, error)
}
type EC2IPAMResourceDiscovery ¶ added in v0.34.0
type EC2IPAMResourceDiscovery struct {
BaseAwsResource
Client EC2IPAMResourceDiscoveryAPI
Region string
DiscoveryIDs []string
}
EC2IPAMResourceDiscovery IPAM - represents all IPAMs
func (*EC2IPAMResourceDiscovery) GetAndSetIdentifiers ¶ added in v0.34.0
func (*EC2IPAMResourceDiscovery) GetAndSetResourceConfig ¶ added in v0.37.0
func (ipam *EC2IPAMResourceDiscovery) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*EC2IPAMResourceDiscovery) Init ¶ added in v0.34.0
func (ipam *EC2IPAMResourceDiscovery) Init(cfg aws.Config)
func (*EC2IPAMResourceDiscovery) MaxBatchSize ¶ added in v0.34.0
func (ipam *EC2IPAMResourceDiscovery) MaxBatchSize() int
func (*EC2IPAMResourceDiscovery) Nuke ¶ added in v0.34.0
func (ipam *EC2IPAMResourceDiscovery) Nuke(identifiers []string) error
Nuke - nuke 'em all!!!
func (*EC2IPAMResourceDiscovery) ResourceIdentifiers ¶ added in v0.34.0
func (ipam *EC2IPAMResourceDiscovery) ResourceIdentifiers() []string
ResourceIdentifiers - The ids of the IPAMs
func (*EC2IPAMResourceDiscovery) ResourceName ¶ added in v0.34.0
func (ipam *EC2IPAMResourceDiscovery) ResourceName() string
ResourceName - the simple name of the aws resource
type EC2IPAMResourceDiscoveryAPI ¶ added in v0.38.0
type EC2IPAMResourceDiscoveryAPI interface {
DescribeIpamResourceDiscoveries(ctx context.Context, params *ec2.DescribeIpamResourceDiscoveriesInput, optFns ...func(*ec2.Options)) (*ec2.DescribeIpamResourceDiscoveriesOutput, error)
DeleteIpamResourceDiscovery(ctx context.Context, params *ec2.DeleteIpamResourceDiscoveryInput, optFns ...func(*ec2.Options)) (*ec2.DeleteIpamResourceDiscoveryOutput, error)
}
type EC2IPAMs ¶ added in v0.34.0
type EC2IPAMs struct {
BaseAwsResource
Client EC2IPAMAPIaa
Region string
IDs []string
}
IPAM - represents all IPAMs
func (*EC2IPAMs) GetAndSetIdentifiers ¶ added in v0.34.0
func (*EC2IPAMs) GetAndSetResourceConfig ¶ added in v0.37.0
func (ipam *EC2IPAMs) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*EC2IPAMs) MaxBatchSize ¶ added in v0.34.0
func (*EC2IPAMs) ResourceIdentifiers ¶ added in v0.34.0
ResourceIdentifiers - The ids of the IPAMs
func (*EC2IPAMs) ResourceName ¶ added in v0.34.0
ResourceName - the simple name of the aws resource
type EC2Instances ¶
type EC2Instances struct {
BaseAwsResource
Client EC2InstancesAPI
Region string
InstanceIds []string
}
EC2Instances - represents all ec2 instances
func (*EC2Instances) GetAndSetIdentifiers ¶
func (*EC2Instances) GetAndSetResourceConfig ¶ added in v0.37.0
func (ei *EC2Instances) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*EC2Instances) Init ¶
func (ei *EC2Instances) Init(cfg aws.Config)
func (*EC2Instances) MaxBatchSize ¶
func (ei *EC2Instances) MaxBatchSize() int
func (*EC2Instances) Nuke ¶
func (ei *EC2Instances) Nuke(identifiers []string) error
Nuke - nuke 'em all!!!
func (*EC2Instances) ResourceIdentifiers ¶
func (ei *EC2Instances) ResourceIdentifiers() []string
ResourceIdentifiers - The instance ids of the ec2 instances
func (*EC2Instances) ResourceName ¶
func (ei *EC2Instances) ResourceName() string
ResourceName - the simple name of the aws resource
type EC2InstancesAPI ¶ added in v0.38.0
type EC2InstancesAPI interface {
DescribeInstanceAttribute(ctx context.Context, params *ec2.DescribeInstanceAttributeInput, optFns ...func(*ec2.Options)) (*ec2.DescribeInstanceAttributeOutput, error)
DescribeInstances(ctx context.Context, params *ec2.DescribeInstancesInput, optFns ...func(*ec2.Options)) (*ec2.DescribeInstancesOutput, error)
DescribeAddresses(ctx context.Context, params *ec2.DescribeAddressesInput, optFns ...func(*ec2.Options)) (*ec2.DescribeAddressesOutput, error)
ReleaseAddress(ctx context.Context, params *ec2.ReleaseAddressInput, optFns ...func(*ec2.Options)) (*ec2.ReleaseAddressOutput, error)
TerminateInstances(ctx context.Context, params *ec2.TerminateInstancesInput, optFns ...func(*ec2.Options)) (*ec2.TerminateInstancesOutput, error)
}
type EC2IpamScopes ¶ added in v0.34.0
type EC2IpamScopes struct {
BaseAwsResource
Client EC2IpamScopesAPI
Region string
ScopreIDs []string
}
EC2IpamScopes scope - represents all scopes
func (*EC2IpamScopes) GetAndSetIdentifiers ¶ added in v0.34.0
func (*EC2IpamScopes) GetAndSetResourceConfig ¶ added in v0.37.0
func (scope *EC2IpamScopes) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*EC2IpamScopes) Init ¶ added in v0.34.0
func (scope *EC2IpamScopes) Init(cfg aws.Config)
func (*EC2IpamScopes) MaxBatchSize ¶ added in v0.34.0
func (scope *EC2IpamScopes) MaxBatchSize() int
func (*EC2IpamScopes) Nuke ¶ added in v0.34.0
func (scope *EC2IpamScopes) Nuke(identifiers []string) error
Nuke - nuke 'em all!!!
func (*EC2IpamScopes) ResourceIdentifiers ¶ added in v0.34.0
func (scope *EC2IpamScopes) ResourceIdentifiers() []string
ResourceIdentifiers - The ids of the scopes
func (*EC2IpamScopes) ResourceName ¶ added in v0.34.0
func (scope *EC2IpamScopes) ResourceName() string
ResourceName - the simple name of the aws resource
type EC2IpamScopesAPI ¶ added in v0.38.0
type EC2IpamScopesAPI interface {
DescribeIpamScopes(ctx context.Context, params *ec2.DescribeIpamScopesInput, optFns ...func(*ec2.Options)) (*ec2.DescribeIpamScopesOutput, error)
DeleteIpamScope(ctx context.Context, params *ec2.DeleteIpamScopeInput, optFns ...func(*ec2.Options)) (*ec2.DeleteIpamScopeOutput, error)
}
type EC2KeyPairs ¶
type EC2KeyPairs struct {
BaseAwsResource
Client EC2KeyPairsAPI
Region string
KeyPairIds []string
}
func (*EC2KeyPairs) GetAndSetIdentifiers ¶
func (*EC2KeyPairs) GetAndSetResourceConfig ¶ added in v0.37.0
func (k *EC2KeyPairs) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*EC2KeyPairs) Init ¶
func (k *EC2KeyPairs) Init(cfg aws.Config)
func (*EC2KeyPairs) MaxBatchSize ¶
func (k *EC2KeyPairs) MaxBatchSize() int
func (*EC2KeyPairs) Nuke ¶
func (k *EC2KeyPairs) Nuke(identifiers []string) error
func (*EC2KeyPairs) ResourceIdentifiers ¶
func (k *EC2KeyPairs) ResourceIdentifiers() []string
ResourceIdentifiers - IDs of the ec2 key pairs
func (*EC2KeyPairs) ResourceName ¶
func (k *EC2KeyPairs) ResourceName() string
ResourceName - the simple name of the aws resource
type EC2KeyPairsAPI ¶ added in v0.38.0
type EC2KeyPairsAPI interface {
DeleteKeyPair(ctx context.Context, params *ec2.DeleteKeyPairInput, optFns ...func(*ec2.Options)) (*ec2.DeleteKeyPairOutput, error)
DescribeKeyPairs(ctx context.Context, params *ec2.DescribeKeyPairsInput, optFns ...func(*ec2.Options)) (*ec2.DescribeKeyPairsOutput, error)
}
type EC2PlacementGroups ¶ added in v0.37.2
type EC2PlacementGroups struct {
BaseAwsResource
Client EC2PlacementGroupsAPI
Region string
PlacementGroupNames []string
}
func (*EC2PlacementGroups) GetAndSetIdentifiers ¶ added in v0.37.2
func (*EC2PlacementGroups) GetAndSetResourceConfig ¶ added in v0.37.2
func (k *EC2PlacementGroups) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*EC2PlacementGroups) Init ¶ added in v0.37.2
func (k *EC2PlacementGroups) Init(cfg aws.Config)
func (*EC2PlacementGroups) MaxBatchSize ¶ added in v0.37.2
func (k *EC2PlacementGroups) MaxBatchSize() int
func (*EC2PlacementGroups) Nuke ¶ added in v0.37.2
func (k *EC2PlacementGroups) Nuke(identifiers []string) error
func (*EC2PlacementGroups) ResourceIdentifiers ¶ added in v0.37.2
func (k *EC2PlacementGroups) ResourceIdentifiers() []string
ResourceIdentifiers - IDs of the ec2 key pairs
func (*EC2PlacementGroups) ResourceName ¶ added in v0.37.2
func (k *EC2PlacementGroups) ResourceName() string
ResourceName - the simple name of the aws resource
type EC2PlacementGroupsAPI ¶ added in v0.38.0
type EC2PlacementGroupsAPI interface {
DescribePlacementGroups(ctx context.Context, params *ec2.DescribePlacementGroupsInput, optFns ...func(*ec2.Options)) (*ec2.DescribePlacementGroupsOutput, error)
DeletePlacementGroup(ctx context.Context, params *ec2.DeletePlacementGroupInput, optFns ...func(*ec2.Options)) (*ec2.DeletePlacementGroupOutput, error)
}
type EC2Subnet ¶ added in v0.35.0
type EC2Subnet struct {
BaseAwsResource
Client EC2SubnetAPI
Region string
Subnets []string
}
Ec2Subnet- represents all Subnets
func (*EC2Subnet) GetAndSetIdentifiers ¶ added in v0.35.0
func (*EC2Subnet) MaxBatchSize ¶ added in v0.35.0
func (*EC2Subnet) ResourceIdentifiers ¶ added in v0.35.0
ResourceIdentifiers - The ids of the subnets
func (*EC2Subnet) ResourceName ¶ added in v0.35.0
ResourceName - the simple name of the aws resource
type EC2SubnetAPI ¶ added in v0.38.0
type EC2SubnetAPI interface {
DeleteSubnet(ctx context.Context, params *ec2.DeleteSubnetInput, optFns ...func(*ec2.Options)) (*ec2.DeleteSubnetOutput, error)
DescribeSubnets(ctx context.Context, params *ec2.DescribeSubnetsInput, optFns ...func(*ec2.Options)) (*ec2.DescribeSubnetsOutput, error)
}
type EC2VPCAPI ¶ added in v0.38.0
type EC2VPCAPI interface {
DescribeVpcs(ctx context.Context, params *ec2.DescribeVpcsInput, optFns ...func(*ec2.Options)) (*ec2.DescribeVpcsOutput, error)
DeleteVpc(ctx context.Context, params *ec2.DeleteVpcInput, optFns ...func(*ec2.Options)) (*ec2.DeleteVpcOutput, error)
DescribeVpcEndpointServiceConfigurations(ctx context.Context, params *ec2.DescribeVpcEndpointServiceConfigurationsInput, optFns ...func(*ec2.Options)) (*ec2.DescribeVpcEndpointServiceConfigurationsOutput, error)
DeleteVpcEndpointServiceConfigurations(ctx context.Context, params *ec2.DeleteVpcEndpointServiceConfigurationsInput, optFns ...func(*ec2.Options)) (*ec2.DeleteVpcEndpointServiceConfigurationsOutput, error)
DeleteVpcPeeringConnection(ctx context.Context, params *ec2.DeleteVpcPeeringConnectionInput, optFns ...func(*ec2.Options)) (*ec2.DeleteVpcPeeringConnectionOutput, error)
DescribeVpcEndpoints(ctx context.Context, params *ec2.DescribeVpcEndpointsInput, optFns ...func(*ec2.Options)) (*ec2.DescribeVpcEndpointsOutput, error)
DescribeRouteTables(ctx context.Context, params *ec2.DescribeRouteTablesInput, optFns ...func(*ec2.Options)) (*ec2.DescribeRouteTablesOutput, error)
DisassociateRouteTable(ctx context.Context, params *ec2.DisassociateRouteTableInput, optFns ...func(*ec2.Options)) (*ec2.DisassociateRouteTableOutput, error)
DeleteRouteTable(ctx context.Context, params *ec2.DeleteRouteTableInput, optFns ...func(*ec2.Options)) (*ec2.DeleteRouteTableOutput, error)
DescribeSecurityGroupRules(ctx context.Context, params *ec2.DescribeSecurityGroupRulesInput, optFns ...func(*ec2.Options)) (*ec2.DescribeSecurityGroupRulesOutput, error)
DescribeInstances(ctx context.Context, params *ec2.DescribeInstancesInput, optFns ...func(*ec2.Options)) (*ec2.DescribeInstancesOutput, error)
DescribeVpcPeeringConnections(ctx context.Context, params *ec2.DescribeVpcPeeringConnectionsInput, optFns ...func(*ec2.Options)) (*ec2.DescribeVpcPeeringConnectionsOutput, error)
AcceptAddressTransfer(ctx context.Context, params *ec2.AcceptAddressTransferInput, optFns ...func(*ec2.Options)) (*ec2.AcceptAddressTransferOutput, error)
NetworkInterfaceAPI
EC2DhcpOptionAPI
NetworkACLAPI
EC2EndpointsAPI
NetworkACLAPI
InternetGatewayAPI
EgressOnlyIGAPI
EC2SubnetAPI
NatGatewaysAPI
SecurityGroupAPI
}
type EC2VPCs ¶
type EC2VPCs struct {
BaseAwsResource
Client EC2VPCAPI
ELBClient ELBClientAPI
Region string
VPCIds []string
}
func (*EC2VPCs) GetAndSetIdentifiers ¶
func (*EC2VPCs) MaxBatchSize ¶
func (*EC2VPCs) ResourceIdentifiers ¶
ResourceIdentifiers - The instance ids of the ec2 instances
func (*EC2VPCs) ResourceName ¶
ResourceName - the simple name of the aws resource
type ECR ¶
type ECR struct {
BaseAwsResource
Client ECRAPI
Region string
RepositoryNames []string
}
func (*ECR) GetAndSetIdentifiers ¶
func (*ECR) GetAndSetResourceConfig ¶ added in v0.37.0
func (registry *ECR) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*ECR) MaxBatchSize ¶
func (*ECR) ResourceIdentifiers ¶
func (*ECR) ResourceName ¶
type ECRAPI ¶ added in v0.38.0
type ECRAPI interface {
DescribeRepositories(ctx context.Context, params *ecr.DescribeRepositoriesInput, optFns ...func(*ecr.Options)) (*ecr.DescribeRepositoriesOutput, error)
DeleteRepository(ctx context.Context, params *ecr.DeleteRepositoryInput, optFns ...func(*ecr.Options)) (*ecr.DeleteRepositoryOutput, error)
}
type ECSClusters ¶
type ECSClusters struct {
BaseAwsResource
Client ECSClustersAPI
Region string
ClusterArns []string
}
ECSClusters - Represents all ECS clusters found in a region
func (*ECSClusters) GetAndSetIdentifiers ¶
func (*ECSClusters) GetAndSetResourceConfig ¶ added in v0.37.0
func (clusters *ECSClusters) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*ECSClusters) Init ¶
func (clusters *ECSClusters) Init(cfg aws.Config)
func (*ECSClusters) MaxBatchSize ¶
func (clusters *ECSClusters) MaxBatchSize() int
func (*ECSClusters) Nuke ¶
func (clusters *ECSClusters) Nuke(identifiers []string) error
Nuke - nuke all ECS Cluster resources
func (*ECSClusters) ResourceIdentifiers ¶
func (clusters *ECSClusters) ResourceIdentifiers() []string
ResourceIdentifiers - the collected ECS clusters
func (*ECSClusters) ResourceName ¶
func (clusters *ECSClusters) ResourceName() string
ResourceName - The simple name of the aws resource
type ECSClustersAPI ¶ added in v0.38.0
type ECSClustersAPI interface {
DescribeClusters(ctx context.Context, params *ecs.DescribeClustersInput, optFns ...func(*ecs.Options)) (*ecs.DescribeClustersOutput, error)
DeleteCluster(ctx context.Context, params *ecs.DeleteClusterInput, optFns ...func(*ecs.Options)) (*ecs.DeleteClusterOutput, error)
ListClusters(ctx context.Context, params *ecs.ListClustersInput, optFns ...func(*ecs.Options)) (*ecs.ListClustersOutput, error)
ListTagsForResource(ctx context.Context, params *ecs.ListTagsForResourceInput, optFns ...func(*ecs.Options)) (*ecs.ListTagsForResourceOutput, error)
ListTasks(ctx context.Context, params *ecs.ListTasksInput, optFns ...func(*ecs.Options)) (*ecs.ListTasksOutput, error)
StopTask(ctx context.Context, params *ecs.StopTaskInput, optFns ...func(*ecs.Options)) (*ecs.StopTaskOutput, error)
TagResource(ctx context.Context, params *ecs.TagResourceInput, optFns ...func(*ecs.Options)) (*ecs.TagResourceOutput, error)
}
type ECSServices ¶
type ECSServices struct {
BaseAwsResource
Client ECSServicesAPI
Region string
Services []string
ServiceClusterMap map[string]string
}
ECSServices - Represents all ECS services found in a region
func (*ECSServices) GetAndSetIdentifiers ¶
func (*ECSServices) GetAndSetResourceConfig ¶ added in v0.37.0
func (services *ECSServices) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*ECSServices) Init ¶
func (services *ECSServices) Init(cfg aws.Config)
func (*ECSServices) MaxBatchSize ¶
func (services *ECSServices) MaxBatchSize() int
func (*ECSServices) Nuke ¶
func (services *ECSServices) Nuke(identifiers []string) error
Nuke - nuke all ECS service resources
func (*ECSServices) ResourceIdentifiers ¶
func (services *ECSServices) ResourceIdentifiers() []string
ResourceIdentifiers - The ARNs of the collected ECS services
func (*ECSServices) ResourceName ¶
func (services *ECSServices) ResourceName() string
ResourceName - The simple name of the aws resource
type ECSServicesAPI ¶ added in v0.38.0
type ECSServicesAPI interface {
ListClusters(ctx context.Context, params *ecs.ListClustersInput, optFns ...func(*ecs.Options)) (*ecs.ListClustersOutput, error)
ListServices(ctx context.Context, params *ecs.ListServicesInput, optFns ...func(*ecs.Options)) (*ecs.ListServicesOutput, error)
DescribeServices(ctx context.Context, params *ecs.DescribeServicesInput, optFns ...func(*ecs.Options)) (*ecs.DescribeServicesOutput, error)
DeleteService(ctx context.Context, params *ecs.DeleteServiceInput, optFns ...func(*ecs.Options)) (*ecs.DeleteServiceOutput, error)
UpdateService(ctx context.Context, params *ecs.UpdateServiceInput, optFns ...func(*ecs.Options)) (*ecs.UpdateServiceOutput, error)
}
type EIPAddresses ¶
type EIPAddresses struct {
BaseAwsResource
Client EIPAddressesAPI
Region string
AllocationIds []string
}
EIPAddresses - represents all ebs volumes
func (*EIPAddresses) GetAndSetIdentifiers ¶
func (*EIPAddresses) GetAndSetResourceConfig ¶ added in v0.37.0
func (eip *EIPAddresses) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*EIPAddresses) Init ¶
func (eip *EIPAddresses) Init(cfg aws.Config)
func (*EIPAddresses) MaxBatchSize ¶
func (eip *EIPAddresses) MaxBatchSize() int
func (*EIPAddresses) Nuke ¶
func (eip *EIPAddresses) Nuke(identifiers []string) error
Nuke - nuke 'em all!!!
func (*EIPAddresses) ResourceIdentifiers ¶
func (eip *EIPAddresses) ResourceIdentifiers() []string
ResourceIdentifiers - The instance ids of the eip addresses
func (*EIPAddresses) ResourceName ¶
func (eip *EIPAddresses) ResourceName() string
ResourceName - the simple name of the aws resource
type EIPAddressesAPI ¶ added in v0.38.0
type EIPAddressesAPI interface {
ReleaseAddress(ctx context.Context, params *ec2.ReleaseAddressInput, optFns ...func(*ec2.Options)) (*ec2.ReleaseAddressOutput, error)
DescribeAddresses(ctx context.Context, params *ec2.DescribeAddressesInput, optFns ...func(*ec2.Options)) (*ec2.DescribeAddressesOutput, error)
}
type EKSClusters ¶
type EKSClusters struct {
BaseAwsResource
Client EKSClustersAPI
Region string
Clusters []string
}
EKSClusters - Represents all EKS clusters found in a region
func (*EKSClusters) GetAndSetIdentifiers ¶
func (*EKSClusters) GetAndSetResourceConfig ¶ added in v0.37.0
func (clusters *EKSClusters) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*EKSClusters) Init ¶
func (clusters *EKSClusters) Init(cfg aws.Config)
func (*EKSClusters) MaxBatchSize ¶
func (clusters *EKSClusters) MaxBatchSize() int
func (*EKSClusters) Nuke ¶
func (clusters *EKSClusters) Nuke(identifiers []string) error
Nuke - nuke all EKS Cluster resources
func (*EKSClusters) ResourceIdentifiers ¶
func (clusters *EKSClusters) ResourceIdentifiers() []string
ResourceIdentifiers - The Name of the collected EKS clusters
func (*EKSClusters) ResourceName ¶
func (clusters *EKSClusters) ResourceName() string
ResourceName - The simple name of the aws resource
type EKSClustersAPI ¶ added in v0.38.0
type EKSClustersAPI interface {
DeleteCluster(ctx context.Context, params *eks.DeleteClusterInput, optFns ...func(*eks.Options)) (*eks.DeleteClusterOutput, error)
DeleteFargateProfile(ctx context.Context, params *eks.DeleteFargateProfileInput, optFns ...func(*eks.Options)) (*eks.DeleteFargateProfileOutput, error)
DeleteNodegroup(ctx context.Context, params *eks.DeleteNodegroupInput, optFns ...func(*eks.Options)) (*eks.DeleteNodegroupOutput, error)
DescribeCluster(ctx context.Context, params *eks.DescribeClusterInput, optFns ...func(*eks.Options)) (*eks.DescribeClusterOutput, error)
DescribeFargateProfile(ctx context.Context, params *eks.DescribeFargateProfileInput, optFns ...func(*eks.Options)) (*eks.DescribeFargateProfileOutput, error)
DescribeNodegroup(ctx context.Context, params *eks.DescribeNodegroupInput, optFns ...func(*eks.Options)) (*eks.DescribeNodegroupOutput, error)
ListClusters(ctx context.Context, params *eks.ListClustersInput, optFns ...func(*eks.Options)) (*eks.ListClustersOutput, error)
ListFargateProfiles(ctx context.Context, params *eks.ListFargateProfilesInput, optFns ...func(*eks.Options)) (*eks.ListFargateProfilesOutput, error)
ListNodegroups(ctx context.Context, params *eks.ListNodegroupsInput, optFns ...func(*eks.Options)) (*eks.ListNodegroupsOutput, error)
}
type ELBClientAPI ¶ added in v0.38.0
type ELBClientAPI interface {
DescribeLoadBalancers(ctx context.Context, input *elbv2.DescribeLoadBalancersInput, optFns ...func(*elbv2.Options)) (*elbv2.DescribeLoadBalancersOutput, error)
DeleteLoadBalancer(ctx context.Context, input *elbv2.DeleteLoadBalancerInput, optFns ...func(*elbv2.Options)) (*elbv2.DeleteLoadBalancerOutput, error)
DescribeTargetGroups(ctx context.Context, input *elbv2.DescribeTargetGroupsInput, optFns ...func(*elbv2.Options)) (*elbv2.DescribeTargetGroupsOutput, error)
DeleteTargetGroup(ctx context.Context, input *elbv2.DeleteTargetGroupInput, optFns ...func(*elbv2.Options)) (*elbv2.DeleteTargetGroupOutput, error)
}
type EgressOnlyIGAPI ¶ added in v0.38.0
type EgressOnlyIGAPI interface {
DescribeEgressOnlyInternetGateways(ctx context.Context, params *ec2.DescribeEgressOnlyInternetGatewaysInput, optFns ...func(*ec2.Options)) (*ec2.DescribeEgressOnlyInternetGatewaysOutput, error)
DeleteEgressOnlyInternetGateway(ctx context.Context, params *ec2.DeleteEgressOnlyInternetGatewayInput, optFns ...func(*ec2.Options)) (*ec2.DeleteEgressOnlyInternetGatewayOutput, error)
}
type EgressOnlyInternetGateway ¶ added in v0.35.0
type EgressOnlyInternetGateway struct {
BaseAwsResource
Client EgressOnlyIGAPI
Region string
Pools []string
}
EgressOnlyInternetGateway represents all Egress only internet gateway
func (*EgressOnlyInternetGateway) GetAndSetIdentifiers ¶ added in v0.35.0
func (*EgressOnlyInternetGateway) GetAndSetResourceConfig ¶ added in v0.37.0
func (egigw *EgressOnlyInternetGateway) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*EgressOnlyInternetGateway) Init ¶ added in v0.35.0
func (egigw *EgressOnlyInternetGateway) Init(cfg aws.Config)
func (*EgressOnlyInternetGateway) MaxBatchSize ¶ added in v0.35.0
func (egigw *EgressOnlyInternetGateway) MaxBatchSize() int
func (*EgressOnlyInternetGateway) Nuke ¶ added in v0.35.0
func (egigw *EgressOnlyInternetGateway) Nuke(identifiers []string) error
Nuke - nuke 'em all!!!
func (*EgressOnlyInternetGateway) ResourceIdentifiers ¶ added in v0.35.0
func (egigw *EgressOnlyInternetGateway) ResourceIdentifiers() []string
ResourceIdentifiers - The ids of the Egress only igw
func (*EgressOnlyInternetGateway) ResourceName ¶ added in v0.35.0
func (egigw *EgressOnlyInternetGateway) ResourceName() string
ResourceName - the simple name of the aws resource
type ElasticCacheServerless ¶ added in v0.38.0
type ElasticCacheServerless struct {
BaseAwsResource
Client ElasticCacheServerlessAPI
Region string
ClusterIds []string
}
func (*ElasticCacheServerless) GetAndSetIdentifiers ¶ added in v0.38.0
func (*ElasticCacheServerless) GetAndSetResourceConfig ¶ added in v0.38.0
func (cache *ElasticCacheServerless) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*ElasticCacheServerless) Init ¶ added in v0.38.1
func (cache *ElasticCacheServerless) Init(cfg aws.Config)
func (*ElasticCacheServerless) MaxBatchSize ¶ added in v0.38.0
func (cache *ElasticCacheServerless) MaxBatchSize() int
func (*ElasticCacheServerless) Nuke ¶ added in v0.38.0
func (cache *ElasticCacheServerless) Nuke(identifiers []string) error
func (*ElasticCacheServerless) ResourceIdentifiers ¶ added in v0.38.0
func (cache *ElasticCacheServerless) ResourceIdentifiers() []string
func (*ElasticCacheServerless) ResourceName ¶ added in v0.38.0
func (cache *ElasticCacheServerless) ResourceName() string
type ElasticCacheServerlessAPI ¶ added in v0.38.0
type ElasticCacheServerlessAPI interface {
DeleteServerlessCache(ctx context.Context, params *elasticache.DeleteServerlessCacheInput, optFns ...func(*elasticache.Options)) (*elasticache.DeleteServerlessCacheOutput, error)
DescribeServerlessCaches(ctx context.Context, params *elasticache.DescribeServerlessCachesInput, optFns ...func(*elasticache.Options)) (*elasticache.DescribeServerlessCachesOutput, error)
}
type ElasticFileSystem ¶
type ElasticFileSystem struct {
BaseAwsResource
Client ElasticFileSystemAPI
Region string
Ids []string
}
func (*ElasticFileSystem) GetAndSetIdentifiers ¶
func (*ElasticFileSystem) GetAndSetResourceConfig ¶ added in v0.37.0
func (ef *ElasticFileSystem) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*ElasticFileSystem) Init ¶
func (ef *ElasticFileSystem) Init(cfg aws.Config)
func (*ElasticFileSystem) MaxBatchSize ¶
func (ef *ElasticFileSystem) MaxBatchSize() int
func (*ElasticFileSystem) Nuke ¶
func (ef *ElasticFileSystem) Nuke(identifiers []string) error
func (*ElasticFileSystem) ResourceIdentifiers ¶
func (ef *ElasticFileSystem) ResourceIdentifiers() []string
func (*ElasticFileSystem) ResourceName ¶
func (ef *ElasticFileSystem) ResourceName() string
type ElasticFileSystemAPI ¶ added in v0.38.0
type ElasticFileSystemAPI interface {
DeleteAccessPoint(ctx context.Context, params *efs.DeleteAccessPointInput, optFns ...func(*efs.Options)) (*efs.DeleteAccessPointOutput, error)
DeleteFileSystem(ctx context.Context, params *efs.DeleteFileSystemInput, optFns ...func(*efs.Options)) (*efs.DeleteFileSystemOutput, error)
DeleteMountTarget(ctx context.Context, params *efs.DeleteMountTargetInput, optFns ...func(*efs.Options)) (*efs.DeleteMountTargetOutput, error)
DescribeAccessPoints(ctx context.Context, params *efs.DescribeAccessPointsInput, optFns ...func(*efs.Options)) (*efs.DescribeAccessPointsOutput, error)
DescribeMountTargets(ctx context.Context, params *efs.DescribeMountTargetsInput, optFns ...func(*efs.Options)) (*efs.DescribeMountTargetsOutput, error)
DescribeFileSystems(ctx context.Context, params *efs.DescribeFileSystemsInput, optFns ...func(*efs.Options)) (*efs.DescribeFileSystemsOutput, error)
}
type ElasticacheParameterGroups ¶
type ElasticacheParameterGroups struct {
BaseAwsResource
Client ElasticacheParameterGroupsAPI
Region string
GroupNames []string
}
func (*ElasticacheParameterGroups) GetAndSetIdentifiers ¶
func (*ElasticacheParameterGroups) Init ¶
func (pg *ElasticacheParameterGroups) Init(cfg aws.Config)
func (*ElasticacheParameterGroups) MaxBatchSize ¶
func (pg *ElasticacheParameterGroups) MaxBatchSize() int
func (*ElasticacheParameterGroups) Nuke ¶
func (pg *ElasticacheParameterGroups) Nuke(identifiers []string) error
Nuke - nuke 'em all!!!
func (*ElasticacheParameterGroups) ResourceIdentifiers ¶
func (pg *ElasticacheParameterGroups) ResourceIdentifiers() []string
ResourceIdentifiers - The instance ids of the ec2 instances
func (*ElasticacheParameterGroups) ResourceName ¶
func (pg *ElasticacheParameterGroups) ResourceName() string
ResourceName - the simple name of the aws resource
type ElasticacheParameterGroupsAPI ¶ added in v0.38.0
type ElasticacheParameterGroupsAPI interface {
DescribeCacheParameterGroups(ctx context.Context, params *elasticache.DescribeCacheParameterGroupsInput, optFns ...func(*elasticache.Options)) (*elasticache.DescribeCacheParameterGroupsOutput, error)
DeleteCacheParameterGroup(ctx context.Context, params *elasticache.DeleteCacheParameterGroupInput, optFns ...func(*elasticache.Options)) (*elasticache.DeleteCacheParameterGroupOutput, error)
}
Elasticache Parameter Groups
type ElasticacheSubnetGroups ¶
type ElasticacheSubnetGroups struct {
BaseAwsResource
Client ElasticacheSubnetGroupsAPI
Region string
GroupNames []string
}
func (*ElasticacheSubnetGroups) GetAndSetIdentifiers ¶
func (*ElasticacheSubnetGroups) Init ¶
func (sg *ElasticacheSubnetGroups) Init(cfg aws.Config)
func (*ElasticacheSubnetGroups) MaxBatchSize ¶
func (sg *ElasticacheSubnetGroups) MaxBatchSize() int
func (*ElasticacheSubnetGroups) Nuke ¶
func (sg *ElasticacheSubnetGroups) Nuke(identifiers []string) error
Nuke - nuke 'em all!!!
func (*ElasticacheSubnetGroups) ResourceIdentifiers ¶
func (sg *ElasticacheSubnetGroups) ResourceIdentifiers() []string
ResourceIdentifiers - The instance ids of the ec2 instances
func (*ElasticacheSubnetGroups) ResourceName ¶
func (sg *ElasticacheSubnetGroups) ResourceName() string
type ElasticacheSubnetGroupsAPI ¶ added in v0.38.0
type ElasticacheSubnetGroupsAPI interface {
DescribeCacheSubnetGroups(ctx context.Context, params *elasticache.DescribeCacheSubnetGroupsInput, optFns ...func(*elasticache.Options)) (*elasticache.DescribeCacheSubnetGroupsOutput, error)
DeleteCacheSubnetGroup(ctx context.Context, params *elasticache.DeleteCacheSubnetGroupInput, optFns ...func(*elasticache.Options)) (*elasticache.DeleteCacheSubnetGroupOutput, error)
}
Elasticache Subnet Groups
type Elasticaches ¶
type Elasticaches struct {
BaseAwsResource
Client ElasticachesAPI
Region string
ClusterIds []string
}
Elasticaches - represents all Elasticache clusters
func (*Elasticaches) GetAndSetIdentifiers ¶
func (*Elasticaches) GetAndSetResourceConfig ¶ added in v0.37.0
func (cache *Elasticaches) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*Elasticaches) Init ¶
func (cache *Elasticaches) Init(cfg aws.Config)
func (*Elasticaches) MaxBatchSize ¶
func (cache *Elasticaches) MaxBatchSize() int
func (*Elasticaches) Nuke ¶
func (cache *Elasticaches) Nuke(identifiers []string) error
Nuke - nuke 'em all!!!
func (*Elasticaches) ResourceIdentifiers ¶
func (cache *Elasticaches) ResourceIdentifiers() []string
ResourceIdentifiers - The instance ids of the elasticache clusters
func (*Elasticaches) ResourceName ¶
func (cache *Elasticaches) ResourceName() string
ResourceName - the simple name of the aws resource
type ElasticachesAPI ¶ added in v0.38.0
type ElasticachesAPI interface {
DescribeReplicationGroups(ctx context.Context, params *elasticache.DescribeReplicationGroupsInput, optFns ...func(*elasticache.Options)) (*elasticache.DescribeReplicationGroupsOutput, error)
DescribeCacheClusters(ctx context.Context, params *elasticache.DescribeCacheClustersInput, optFns ...func(*elasticache.Options)) (*elasticache.DescribeCacheClustersOutput, error)
DeleteCacheCluster(ctx context.Context, params *elasticache.DeleteCacheClusterInput, optFns ...func(*elasticache.Options)) (*elasticache.DeleteCacheClusterOutput, error)
DeleteReplicationGroup(ctx context.Context, params *elasticache.DeleteReplicationGroupInput, optFns ...func(*elasticache.Options)) (*elasticache.DeleteReplicationGroupOutput, error)
}
type ElbDeleteError ¶
type ElbDeleteError struct{}
func (ElbDeleteError) Error ¶
func (e ElbDeleteError) Error() string
type EventBridge ¶ added in v0.38.0
type EventBridge struct {
BaseAwsResource
Client EventBridgeAPI
Region string
EventBuses []string
}
func (*EventBridge) GetAndSetIdentifiers ¶ added in v0.38.0
func (*EventBridge) GetAndSetResourceConfig ¶ added in v0.38.0
func (eb *EventBridge) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*EventBridge) Init ¶ added in v0.38.1
func (eb *EventBridge) Init(cfg aws.Config)
func (*EventBridge) MaxBatchSize ¶ added in v0.38.0
func (eb *EventBridge) MaxBatchSize() int
func (*EventBridge) Nuke ¶ added in v0.38.0
func (eb *EventBridge) Nuke(identifiers []string) error
func (*EventBridge) ResourceIdentifiers ¶ added in v0.38.0
func (eb *EventBridge) ResourceIdentifiers() []string
func (*EventBridge) ResourceName ¶ added in v0.38.0
func (eb *EventBridge) ResourceName() string
type EventBridgeAPI ¶ added in v0.38.0
type EventBridgeAPI interface {
DeleteEventBus(ctx context.Context, params *eventbridge.DeleteEventBusInput, optFns ...func(*eventbridge.Options)) (*eventbridge.DeleteEventBusOutput, error)
ListEventBuses(ctx context.Context, params *eventbridge.ListEventBusesInput, optFns ...func(*eventbridge.Options)) (*eventbridge.ListEventBusesOutput, error)
}
type EventBridgeArchive ¶ added in v0.38.0
type EventBridgeArchive struct {
BaseAwsResource
Client EventBridgeArchiveAPI
Region string
Rules []string
}
func (*EventBridgeArchive) GetAndSetIdentifiers ¶ added in v0.38.0
func (*EventBridgeArchive) GetAndSetResourceConfig ¶ added in v0.38.0
func (eba *EventBridgeArchive) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*EventBridgeArchive) Init ¶ added in v0.38.1
func (eba *EventBridgeArchive) Init(cfg aws.Config)
func (*EventBridgeArchive) MaxBatchSize ¶ added in v0.38.0
func (eba *EventBridgeArchive) MaxBatchSize() int
func (*EventBridgeArchive) Nuke ¶ added in v0.38.0
func (eba *EventBridgeArchive) Nuke(identifiers []string) error
func (*EventBridgeArchive) ResourceIdentifiers ¶ added in v0.38.0
func (eba *EventBridgeArchive) ResourceIdentifiers() []string
func (*EventBridgeArchive) ResourceName ¶ added in v0.38.0
func (eba *EventBridgeArchive) ResourceName() string
type EventBridgeArchiveAPI ¶ added in v0.38.0
type EventBridgeArchiveAPI interface {
ListArchives(ctx context.Context, params *eventbridge.ListArchivesInput, optFns ...func(*eventbridge.Options)) (*eventbridge.ListArchivesOutput, error)
DeleteArchive(ctx context.Context, params *eventbridge.DeleteArchiveInput, optFns ...func(*eventbridge.Options)) (*eventbridge.DeleteArchiveOutput, error)
}
type EventBridgeRule ¶ added in v0.38.0
type EventBridgeRule struct {
BaseAwsResource
Client EventBridgeRuleAPI
Region string
Rules []string
}
func (*EventBridgeRule) GetAndSetIdentifiers ¶ added in v0.38.0
func (*EventBridgeRule) GetAndSetResourceConfig ¶ added in v0.38.0
func (ebr *EventBridgeRule) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*EventBridgeRule) Init ¶ added in v0.38.1
func (ebr *EventBridgeRule) Init(cfg aws.Config)
func (*EventBridgeRule) MaxBatchSize ¶ added in v0.38.0
func (ebr *EventBridgeRule) MaxBatchSize() int
func (*EventBridgeRule) Nuke ¶ added in v0.38.0
func (ebr *EventBridgeRule) Nuke(identifiers []string) error
func (*EventBridgeRule) ResourceIdentifiers ¶ added in v0.38.0
func (ebr *EventBridgeRule) ResourceIdentifiers() []string
func (*EventBridgeRule) ResourceName ¶ added in v0.38.0
func (ebr *EventBridgeRule) ResourceName() string
type EventBridgeRuleAPI ¶ added in v0.38.0
type EventBridgeRuleAPI interface {
ListRules(ctx context.Context, params *eventbridge.ListRulesInput, optFns ...func(*eventbridge.Options)) (*eventbridge.ListRulesOutput, error)
DeleteRule(ctx context.Context, params *eventbridge.DeleteRuleInput, optFns ...func(*eventbridge.Options)) (*eventbridge.DeleteRuleOutput, error)
ListEventBuses(ctx context.Context, params *eventbridge.ListEventBusesInput, optFns ...func(*eventbridge.Options)) (*eventbridge.ListEventBusesOutput, error)
ListTargetsByRule(ctx context.Context, params *eventbridge.ListTargetsByRuleInput, optFns ...func(*eventbridge.Options)) (*eventbridge.ListTargetsByRuleOutput, error)
RemoveTargets(ctx context.Context, params *eventbridge.RemoveTargetsInput, optFns ...func(*eventbridge.Options)) (*eventbridge.RemoveTargetsOutput, error)
}
type EventBridgeSchedule ¶ added in v0.38.0
type EventBridgeSchedule struct {
BaseAwsResource
Client EventBridgeScheduleAPI
Region string
Schedules []string
}
func (*EventBridgeSchedule) GetAndSetIdentifiers ¶ added in v0.38.0
func (*EventBridgeSchedule) GetAndSetResourceConfig ¶ added in v0.38.0
func (sch *EventBridgeSchedule) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*EventBridgeSchedule) Init ¶ added in v0.38.1
func (sch *EventBridgeSchedule) Init(cfg aws.Config)
func (*EventBridgeSchedule) MaxBatchSize ¶ added in v0.38.0
func (sch *EventBridgeSchedule) MaxBatchSize() int
func (*EventBridgeSchedule) Nuke ¶ added in v0.38.0
func (sch *EventBridgeSchedule) Nuke(identifiers []string) error
func (*EventBridgeSchedule) ResourceIdentifiers ¶ added in v0.38.0
func (sch *EventBridgeSchedule) ResourceIdentifiers() []string
func (*EventBridgeSchedule) ResourceName ¶ added in v0.38.0
func (sch *EventBridgeSchedule) ResourceName() string
type EventBridgeScheduleAPI ¶ added in v0.38.0
type EventBridgeScheduleAPI interface {
DeleteSchedule(ctx context.Context, params *scheduler.DeleteScheduleInput, optFns ...func(*scheduler.Options)) (*scheduler.DeleteScheduleOutput, error)
ListSchedules(ctx context.Context, params *scheduler.ListSchedulesInput, optFns ...func(*scheduler.Options)) (*scheduler.ListSchedulesOutput, error)
}
type EventBridgeScheduleGroup ¶ added in v0.38.0
type EventBridgeScheduleGroup struct {
BaseAwsResource
Client EventBridgeScheduleGroupAPI
Region string
Groups []string
}
func (*EventBridgeScheduleGroup) GetAndSetIdentifiers ¶ added in v0.38.0
func (*EventBridgeScheduleGroup) GetAndSetResourceConfig ¶ added in v0.38.0
func (sch *EventBridgeScheduleGroup) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*EventBridgeScheduleGroup) Init ¶ added in v0.38.1
func (sch *EventBridgeScheduleGroup) Init(cfg aws.Config)
func (*EventBridgeScheduleGroup) MaxBatchSize ¶ added in v0.38.0
func (sch *EventBridgeScheduleGroup) MaxBatchSize() int
func (*EventBridgeScheduleGroup) Nuke ¶ added in v0.38.0
func (sch *EventBridgeScheduleGroup) Nuke(identifiers []string) error
func (*EventBridgeScheduleGroup) ResourceIdentifiers ¶ added in v0.38.0
func (sch *EventBridgeScheduleGroup) ResourceIdentifiers() []string
func (*EventBridgeScheduleGroup) ResourceName ¶ added in v0.38.0
func (sch *EventBridgeScheduleGroup) ResourceName() string
type EventBridgeScheduleGroupAPI ¶ added in v0.38.0
type EventBridgeScheduleGroupAPI interface {
DeleteScheduleGroup(ctx context.Context, params *scheduler.DeleteScheduleGroupInput, optFns ...func(*scheduler.Options)) (*scheduler.DeleteScheduleGroupOutput, error)
ListScheduleGroups(ctx context.Context, params *scheduler.ListScheduleGroupsInput, optFns ...func(*scheduler.Options)) (*scheduler.ListScheduleGroupsOutput, error)
}
type Grafana ¶ added in v0.38.0
type Grafana struct {
BaseAwsResource
Client GrafanaAPI
Region string
WorkSpaces []string
}
func (*Grafana) GetAndSetIdentifiers ¶ added in v0.38.0
func (*Grafana) GetAndSetResourceConfig ¶ added in v0.38.0
func (g *Grafana) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*Grafana) MaxBatchSize ¶ added in v0.38.0
func (*Grafana) ResourceIdentifiers ¶ added in v0.38.0
func (*Grafana) ResourceName ¶ added in v0.38.0
type GrafanaAPI ¶ added in v0.38.0
type GrafanaAPI interface {
DeleteWorkspace(ctx context.Context, params *grafana.DeleteWorkspaceInput, optFns ...func(*grafana.Options)) (*grafana.DeleteWorkspaceOutput, error)
ListWorkspaces(ctx context.Context, params *grafana.ListWorkspacesInput, optFns ...func(*grafana.Options)) (*grafana.ListWorkspacesOutput, error)
}
type GuardDuty ¶
type GuardDuty struct {
BaseAwsResource
Client GuardDutyAPI
Region string
// contains filtered or unexported fields
}
func (*GuardDuty) GetAndSetIdentifiers ¶
func (*GuardDuty) GetAndSetResourceConfig ¶ added in v0.37.0
func (gd *GuardDuty) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*GuardDuty) MaxBatchSize ¶
func (*GuardDuty) ResourceIdentifiers ¶
func (*GuardDuty) ResourceName ¶
type GuardDutyAPI ¶ added in v0.38.0
type GuardDutyAPI interface {
GetDetector(ctx context.Context, params *guardduty.GetDetectorInput, optFns ...func(*guardduty.Options)) (*guardduty.GetDetectorOutput, error)
DeleteDetector(ctx context.Context, params *guardduty.DeleteDetectorInput, optFns ...func(*guardduty.Options)) (*guardduty.DeleteDetectorOutput, error)
ListDetectors(ctx context.Context, params *guardduty.ListDetectorsInput, optFns ...func(*guardduty.Options)) (*guardduty.ListDetectorsOutput, error)
}
type IAMGroups ¶
type IAMGroups struct {
BaseAwsResource
Client IAMGroupsAPI
GroupNames []string
}
IAMGroups - represents all IAMGroups on the AWS Account
func (*IAMGroups) GetAndSetIdentifiers ¶
func (*IAMGroups) GetAndSetResourceConfig ¶ added in v0.37.0
func (ig *IAMGroups) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*IAMGroups) MaxBatchSize ¶
Tentative batch size to ensure AWS doesn't throttle There's a global max of 500 groups so it shouldn't take long either way
func (*IAMGroups) ResourceIdentifiers ¶
ResourceIdentifiers - The IAM GroupNames
func (*IAMGroups) ResourceName ¶
ResourceName - the simple name of the AWS resource
type IAMGroupsAPI ¶ added in v0.38.0
type IAMGroupsAPI interface {
DetachGroupPolicy(ctx context.Context, params *iam.DetachGroupPolicyInput, optFns ...func(*iam.Options)) (*iam.DetachGroupPolicyOutput, error)
DeleteGroupPolicy(ctx context.Context, params *iam.DeleteGroupPolicyInput, optFns ...func(*iam.Options)) (*iam.DeleteGroupPolicyOutput, error)
DeleteGroup(ctx context.Context, params *iam.DeleteGroupInput, optFns ...func(*iam.Options)) (*iam.DeleteGroupOutput, error)
GetGroup(ctx context.Context, params *iam.GetGroupInput, optFns ...func(*iam.Options)) (*iam.GetGroupOutput, error)
ListAttachedGroupPolicies(ctx context.Context, params *iam.ListAttachedGroupPoliciesInput, optFns ...func(*iam.Options)) (*iam.ListAttachedGroupPoliciesOutput, error)
ListGroups(ctx context.Context, params *iam.ListGroupsInput, optFns ...func(*iam.Options)) (*iam.ListGroupsOutput, error)
ListGroupPolicies(ctx context.Context, params *iam.ListGroupPoliciesInput, optFns ...func(*iam.Options)) (*iam.ListGroupPoliciesOutput, error)
RemoveUserFromGroup(ctx context.Context, params *iam.RemoveUserFromGroupInput, optFns ...func(*iam.Options)) (*iam.RemoveUserFromGroupOutput, error)
}
type IAMInstanceProfileAPI ¶ added in v0.40.0
type IAMInstanceProfileAPI interface {
ListInstanceProfiles(ctx context.Context, params *iam.ListInstanceProfilesInput, optFns ...func(*iam.Options)) (*iam.ListInstanceProfilesOutput, error)
GetInstanceProfile(ctx context.Context, params *iam.GetInstanceProfileInput, optFns ...func(*iam.Options)) (*iam.GetInstanceProfileOutput, error)
RemoveRoleFromInstanceProfile(ctx context.Context, params *iam.RemoveRoleFromInstanceProfileInput, optFns ...func(*iam.Options)) (*iam.RemoveRoleFromInstanceProfileOutput, error)
DeleteInstanceProfile(ctx context.Context, params *iam.DeleteInstanceProfileInput, optFns ...func(*iam.Options)) (*iam.DeleteInstanceProfileOutput, error)
}
type IAMInstanceProfiles ¶ added in v0.40.0
type IAMInstanceProfiles struct {
BaseAwsResource
Client IAMInstanceProfileAPI
InstanceProfiles []string
}
IAMInstanceProfiles - represents all IAM Policies on the AWS account
func (*IAMInstanceProfiles) GetAndSetIdentifiers ¶ added in v0.40.0
func (*IAMInstanceProfiles) GetAndSetResourceConfig ¶ added in v0.40.0
func (ip *IAMInstanceProfiles) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*IAMInstanceProfiles) Init ¶ added in v0.40.0
func (ip *IAMInstanceProfiles) Init(cfg aws.Config)
func (*IAMInstanceProfiles) MaxBatchSize ¶ added in v0.40.0
func (ip *IAMInstanceProfiles) MaxBatchSize() int
MaxBatchSize Tentative batch size to ensure AWS doesn't throttle
func (*IAMInstanceProfiles) Nuke ¶ added in v0.40.0
func (ip *IAMInstanceProfiles) Nuke(identifiers []string) error
Nuke - Destroy every instance profiles in this collection
func (*IAMInstanceProfiles) ResourceIdentifiers ¶ added in v0.40.0
func (ip *IAMInstanceProfiles) ResourceIdentifiers() []string
ResourceIdentifiers - The IAM Instance Profile Names
func (*IAMInstanceProfiles) ResourceName ¶ added in v0.40.0
func (ip *IAMInstanceProfiles) ResourceName() string
ResourceName - the simple name of the AWS resource
type IAMPolicies ¶
type IAMPolicies struct {
BaseAwsResource
Client IAMPoliciesAPI
PolicyArns []string
}
IAMPolicies - represents all IAM Policies on the AWS account
func (*IAMPolicies) GetAndSetIdentifiers ¶
func (*IAMPolicies) GetAndSetResourceConfig ¶ added in v0.37.0
func (ip *IAMPolicies) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*IAMPolicies) Init ¶
func (ip *IAMPolicies) Init(cfg aws.Config)
func (*IAMPolicies) MaxBatchSize ¶
func (ip *IAMPolicies) MaxBatchSize() int
MaxBatchSize Tentative batch size to ensure AWS doesn't throttle
func (*IAMPolicies) Nuke ¶
func (ip *IAMPolicies) Nuke(identifiers []string) error
Nuke - Destroy every group in this collection
func (*IAMPolicies) ResourceIdentifiers ¶
func (ip *IAMPolicies) ResourceIdentifiers() []string
ResourceIdentifiers - The IAM GroupNames
func (*IAMPolicies) ResourceName ¶
func (ip *IAMPolicies) ResourceName() string
ResourceName - the simple name of the AWS resource
type IAMPoliciesAPI ¶ added in v0.38.0
type IAMPoliciesAPI interface {
ListEntitiesForPolicy(ctx context.Context, params *iam.ListEntitiesForPolicyInput, optFns ...func(*iam.Options)) (*iam.ListEntitiesForPolicyOutput, error)
ListPolicies(ctx context.Context, params *iam.ListPoliciesInput, optFns ...func(*iam.Options)) (*iam.ListPoliciesOutput, error)
ListPolicyTags(ctx context.Context, params *iam.ListPolicyTagsInput, optFns ...func(*iam.Options)) (*iam.ListPolicyTagsOutput, error)
ListPolicyVersions(ctx context.Context, params *iam.ListPolicyVersionsInput, optFns ...func(*iam.Options)) (*iam.ListPolicyVersionsOutput, error)
DeletePolicy(ctx context.Context, params *iam.DeletePolicyInput, optFns ...func(*iam.Options)) (*iam.DeletePolicyOutput, error)
DeletePolicyVersion(ctx context.Context, params *iam.DeletePolicyVersionInput, optFns ...func(*iam.Options)) (*iam.DeletePolicyVersionOutput, error)
DetachGroupPolicy(ctx context.Context, params *iam.DetachGroupPolicyInput, optFns ...func(*iam.Options)) (*iam.DetachGroupPolicyOutput, error)
DetachUserPolicy(ctx context.Context, params *iam.DetachUserPolicyInput, optFns ...func(*iam.Options)) (*iam.DetachUserPolicyOutput, error)
DetachRolePolicy(ctx context.Context, params *iam.DetachRolePolicyInput, optFns ...func(*iam.Options)) (*iam.DetachRolePolicyOutput, error)
}
type IAMRoles ¶
type IAMRoles struct {
BaseAwsResource
Client IAMRolesAPI
RoleNames []string
}
IAMRoles - represents all IAMRoles on the AWS Account
func (*IAMRoles) GetAndSetIdentifiers ¶
func (*IAMRoles) GetAndSetResourceConfig ¶ added in v0.37.0
func (ir *IAMRoles) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*IAMRoles) MaxBatchSize ¶
Tentative batch size to ensure AWS doesn't throttle
func (*IAMRoles) ResourceIdentifiers ¶
ResourceIdentifiers - The IAM UserNames
func (*IAMRoles) ResourceName ¶
ResourceName - the simple name of the aws resource
type IAMRolesAPI ¶ added in v0.38.0
type IAMRolesAPI interface {
ListAttachedRolePolicies(ctx context.Context, params *iam.ListAttachedRolePoliciesInput, optFns ...func(*iam.Options)) (*iam.ListAttachedRolePoliciesOutput, error)
ListInstanceProfilesForRole(ctx context.Context, params *iam.ListInstanceProfilesForRoleInput, optFns ...func(*iam.Options)) (*iam.ListInstanceProfilesForRoleOutput, error)
ListRolePolicies(ctx context.Context, params *iam.ListRolePoliciesInput, optFns ...func(*iam.Options)) (*iam.ListRolePoliciesOutput, error)
ListRoles(ctx context.Context, params *iam.ListRolesInput, optFns ...func(*iam.Options)) (*iam.ListRolesOutput, error)
ListRoleTags(ctx context.Context, params *iam.ListRoleTagsInput, optFns ...func(*iam.Options)) (*iam.ListRoleTagsOutput, error)
DeleteInstanceProfile(ctx context.Context, params *iam.DeleteInstanceProfileInput, optFns ...func(*iam.Options)) (*iam.DeleteInstanceProfileOutput, error)
DetachRolePolicy(ctx context.Context, params *iam.DetachRolePolicyInput, optFns ...func(*iam.Options)) (*iam.DetachRolePolicyOutput, error)
DeleteRolePolicy(ctx context.Context, params *iam.DeleteRolePolicyInput, optFns ...func(*iam.Options)) (*iam.DeleteRolePolicyOutput, error)
DeleteRole(ctx context.Context, params *iam.DeleteRoleInput, optFns ...func(*iam.Options)) (*iam.DeleteRoleOutput, error)
RemoveRoleFromInstanceProfile(ctx context.Context, params *iam.RemoveRoleFromInstanceProfileInput, optFns ...func(*iam.Options)) (*iam.RemoveRoleFromInstanceProfileOutput, error)
}
type IAMServiceLinkedRoles ¶
type IAMServiceLinkedRoles struct {
BaseAwsResource
Client IAMServiceLinkedRolesAPI
RoleNames []string
}
IAMServiceLinkedRoles - represents all IAMServiceLinkedRoles on the AWS Account
func (*IAMServiceLinkedRoles) GetAndSetIdentifiers ¶
func (*IAMServiceLinkedRoles) GetAndSetResourceConfig ¶ added in v0.37.0
func (islr *IAMServiceLinkedRoles) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*IAMServiceLinkedRoles) Init ¶
func (islr *IAMServiceLinkedRoles) Init(cfg aws.Config)
func (*IAMServiceLinkedRoles) MaxBatchSize ¶
func (islr *IAMServiceLinkedRoles) MaxBatchSize() int
MaxBatchSize Tentative batch size to ensure AWS doesn't throttle
func (*IAMServiceLinkedRoles) Nuke ¶
func (islr *IAMServiceLinkedRoles) Nuke(identifiers []string) error
Nuke - nuke 'em all!!!
func (*IAMServiceLinkedRoles) ResourceIdentifiers ¶
func (islr *IAMServiceLinkedRoles) ResourceIdentifiers() []string
ResourceIdentifiers - The IAM UserNames
func (*IAMServiceLinkedRoles) ResourceName ¶
func (islr *IAMServiceLinkedRoles) ResourceName() string
ResourceName - the simple name of the aws resource
type IAMServiceLinkedRolesAPI ¶ added in v0.38.0
type IAMServiceLinkedRolesAPI interface {
ListRoles(ctx context.Context, params *iam.ListRolesInput, optFns ...func(*iam.Options)) (*iam.ListRolesOutput, error)
DeleteServiceLinkedRole(ctx context.Context, params *iam.DeleteServiceLinkedRoleInput, optFns ...func(*iam.Options)) (*iam.DeleteServiceLinkedRoleOutput, error)
GetServiceLinkedRoleDeletionStatus(ctx context.Context, params *iam.GetServiceLinkedRoleDeletionStatusInput, optFns ...func(*iam.Options)) (*iam.GetServiceLinkedRoleDeletionStatusOutput, error)
}
type IAMUsers ¶
type IAMUsers struct {
BaseAwsResource
Client IAMUsersAPI
UserNames []string
}
IAMUsers - represents all IAMUsers on the AWS Account
func (*IAMUsers) GetAndSetIdentifiers ¶
func (*IAMUsers) GetAndSetResourceConfig ¶ added in v0.37.0
func (iu *IAMUsers) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*IAMUsers) MaxBatchSize ¶
Tentative batch size to ensure AWS doesn't throttle
func (*IAMUsers) ResourceIdentifiers ¶
ResourceIdentifiers - The IAM UserNames
func (*IAMUsers) ResourceName ¶
ResourceName - the simple name of the aws resource
type IAMUsersAPI ¶ added in v0.38.0
type IAMUsersAPI interface {
ListAccessKeys(ctx context.Context, params *iam.ListAccessKeysInput, optFns ...func(*iam.Options)) (*iam.ListAccessKeysOutput, error)
ListGroupsForUser(ctx context.Context, params *iam.ListGroupsForUserInput, optFns ...func(*iam.Options)) (*iam.ListGroupsForUserOutput, error)
ListUserPolicies(ctx context.Context, params *iam.ListUserPoliciesInput, optFns ...func(*iam.Options)) (*iam.ListUserPoliciesOutput, error)
ListUserTags(ctx context.Context, params *iam.ListUserTagsInput, optFns ...func(*iam.Options)) (*iam.ListUserTagsOutput, error)
ListMFADevices(ctx context.Context, params *iam.ListMFADevicesInput, optFns ...func(*iam.Options)) (*iam.ListMFADevicesOutput, error)
ListSSHPublicKeys(ctx context.Context, params *iam.ListSSHPublicKeysInput, optFns ...func(*iam.Options)) (*iam.ListSSHPublicKeysOutput, error)
ListServiceSpecificCredentials(ctx context.Context, params *iam.ListServiceSpecificCredentialsInput, optFns ...func(*iam.Options)) (*iam.ListServiceSpecificCredentialsOutput, error)
ListSigningCertificates(ctx context.Context, params *iam.ListSigningCertificatesInput, optFns ...func(*iam.Options)) (*iam.ListSigningCertificatesOutput, error)
ListUsers(ctx context.Context, params *iam.ListUsersInput, optFns ...func(*iam.Options)) (*iam.ListUsersOutput, error)
ListAttachedUserPolicies(ctx context.Context, params *iam.ListAttachedUserPoliciesInput, optFns ...func(*iam.Options)) (*iam.ListAttachedUserPoliciesOutput, error)
DetachUserPolicy(ctx context.Context, params *iam.DetachUserPolicyInput, optFns ...func(*iam.Options)) (*iam.DetachUserPolicyOutput, error)
DeleteLoginProfile(ctx context.Context, params *iam.DeleteLoginProfileInput, optFns ...func(*iam.Options)) (*iam.DeleteLoginProfileOutput, error)
DeleteUserPolicy(ctx context.Context, params *iam.DeleteUserPolicyInput, optFns ...func(*iam.Options)) (*iam.DeleteUserPolicyOutput, error)
DeleteAccessKey(ctx context.Context, params *iam.DeleteAccessKeyInput, optFns ...func(*iam.Options)) (*iam.DeleteAccessKeyOutput, error)
DeleteSigningCertificate(ctx context.Context, params *iam.DeleteSigningCertificateInput, optFns ...func(*iam.Options)) (*iam.DeleteSigningCertificateOutput, error)
DeleteSSHPublicKey(ctx context.Context, params *iam.DeleteSSHPublicKeyInput, optFns ...func(*iam.Options)) (*iam.DeleteSSHPublicKeyOutput, error)
DeleteServiceSpecificCredential(ctx context.Context, params *iam.DeleteServiceSpecificCredentialInput, optFns ...func(*iam.Options)) (*iam.DeleteServiceSpecificCredentialOutput, error)
DeactivateMFADevice(ctx context.Context, params *iam.DeactivateMFADeviceInput, optFns ...func(*iam.Options)) (*iam.DeactivateMFADeviceOutput, error)
DeleteVirtualMFADevice(ctx context.Context, params *iam.DeleteVirtualMFADeviceInput, optFns ...func(*iam.Options)) (*iam.DeleteVirtualMFADeviceOutput, error)
DeleteUser(ctx context.Context, params *iam.DeleteUserInput, optFns ...func(*iam.Options)) (*iam.DeleteUserOutput, error)
RemoveUserFromGroup(ctx context.Context, params *iam.RemoveUserFromGroupInput, optFns ...func(*iam.Options)) (*iam.RemoveUserFromGroupOutput, error)
}
type ImageAvailableError ¶
type ImageAvailableError struct{}
func (ImageAvailableError) Error ¶
func (e ImageAvailableError) Error() string
type InternetGateway ¶ added in v0.35.0
type InternetGateway struct {
BaseAwsResource
Client InternetGatewayAPI
Region string
GatewayIds []string
GatewayVPCMap map[string]string
}
func (*InternetGateway) GetAndSetIdentifiers ¶ added in v0.35.0
func (*InternetGateway) GetAndSetResourceConfig ¶ added in v0.37.0
func (igw *InternetGateway) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*InternetGateway) Init ¶ added in v0.35.0
func (igw *InternetGateway) Init(cfg aws.Config)
func (*InternetGateway) MaxBatchSize ¶ added in v0.35.0
func (igw *InternetGateway) MaxBatchSize() int
func (*InternetGateway) Nuke ¶ added in v0.35.0
func (igw *InternetGateway) Nuke(identifiers []string) error
func (*InternetGateway) ResourceIdentifiers ¶ added in v0.35.0
func (igw *InternetGateway) ResourceIdentifiers() []string
func (*InternetGateway) ResourceName ¶ added in v0.35.0
func (igw *InternetGateway) ResourceName() string
type InternetGatewayAPI ¶ added in v0.38.0
type InternetGatewayAPI interface {
DescribeInternetGateways(ctx context.Context, params *ec2.DescribeInternetGatewaysInput, optFns ...func(*ec2.Options)) (*ec2.DescribeInternetGatewaysOutput, error)
DeleteInternetGateway(ctx context.Context, params *ec2.DeleteInternetGatewayInput, optFns ...func(*ec2.Options)) (*ec2.DeleteInternetGatewayOutput, error)
DetachInternetGateway(ctx context.Context, params *ec2.DetachInternetGatewayInput, optFns ...func(*ec2.Options)) (*ec2.DetachInternetGatewayOutput, error)
}
type KinesisFirehose ¶ added in v0.37.0
type KinesisFirehose struct {
BaseAwsResource
Client KinesisFirehoseAPI
Region string
Names []string
}
func (*KinesisFirehose) GetAndSetIdentifiers ¶ added in v0.37.0
func (*KinesisFirehose) GetAndSetResourceConfig ¶ added in v0.37.0
func (kf *KinesisFirehose) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*KinesisFirehose) Init ¶ added in v0.37.0
func (kf *KinesisFirehose) Init(cfg aws.Config)
func (*KinesisFirehose) MaxBatchSize ¶ added in v0.37.0
func (kf *KinesisFirehose) MaxBatchSize() int
func (*KinesisFirehose) Nuke ¶ added in v0.37.0
func (kf *KinesisFirehose) Nuke(identifiers []string) error
Nuke - nuke 'em all!!!
func (*KinesisFirehose) ResourceIdentifiers ¶ added in v0.37.0
func (kf *KinesisFirehose) ResourceIdentifiers() []string
ResourceIdentifiers - The names of the Kinesis Streams
func (*KinesisFirehose) ResourceName ¶ added in v0.37.0
func (kf *KinesisFirehose) ResourceName() string
ResourceName - The simple name of the AWS resource
type KinesisFirehoseAPI ¶ added in v0.38.0
type KinesisFirehoseAPI interface {
DeleteDeliveryStream(ctx context.Context, params *firehose.DeleteDeliveryStreamInput, optFns ...func(*firehose.Options)) (*firehose.DeleteDeliveryStreamOutput, error)
ListDeliveryStreams(ctx context.Context, params *firehose.ListDeliveryStreamsInput, optFns ...func(*firehose.Options)) (*firehose.ListDeliveryStreamsOutput, error)
}
type KinesisStreams ¶
type KinesisStreams struct {
BaseAwsResource
Client KinesisStreamsAPI
Region string
Names []string
}
KinesisStreams - represents all Kinesis streams
func (*KinesisStreams) GetAndSetIdentifiers ¶
func (*KinesisStreams) GetAndSetResourceConfig ¶ added in v0.37.0
func (ks *KinesisStreams) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*KinesisStreams) Init ¶
func (ks *KinesisStreams) Init(cfg aws.Config)
func (*KinesisStreams) MaxBatchSize ¶
func (ks *KinesisStreams) MaxBatchSize() int
func (*KinesisStreams) Nuke ¶
func (ks *KinesisStreams) Nuke(identifiers []string) error
Nuke - nuke 'em all!!!
func (*KinesisStreams) ResourceIdentifiers ¶
func (ks *KinesisStreams) ResourceIdentifiers() []string
ResourceIdentifiers - The names of the Kinesis Streams
func (*KinesisStreams) ResourceName ¶
func (ks *KinesisStreams) ResourceName() string
ResourceName - The simple name of the AWS resource
type KinesisStreamsAPI ¶ added in v0.38.0
type KinesisStreamsAPI interface {
ListStreams(ctx context.Context, params *kinesis.ListStreamsInput, optFns ...func(*kinesis.Options)) (*kinesis.ListStreamsOutput, error)
DeleteStream(ctx context.Context, params *kinesis.DeleteStreamInput, optFns ...func(*kinesis.Options)) (*kinesis.DeleteStreamOutput, error)
}
type KmsCheckIncludeResult ¶
KmsCheckIncludeResult - structure used results of evaluation: not null KeyId - key should be included
type KmsCustomerKeys ¶
type KmsCustomerKeys struct {
BaseAwsResource
Client KmsCustomerKeysAPI
Region string
KeyIds []string
KeyAliases map[string][]string
}
func (*KmsCustomerKeys) GetAndSetIdentifiers ¶
func (*KmsCustomerKeys) Init ¶
func (kck *KmsCustomerKeys) Init(cfg aws.Config)
func (*KmsCustomerKeys) MaxBatchSize ¶
func (kck *KmsCustomerKeys) MaxBatchSize() int
MaxBatchSize - Requests batch size
func (*KmsCustomerKeys) Nuke ¶
func (kck *KmsCustomerKeys) Nuke(keyIds []string) error
Nuke - remove all customer managed keys
func (*KmsCustomerKeys) ResourceIdentifiers ¶
func (kck *KmsCustomerKeys) ResourceIdentifiers() []string
ResourceIdentifiers - The KMS Key IDs
func (*KmsCustomerKeys) ResourceName ¶
func (kck *KmsCustomerKeys) ResourceName() string
ResourceName - the simple name of the aws resource
type KmsCustomerKeysAPI ¶ added in v0.38.0
type KmsCustomerKeysAPI interface {
ListKeys(ctx context.Context, params *kms.ListKeysInput, optFns ...func(*kms.Options)) (*kms.ListKeysOutput, error)
ListAliases(ctx context.Context, params *kms.ListAliasesInput, optFns ...func(*kms.Options)) (*kms.ListAliasesOutput, error)
DescribeKey(ctx context.Context, params *kms.DescribeKeyInput, optFns ...func(*kms.Options)) (*kms.DescribeKeyOutput, error)
DeleteAlias(ctx context.Context, params *kms.DeleteAliasInput, optFns ...func(*kms.Options)) (*kms.DeleteAliasOutput, error)
ScheduleKeyDeletion(ctx context.Context, params *kms.ScheduleKeyDeletionInput, optFns ...func(*kms.Options)) (*kms.ScheduleKeyDeletionOutput, error)
}
type LambdaDeleteError ¶
type LambdaDeleteError struct {
// contains filtered or unexported fields
}
func (LambdaDeleteError) Error ¶
func (e LambdaDeleteError) Error() string
type LambdaFunctions ¶
type LambdaFunctions struct {
BaseAwsResource
Client LambdaFunctionsAPI
Region string
LambdaFunctionNames []string
}
func (*LambdaFunctions) GetAndSetIdentifiers ¶
func (*LambdaFunctions) GetAndSetResourceConfig ¶ added in v0.37.0
func (lf *LambdaFunctions) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*LambdaFunctions) Init ¶
func (lf *LambdaFunctions) Init(cfg aws.Config)
func (*LambdaFunctions) MaxBatchSize ¶
func (lf *LambdaFunctions) MaxBatchSize() int
func (*LambdaFunctions) Nuke ¶
func (lf *LambdaFunctions) Nuke(identifiers []string) error
Nuke - nuke 'em all!!!
func (*LambdaFunctions) ResourceIdentifiers ¶
func (lf *LambdaFunctions) ResourceIdentifiers() []string
ResourceIdentifiers - The names of the lambda functions
func (*LambdaFunctions) ResourceName ¶
func (lf *LambdaFunctions) ResourceName() string
type LambdaFunctionsAPI ¶ added in v0.38.0
type LambdaFunctionsAPI interface {
DeleteFunction(ctx context.Context, params *lambda.DeleteFunctionInput, optFns ...func(*lambda.Options)) (*lambda.DeleteFunctionOutput, error)
ListFunctions(ctx context.Context, params *lambda.ListFunctionsInput, optFns ...func(*lambda.Options)) (*lambda.ListFunctionsOutput, error)
ListTags(ctx context.Context, params *lambda.ListTagsInput, optFns ...func(*lambda.Options)) (*lambda.ListTagsOutput, error)
}
type LambdaLayers ¶
type LambdaLayers struct {
BaseAwsResource
Client LambdaLayersAPI
Region string
LambdaFunctionNames []string
}
func (*LambdaLayers) GetAndSetIdentifiers ¶
func (*LambdaLayers) GetAndSetResourceConfig ¶ added in v0.37.0
func (ll *LambdaLayers) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*LambdaLayers) Init ¶
func (ll *LambdaLayers) Init(cfg aws.Config)
func (*LambdaLayers) MaxBatchSize ¶
func (ll *LambdaLayers) MaxBatchSize() int
func (*LambdaLayers) Nuke ¶
func (ll *LambdaLayers) Nuke(identifiers []string) error
Nuke - nuke 'em all!!!
func (*LambdaLayers) ResourceIdentifiers ¶
func (ll *LambdaLayers) ResourceIdentifiers() []string
ResourceIdentifiers - The names of the lambda functions
func (*LambdaLayers) ResourceName ¶
func (ll *LambdaLayers) ResourceName() string
type LambdaLayersAPI ¶ added in v0.38.0
type LambdaLayersAPI interface {
DeleteLayerVersion(ctx context.Context, params *lambda.DeleteLayerVersionInput, optFns ...func(*lambda.Options)) (*lambda.DeleteLayerVersionOutput, error)
ListLayers(ctx context.Context, params *lambda.ListLayersInput, optFns ...func(*lambda.Options)) (*lambda.ListLayersOutput, error)
ListLayerVersions(ctx context.Context, params *lambda.ListLayerVersionsInput, optFns ...func(*lambda.Options)) (*lambda.ListLayerVersionsOutput, error)
}
type LambdaVersionDeleteError ¶
type LambdaVersionDeleteError struct {
// contains filtered or unexported fields
}
func (LambdaVersionDeleteError) Error ¶
func (e LambdaVersionDeleteError) Error() string
type LaunchConfigs ¶
type LaunchConfigs struct {
BaseAwsResource
Client LaunchConfigsAPI
Region string
LaunchConfigurationNames []string
}
LaunchConfigs - represents all launch configurations
func (*LaunchConfigs) GetAndSetIdentifiers ¶
func (*LaunchConfigs) GetAndSetResourceConfig ¶ added in v0.37.0
func (lc *LaunchConfigs) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*LaunchConfigs) Init ¶
func (lc *LaunchConfigs) Init(cfg aws.Config)
func (*LaunchConfigs) MaxBatchSize ¶
func (lc *LaunchConfigs) MaxBatchSize() int
func (*LaunchConfigs) Nuke ¶
func (lc *LaunchConfigs) Nuke(identifiers []string) error
Nuke - nuke 'em all!!!
func (*LaunchConfigs) ResourceIdentifiers ¶
func (lc *LaunchConfigs) ResourceIdentifiers() []string
ResourceIdentifiers - The names of the launch configurations
func (*LaunchConfigs) ResourceName ¶
func (lc *LaunchConfigs) ResourceName() string
ResourceName - the simple name of the aws resource
type LaunchConfigsAPI ¶ added in v0.38.0
type LaunchConfigsAPI interface {
DescribeLaunchConfigurations(ctx context.Context, params *autoscaling.DescribeLaunchConfigurationsInput, optFns ...func(*autoscaling.Options)) (*autoscaling.DescribeLaunchConfigurationsOutput, error)
DeleteLaunchConfiguration(ctx context.Context, params *autoscaling.DeleteLaunchConfigurationInput, optFns ...func(*autoscaling.Options)) (*autoscaling.DeleteLaunchConfigurationOutput, error)
}
type LaunchTemplates ¶
type LaunchTemplates struct {
BaseAwsResource
Client LaunchTemplatesAPI
Region string
LaunchTemplateNames []string
}
LaunchTemplates - represents all launch templates
func (*LaunchTemplates) GetAndSetIdentifiers ¶
func (*LaunchTemplates) GetAndSetResourceConfig ¶ added in v0.37.0
func (lt *LaunchTemplates) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*LaunchTemplates) Init ¶
func (lt *LaunchTemplates) Init(cfg aws.Config)
func (*LaunchTemplates) MaxBatchSize ¶
func (lt *LaunchTemplates) MaxBatchSize() int
func (*LaunchTemplates) Nuke ¶
func (lt *LaunchTemplates) Nuke(identifiers []string) error
Nuke - nuke 'em all!!!
func (*LaunchTemplates) ResourceIdentifiers ¶
func (lt *LaunchTemplates) ResourceIdentifiers() []string
ResourceIdentifiers - The names of the launch templates
func (*LaunchTemplates) ResourceName ¶
func (lt *LaunchTemplates) ResourceName() string
ResourceName - the simple name of the aws resource
type LaunchTemplatesAPI ¶ added in v0.38.0
type LaunchTemplatesAPI interface {
DescribeLaunchTemplates(ctx context.Context, params *ec2.DescribeLaunchTemplatesInput, optFns ...func(*ec2.Options)) (*ec2.DescribeLaunchTemplatesOutput, error)
DeleteLaunchTemplate(ctx context.Context, params *ec2.DeleteLaunchTemplateInput, optFns ...func(*ec2.Options)) (*ec2.DeleteLaunchTemplateOutput, error)
DescribeLaunchTemplateVersions(ctx context.Context, params *ec2.DescribeLaunchTemplateVersionsInput, optFns ...func(*ec2.Options)) (*ec2.DescribeLaunchTemplateVersionsOutput, error)
}
type LoadBalancers ¶
type LoadBalancers struct {
BaseAwsResource
Client LoadBalancersAPI
Region string
Names []string
}
LoadBalancers - represents all load balancers
func (*LoadBalancers) GetAndSetIdentifiers ¶
func (*LoadBalancers) GetAndSetResourceConfig ¶ added in v0.37.0
func (balancer *LoadBalancers) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*LoadBalancers) Init ¶
func (balancer *LoadBalancers) Init(cfg aws.Config)
func (*LoadBalancers) MaxBatchSize ¶
func (balancer *LoadBalancers) MaxBatchSize() int
func (*LoadBalancers) Nuke ¶
func (balancer *LoadBalancers) Nuke(identifiers []string) error
Nuke - nuke 'em all!!!
func (*LoadBalancers) ResourceIdentifiers ¶
func (balancer *LoadBalancers) ResourceIdentifiers() []string
ResourceIdentifiers - The names of the load balancers
func (*LoadBalancers) ResourceName ¶
func (balancer *LoadBalancers) ResourceName() string
ResourceName - the simple name of the aws resource
type LoadBalancersAPI ¶ added in v0.38.0
type LoadBalancersAPI interface {
DescribeLoadBalancers(ctx context.Context, params *elasticloadbalancing.DescribeLoadBalancersInput, optFns ...func(*elasticloadbalancing.Options)) (*elasticloadbalancing.DescribeLoadBalancersOutput, error)
DeleteLoadBalancer(ctx context.Context, params *elasticloadbalancing.DeleteLoadBalancerInput, optFns ...func(*elasticloadbalancing.Options)) (*elasticloadbalancing.DeleteLoadBalancerOutput, error)
}
type LoadBalancersV2 ¶
type LoadBalancersV2 struct {
BaseAwsResource
Client LoadBalancersV2API
Region string
Arns []string
}
LoadBalancersV2 - represents all load balancers
func (*LoadBalancersV2) GetAndSetIdentifiers ¶
func (*LoadBalancersV2) GetAndSetResourceConfig ¶ added in v0.37.0
func (balancer *LoadBalancersV2) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*LoadBalancersV2) Init ¶
func (balancer *LoadBalancersV2) Init(cfg aws.Config)
func (*LoadBalancersV2) MaxBatchSize ¶
func (balancer *LoadBalancersV2) MaxBatchSize() int
func (*LoadBalancersV2) Nuke ¶
func (balancer *LoadBalancersV2) Nuke(identifiers []string) error
Nuke - nuke 'em all!!!
func (*LoadBalancersV2) ResourceIdentifiers ¶
func (balancer *LoadBalancersV2) ResourceIdentifiers() []string
ResourceIdentifiers - The arns of the load balancers
func (*LoadBalancersV2) ResourceName ¶
func (balancer *LoadBalancersV2) ResourceName() string
ResourceName - the simple name of the aws resource
type LoadBalancersV2API ¶ added in v0.38.0
type LoadBalancersV2API interface {
DescribeLoadBalancers(ctx context.Context, params *elasticloadbalancingv2.DescribeLoadBalancersInput, optFns ...func(*elasticloadbalancingv2.Options)) (*elasticloadbalancingv2.DescribeLoadBalancersOutput, error)
DeleteLoadBalancer(ctx context.Context, params *elasticloadbalancingv2.DeleteLoadBalancerInput, optFns ...func(*elasticloadbalancingv2.Options)) (*elasticloadbalancingv2.DeleteLoadBalancerOutput, error)
}
type MSKCluster ¶
type MSKCluster struct {
BaseAwsResource
Client MSKClusterAPI
Region string
ClusterArns []string
}
MSKCluster - represents all AWS Managed Streaming for Kafka clusters that should be deleted.
func (*MSKCluster) GetAndSetIdentifiers ¶
func (*MSKCluster) GetAndSetResourceConfig ¶ added in v0.37.0
func (m *MSKCluster) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*MSKCluster) Init ¶
func (m *MSKCluster) Init(cfg aws.Config)
func (*MSKCluster) MaxBatchSize ¶
func (m *MSKCluster) MaxBatchSize() int
func (*MSKCluster) Nuke ¶
func (m *MSKCluster) Nuke(identifiers []string) error
Nuke - nuke 'em all!!!
func (*MSKCluster) ResourceIdentifiers ¶
func (m *MSKCluster) ResourceIdentifiers() []string
ResourceIdentifiers - The instance ids of the AWS Managed Streaming for Kafka clusters
func (*MSKCluster) ResourceName ¶
func (m *MSKCluster) ResourceName() string
ResourceName - the simple name of the aws resource
type MSKClusterAPI ¶ added in v0.38.0
type MSKClusterAPI interface {
ListClustersV2(ctx context.Context, params *kafka.ListClustersV2Input, optFns ...func(*kafka.Options)) (*kafka.ListClustersV2Output, error)
DeleteCluster(ctx context.Context, params *kafka.DeleteClusterInput, optFns ...func(*kafka.Options)) (*kafka.DeleteClusterOutput, error)
}
type MacieMember ¶
type MacieMember struct {
BaseAwsResource
Client MacieMemberAPI
Region string
AccountIds []string
}
func (*MacieMember) GetAndSetIdentifiers ¶
func (*MacieMember) GetAndSetResourceConfig ¶ added in v0.37.0
func (mm *MacieMember) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*MacieMember) Init ¶
func (mm *MacieMember) Init(cfg aws.Config)
func (*MacieMember) MaxBatchSize ¶
func (mm *MacieMember) MaxBatchSize() int
func (*MacieMember) Nuke ¶
func (mm *MacieMember) Nuke(identifiers []string) error
func (*MacieMember) ResourceIdentifiers ¶
func (mm *MacieMember) ResourceIdentifiers() []string
func (*MacieMember) ResourceName ¶
func (mm *MacieMember) ResourceName() string
type MacieMemberAPI ¶ added in v0.38.0
type MacieMemberAPI interface {
GetMacieSession(ctx context.Context, params *macie2.GetMacieSessionInput, optFns ...func(*macie2.Options)) (*macie2.GetMacieSessionOutput, error)
ListMembers(ctx context.Context, params *macie2.ListMembersInput, optFns ...func(*macie2.Options)) (*macie2.ListMembersOutput, error)
DisassociateMember(ctx context.Context, params *macie2.DisassociateMemberInput, optFns ...func(*macie2.Options)) (*macie2.DisassociateMemberOutput, error)
DeleteMember(ctx context.Context, params *macie2.DeleteMemberInput, optFns ...func(*macie2.Options)) (*macie2.DeleteMemberOutput, error)
GetAdministratorAccount(ctx context.Context, params *macie2.GetAdministratorAccountInput, optFns ...func(*macie2.Options)) (*macie2.GetAdministratorAccountOutput, error)
DisassociateFromAdministratorAccount(ctx context.Context, params *macie2.DisassociateFromAdministratorAccountInput, optFns ...func(*macie2.Options)) (*macie2.DisassociateFromAdministratorAccountOutput, error)
DisableMacie(ctx context.Context, params *macie2.DisableMacieInput, optFns ...func(*macie2.Options)) (*macie2.DisableMacieOutput, error)
}
type ManagedPrometheus ¶ added in v0.37.2
type ManagedPrometheus struct {
BaseAwsResource
Client ManagedPrometheusAPI
Region string
WorkSpaces []string
}
func (*ManagedPrometheus) GetAndSetIdentifiers ¶ added in v0.37.2
func (*ManagedPrometheus) GetAndSetResourceConfig ¶ added in v0.37.2
func (a *ManagedPrometheus) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*ManagedPrometheus) Init ¶ added in v0.38.1
func (a *ManagedPrometheus) Init(cfg aws.Config)
func (*ManagedPrometheus) MaxBatchSize ¶ added in v0.37.2
func (a *ManagedPrometheus) MaxBatchSize() int
func (*ManagedPrometheus) Nuke ¶ added in v0.37.2
func (a *ManagedPrometheus) Nuke(identifiers []string) error
func (*ManagedPrometheus) ResourceIdentifiers ¶ added in v0.37.2
func (a *ManagedPrometheus) ResourceIdentifiers() []string
func (*ManagedPrometheus) ResourceName ¶ added in v0.37.2
func (a *ManagedPrometheus) ResourceName() string
type ManagedPrometheusAPI ¶ added in v0.37.2
type ManagedPrometheusAPI interface {
ListWorkspaces(ctx context.Context, input *amp.ListWorkspacesInput, f ...func(*amp.Options)) (*amp.ListWorkspacesOutput, error)
DeleteWorkspace(ctx context.Context, params *amp.DeleteWorkspaceInput, optFns ...func(*amp.Options)) (*amp.DeleteWorkspaceOutput, error)
}
type NatGateways ¶
type NatGateways struct {
BaseAwsResource
Client NatGatewaysAPI
Region string
NatGatewayIDs []string
}
NatGateways - represents all AWS secrets manager secrets that should be deleted.
func (*NatGateways) GetAndSetIdentifiers ¶
func (*NatGateways) GetAndSetResourceConfig ¶ added in v0.37.0
func (ngw *NatGateways) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*NatGateways) Init ¶
func (ngw *NatGateways) Init(cfg aws.Config)
func (*NatGateways) MaxBatchSize ¶
func (ngw *NatGateways) MaxBatchSize() int
func (*NatGateways) Nuke ¶
func (ngw *NatGateways) Nuke(identifiers []string) error
Nuke - nuke 'em all!!!
func (*NatGateways) ResourceIdentifiers ¶
func (ngw *NatGateways) ResourceIdentifiers() []string
ResourceIdentifiers - The instance ids of the ec2 instances
func (*NatGateways) ResourceName ¶
func (ngw *NatGateways) ResourceName() string
ResourceName - the simple name of the aws resource
type NatGatewaysAPI ¶ added in v0.38.0
type NatGatewaysAPI interface {
DeleteNatGateway(ctx context.Context, params *ec2.DeleteNatGatewayInput, optFns ...func(*ec2.Options)) (*ec2.DeleteNatGatewayOutput, error)
DescribeNatGateways(ctx context.Context, params *ec2.DescribeNatGatewaysInput, optFns ...func(*ec2.Options)) (*ec2.DescribeNatGatewaysOutput, error)
}
type NetworkACL ¶ added in v0.35.0
type NetworkACL struct {
BaseAwsResource
Client NetworkACLAPI
Region string
Ids []string
}
func (*NetworkACL) GetAndSetIdentifiers ¶ added in v0.35.0
func (*NetworkACL) GetAndSetResourceConfig ¶ added in v0.37.0
func (nacl *NetworkACL) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*NetworkACL) Init ¶ added in v0.35.0
func (nacl *NetworkACL) Init(cfg aws.Config)
func (*NetworkACL) MaxBatchSize ¶ added in v0.35.0
func (nacl *NetworkACL) MaxBatchSize() int
func (*NetworkACL) Nuke ¶ added in v0.35.0
func (nacl *NetworkACL) Nuke(identifiers []string) error
func (*NetworkACL) ResourceIdentifiers ¶ added in v0.35.0
func (nacl *NetworkACL) ResourceIdentifiers() []string
func (*NetworkACL) ResourceName ¶ added in v0.35.0
func (nacl *NetworkACL) ResourceName() string
type NetworkACLAPI ¶ added in v0.38.0
type NetworkACLAPI interface {
DescribeNetworkAcls(ctx context.Context, params *ec2.DescribeNetworkAclsInput, optFns ...func(*ec2.Options)) (*ec2.DescribeNetworkAclsOutput, error)
DeleteNetworkAcl(ctx context.Context, params *ec2.DeleteNetworkAclInput, optFns ...func(*ec2.Options)) (*ec2.DeleteNetworkAclOutput, error)
ReplaceNetworkAclAssociation(ctx context.Context, params *ec2.ReplaceNetworkAclAssociationInput, optFns ...func(*ec2.Options)) (*ec2.ReplaceNetworkAclAssociationOutput, error) // Add this line
}
type NetworkFirewall ¶ added in v0.36.0
type NetworkFirewall struct {
BaseAwsResource
Client NetworkFirewallAPI
Region string
Identifiers []string
}
func (*NetworkFirewall) GetAndSetIdentifiers ¶ added in v0.36.0
func (*NetworkFirewall) GetAndSetResourceConfig ¶ added in v0.37.0
func (nfw *NetworkFirewall) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*NetworkFirewall) Init ¶ added in v0.36.0
func (nfw *NetworkFirewall) Init(cfg aws.Config)
func (*NetworkFirewall) MaxBatchSize ¶ added in v0.36.0
func (nfw *NetworkFirewall) MaxBatchSize() int
func (*NetworkFirewall) Nuke ¶ added in v0.36.0
func (nfw *NetworkFirewall) Nuke(identifiers []string) error
Nuke - nuke 'em all!!!
func (*NetworkFirewall) ResourceIdentifiers ¶ added in v0.36.0
func (nfw *NetworkFirewall) ResourceIdentifiers() []string
func (*NetworkFirewall) ResourceName ¶ added in v0.36.0
func (nfw *NetworkFirewall) ResourceName() string
ResourceName - the simple name of the aws resource
type NetworkFirewallAPI ¶ added in v0.38.0
type NetworkFirewallAPI interface {
ListFirewalls(ctx context.Context, params *networkfirewall.ListFirewallsInput, optFns ...func(*networkfirewall.Options)) (*networkfirewall.ListFirewallsOutput, error)
DescribeFirewall(ctx context.Context, params *networkfirewall.DescribeFirewallInput, optFns ...func(*networkfirewall.Options)) (*networkfirewall.DescribeFirewallOutput, error)
DeleteFirewall(ctx context.Context, params *networkfirewall.DeleteFirewallInput, optFns ...func(*networkfirewall.Options)) (*networkfirewall.DeleteFirewallOutput, error)
}
type NetworkFirewallPolicy ¶ added in v0.36.0
type NetworkFirewallPolicy struct {
BaseAwsResource
Client NetworkFirewallPolicyAPI
Region string
Identifiers []string
}
func (*NetworkFirewallPolicy) GetAndSetIdentifiers ¶ added in v0.36.0
func (*NetworkFirewallPolicy) GetAndSetResourceConfig ¶ added in v0.37.0
func (nfw *NetworkFirewallPolicy) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*NetworkFirewallPolicy) Init ¶ added in v0.36.0
func (nfw *NetworkFirewallPolicy) Init(cfg aws.Config)
func (*NetworkFirewallPolicy) MaxBatchSize ¶ added in v0.36.0
func (nfw *NetworkFirewallPolicy) MaxBatchSize() int
func (*NetworkFirewallPolicy) Nuke ¶ added in v0.36.0
func (nfw *NetworkFirewallPolicy) Nuke(identifiers []string) error
Nuke - nuke 'em all!!!
func (*NetworkFirewallPolicy) ResourceIdentifiers ¶ added in v0.36.0
func (nfw *NetworkFirewallPolicy) ResourceIdentifiers() []string
func (*NetworkFirewallPolicy) ResourceName ¶ added in v0.36.0
func (nfw *NetworkFirewallPolicy) ResourceName() string
ResourceName - the simple name of the aws resource
type NetworkFirewallPolicyAPI ¶ added in v0.38.0
type NetworkFirewallPolicyAPI interface {
ListFirewallPolicies(ctx context.Context, params *networkfirewall.ListFirewallPoliciesInput, optFns ...func(*networkfirewall.Options)) (*networkfirewall.ListFirewallPoliciesOutput, error)
DescribeFirewallPolicy(ctx context.Context, params *networkfirewall.DescribeFirewallPolicyInput, optFns ...func(*networkfirewall.Options)) (*networkfirewall.DescribeFirewallPolicyOutput, error)
DeleteFirewallPolicy(ctx context.Context, params *networkfirewall.DeleteFirewallPolicyInput, optFns ...func(*networkfirewall.Options)) (*networkfirewall.DeleteFirewallPolicyOutput, error)
}
type NetworkFirewallResourcePolicy ¶ added in v0.36.0
type NetworkFirewallResourcePolicy struct {
BaseAwsResource
Client NetworkFirewallResourcePolicyAPI
Region string
Identifiers []string
}
func (*NetworkFirewallResourcePolicy) GetAndSetIdentifiers ¶ added in v0.36.0
func (*NetworkFirewallResourcePolicy) GetAndSetResourceConfig ¶ added in v0.37.0
func (nfrp *NetworkFirewallResourcePolicy) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*NetworkFirewallResourcePolicy) Init ¶ added in v0.36.0
func (nfrp *NetworkFirewallResourcePolicy) Init(cfg aws.Config)
func (*NetworkFirewallResourcePolicy) MaxBatchSize ¶ added in v0.36.0
func (nfrp *NetworkFirewallResourcePolicy) MaxBatchSize() int
func (*NetworkFirewallResourcePolicy) Nuke ¶ added in v0.36.0
func (nfrp *NetworkFirewallResourcePolicy) Nuke(identifiers []string) error
Nuke - nuke 'em all!!!
func (*NetworkFirewallResourcePolicy) ResourceIdentifiers ¶ added in v0.36.0
func (nfrp *NetworkFirewallResourcePolicy) ResourceIdentifiers() []string
func (*NetworkFirewallResourcePolicy) ResourceName ¶ added in v0.36.0
func (nfrp *NetworkFirewallResourcePolicy) ResourceName() string
ResourceName - the simple name of the aws resource
type NetworkFirewallResourcePolicyAPI ¶ added in v0.38.0
type NetworkFirewallResourcePolicyAPI interface {
ListFirewallPolicies(ctx context.Context, params *networkfirewall.ListFirewallPoliciesInput, optFns ...func(*networkfirewall.Options)) (*networkfirewall.ListFirewallPoliciesOutput, error)
ListRuleGroups(ctx context.Context, params *networkfirewall.ListRuleGroupsInput, optFns ...func(*networkfirewall.Options)) (*networkfirewall.ListRuleGroupsOutput, error)
DescribeResourcePolicy(ctx context.Context, params *networkfirewall.DescribeResourcePolicyInput, optFns ...func(*networkfirewall.Options)) (*networkfirewall.DescribeResourcePolicyOutput, error)
DeleteResourcePolicy(ctx context.Context, params *networkfirewall.DeleteResourcePolicyInput, optFns ...func(*networkfirewall.Options)) (*networkfirewall.DeleteResourcePolicyOutput, error)
}
type NetworkFirewallRuleGroup ¶ added in v0.36.0
type NetworkFirewallRuleGroup struct {
BaseAwsResource
Client NetworkFirewallRuleGroupAPI
Region string
Identifiers []string
// Note: It is mandatory to pass the rule type while nuking it.
// This map can be used to store information about a rule group name as key and value.
// When invoking the nuke method, information about a rule can be easily retrieved without making another API request.
RuleGroups map[string]RuleGroup
}
func (*NetworkFirewallRuleGroup) GetAndSetIdentifiers ¶ added in v0.36.0
func (*NetworkFirewallRuleGroup) GetAndSetResourceConfig ¶ added in v0.37.0
func (nfrg *NetworkFirewallRuleGroup) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*NetworkFirewallRuleGroup) Init ¶ added in v0.36.0
func (nfrg *NetworkFirewallRuleGroup) Init(cfg aws.Config)
func (*NetworkFirewallRuleGroup) MaxBatchSize ¶ added in v0.36.0
func (nfrg *NetworkFirewallRuleGroup) MaxBatchSize() int
func (*NetworkFirewallRuleGroup) Nuke ¶ added in v0.36.0
func (nfrg *NetworkFirewallRuleGroup) Nuke(identifiers []string) error
Nuke - nuke 'em all!!!
func (*NetworkFirewallRuleGroup) ResourceIdentifiers ¶ added in v0.36.0
func (nfrg *NetworkFirewallRuleGroup) ResourceIdentifiers() []string
func (*NetworkFirewallRuleGroup) ResourceName ¶ added in v0.36.0
func (nfrg *NetworkFirewallRuleGroup) ResourceName() string
ResourceName - the simple name of the aws resource
type NetworkFirewallRuleGroupAPI ¶ added in v0.38.0
type NetworkFirewallRuleGroupAPI interface {
ListRuleGroups(ctx context.Context, params *networkfirewall.ListRuleGroupsInput, optFns ...func(*networkfirewall.Options)) (*networkfirewall.ListRuleGroupsOutput, error)
DescribeRuleGroup(ctx context.Context, params *networkfirewall.DescribeRuleGroupInput, optFns ...func(*networkfirewall.Options)) (*networkfirewall.DescribeRuleGroupOutput, error)
DeleteRuleGroup(ctx context.Context, params *networkfirewall.DeleteRuleGroupInput, optFns ...func(*networkfirewall.Options)) (*networkfirewall.DeleteRuleGroupOutput, error)
}
type NetworkFirewallTLSConfig ¶ added in v0.36.0
type NetworkFirewallTLSConfig struct {
BaseAwsResource
Client NetworkFirewallTLSConfigAPI
Region string
Identifiers []string
}
func (*NetworkFirewallTLSConfig) GetAndSetIdentifiers ¶ added in v0.36.0
func (*NetworkFirewallTLSConfig) GetAndSetResourceConfig ¶ added in v0.37.0
func (nftc *NetworkFirewallTLSConfig) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*NetworkFirewallTLSConfig) Init ¶ added in v0.36.0
func (nftc *NetworkFirewallTLSConfig) Init(cfg aws.Config)
func (*NetworkFirewallTLSConfig) MaxBatchSize ¶ added in v0.36.0
func (nftc *NetworkFirewallTLSConfig) MaxBatchSize() int
func (*NetworkFirewallTLSConfig) Nuke ¶ added in v0.36.0
func (nftc *NetworkFirewallTLSConfig) Nuke(identifiers []string) error
Nuke - nuke 'em all!!!
func (*NetworkFirewallTLSConfig) ResourceIdentifiers ¶ added in v0.36.0
func (nftc *NetworkFirewallTLSConfig) ResourceIdentifiers() []string
func (*NetworkFirewallTLSConfig) ResourceName ¶ added in v0.36.0
func (nftc *NetworkFirewallTLSConfig) ResourceName() string
ResourceName - the simple name of the aws resource
type NetworkFirewallTLSConfigAPI ¶ added in v0.38.0
type NetworkFirewallTLSConfigAPI interface {
ListTLSInspectionConfigurations(ctx context.Context, params *networkfirewall.ListTLSInspectionConfigurationsInput, optFns ...func(*networkfirewall.Options)) (*networkfirewall.ListTLSInspectionConfigurationsOutput, error)
DescribeTLSInspectionConfiguration(ctx context.Context, params *networkfirewall.DescribeTLSInspectionConfigurationInput, optFns ...func(*networkfirewall.Options)) (*networkfirewall.DescribeTLSInspectionConfigurationOutput, error)
DeleteTLSInspectionConfiguration(ctx context.Context, params *networkfirewall.DeleteTLSInspectionConfigurationInput, optFns ...func(*networkfirewall.Options)) (*networkfirewall.DeleteTLSInspectionConfigurationOutput, error)
}
type NetworkInterface ¶ added in v0.35.0
type NetworkInterface struct {
BaseAwsResource
Client NetworkInterfaceAPI
Region string
InterfaceIds []string
}
func (*NetworkInterface) GetAndSetIdentifiers ¶ added in v0.35.0
func (*NetworkInterface) GetAndSetResourceConfig ¶ added in v0.37.0
func (ni *NetworkInterface) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*NetworkInterface) Init ¶ added in v0.35.0
func (ni *NetworkInterface) Init(cfg aws.Config)
func (*NetworkInterface) MaxBatchSize ¶ added in v0.35.0
func (ni *NetworkInterface) MaxBatchSize() int
func (*NetworkInterface) Nuke ¶ added in v0.35.0
func (ni *NetworkInterface) Nuke(identifiers []string) error
func (*NetworkInterface) ResourceIdentifiers ¶ added in v0.35.0
func (ni *NetworkInterface) ResourceIdentifiers() []string
func (*NetworkInterface) ResourceName ¶ added in v0.35.0
func (ni *NetworkInterface) ResourceName() string
type NetworkInterfaceAPI ¶ added in v0.38.0
type NetworkInterfaceAPI interface {
DescribeNetworkInterfaces(ctx context.Context, params *ec2.DescribeNetworkInterfacesInput, optFns ...func(*ec2.Options)) (*ec2.DescribeNetworkInterfacesOutput, error)
DeleteNetworkInterface(ctx context.Context, params *ec2.DeleteNetworkInterfaceInput, optFns ...func(*ec2.Options)) (*ec2.DeleteNetworkInterfaceOutput, error)
DescribeAddresses(ctx context.Context, params *ec2.DescribeAddressesInput, optFns ...func(*ec2.Options)) (*ec2.DescribeAddressesOutput, error)
ReleaseAddress(ctx context.Context, params *ec2.ReleaseAddressInput, optFns ...func(*ec2.Options)) (*ec2.ReleaseAddressOutput, error)
TerminateInstances(ctx context.Context, params *ec2.TerminateInstancesInput, optFns ...func(*ec2.Options)) (*ec2.TerminateInstancesOutput, error)
DescribeInstances(ctx context.Context, params *ec2.DescribeInstancesInput, optFns ...func(*ec2.Options)) (*ec2.DescribeInstancesOutput, error)
}
type OIDCProviders ¶
type OIDCProviders struct {
BaseAwsResource
Client OIDCProvidersAPI
ProviderARNs []string
}
OIDCProviders - represents all AWS OpenID Connect providers that should be deleted.
func (*OIDCProviders) GetAndSetIdentifiers ¶
func (*OIDCProviders) GetAndSetResourceConfig ¶ added in v0.37.0
func (oidcprovider *OIDCProviders) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*OIDCProviders) Init ¶
func (oidcprovider *OIDCProviders) Init(cfg aws.Config)
func (*OIDCProviders) MaxBatchSize ¶
func (oidcprovider *OIDCProviders) MaxBatchSize() int
func (*OIDCProviders) Nuke ¶
func (oidcprovider *OIDCProviders) Nuke(identifiers []string) error
Nuke - nuke 'em all!!!
func (*OIDCProviders) ResourceIdentifiers ¶
func (oidcprovider *OIDCProviders) ResourceIdentifiers() []string
ResourceIdentifiers - The ARNs of the OIDC providers.
func (*OIDCProviders) ResourceName ¶
func (oidcprovider *OIDCProviders) ResourceName() string
ResourceName - the simple name of the aws resource
type OIDCProvidersAPI ¶ added in v0.38.0
type OIDCProvidersAPI interface {
ListOpenIDConnectProviders(ctx context.Context, params *iam.ListOpenIDConnectProvidersInput, optFns ...func(*iam.Options)) (*iam.ListOpenIDConnectProvidersOutput, error)
GetOpenIDConnectProvider(ctx context.Context, params *iam.GetOpenIDConnectProviderInput, optFns ...func(*iam.Options)) (*iam.GetOpenIDConnectProviderOutput, error)
DeleteOpenIDConnectProvider(ctx context.Context, params *iam.DeleteOpenIDConnectProviderInput, optFns ...func(*iam.Options)) (*iam.DeleteOpenIDConnectProviderOutput, error)
}
type OpenSearchDomains ¶
type OpenSearchDomains struct {
BaseAwsResource
Client OpenSearchDomainsAPI
Region string
DomainNames []string
}
OpenSearchDomains represents all OpenSearch domains found in a region
func (*OpenSearchDomains) GetAndSetIdentifiers ¶
func (*OpenSearchDomains) GetAndSetResourceConfig ¶ added in v0.37.0
func (osd *OpenSearchDomains) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*OpenSearchDomains) Init ¶
func (osd *OpenSearchDomains) Init(cfg aws.Config)
func (*OpenSearchDomains) MaxBatchSize ¶
func (osd *OpenSearchDomains) MaxBatchSize() int
MaxBatchSize returns the number of resources that should be nuked at a time. A small number is used to ensure AWS doesn't throttle. OpenSearch Domains do not support bulk delete, so we will be deleting this many in parallel using go routines. We conservatively pick 10 here, both to limit overloading the runtime and to avoid AWS throttling with many API calls.
func (*OpenSearchDomains) Nuke ¶
func (osd *OpenSearchDomains) Nuke(identifiers []string) error
Nuke nukes all OpenSearch domain resources
func (*OpenSearchDomains) ResourceIdentifiers ¶
func (osd *OpenSearchDomains) ResourceIdentifiers() []string
ResourceIdentifiers the collected OpenSearch Domains
func (*OpenSearchDomains) ResourceName ¶
func (osd *OpenSearchDomains) ResourceName() string
ResourceName is the simple name of the aws resource
type OpenSearchDomainsAPI ¶ added in v0.38.0
type OpenSearchDomainsAPI interface {
AddTags(ctx context.Context, params *opensearch.AddTagsInput, optFns ...func(*opensearch.Options)) (*opensearch.AddTagsOutput, error)
DeleteDomain(ctx context.Context, params *opensearch.DeleteDomainInput, optFns ...func(*opensearch.Options)) (*opensearch.DeleteDomainOutput, error)
DescribeDomains(ctx context.Context, params *opensearch.DescribeDomainsInput, optFns ...func(*opensearch.Options)) (*opensearch.DescribeDomainsOutput, error)
ListDomainNames(ctx context.Context, params *opensearch.ListDomainNamesInput, optFns ...func(*opensearch.Options)) (*opensearch.ListDomainNamesOutput, error)
ListTags(ctx context.Context, params *opensearch.ListTagsInput, optFns ...func(*opensearch.Options)) (*opensearch.ListTagsOutput, error)
}
type RDSAPI ¶ added in v0.38.0
type RDSAPI interface {
ModifyDBInstance(ctx context.Context, params *rds.ModifyDBInstanceInput, optFns ...func(*rds.Options)) (*rds.ModifyDBInstanceOutput, error)
DeleteDBInstance(ctx context.Context, params *rds.DeleteDBInstanceInput, optFns ...func(*rds.Options)) (*rds.DeleteDBInstanceOutput, error)
DescribeDBInstances(ctx context.Context, params *rds.DescribeDBInstancesInput, optFns ...func(*rds.Options)) (*rds.DescribeDBInstancesOutput, error)
}
type RdsDeleteError ¶
type RdsDeleteError struct {
// contains filtered or unexported fields
}
func (RdsDeleteError) Error ¶
func (e RdsDeleteError) Error() string
type RdsParameterGroup ¶ added in v0.34.0
type RdsParameterGroup struct {
BaseAwsResource
Client RdsParameterGroupAPI
Region string
GroupNames []string
}
func (*RdsParameterGroup) GetAndSetIdentifiers ¶ added in v0.34.0
func (*RdsParameterGroup) GetAndSetResourceConfig ¶ added in v0.37.0
func (pg *RdsParameterGroup) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*RdsParameterGroup) Init ¶ added in v0.34.0
func (pg *RdsParameterGroup) Init(cfg aws.Config)
func (*RdsParameterGroup) MaxBatchSize ¶ added in v0.34.0
func (pg *RdsParameterGroup) MaxBatchSize() int
func (*RdsParameterGroup) Nuke ¶ added in v0.34.0
func (pg *RdsParameterGroup) Nuke(identifiers []string) error
Nuke - nuke 'em all!!!
func (*RdsParameterGroup) ResourceIdentifiers ¶ added in v0.34.0
func (pg *RdsParameterGroup) ResourceIdentifiers() []string
ResourceIdentifiers - The names of the rds parameter group
func (*RdsParameterGroup) ResourceName ¶ added in v0.34.0
func (pg *RdsParameterGroup) ResourceName() string
type RdsParameterGroupAPI ¶ added in v0.38.0
type RdsParameterGroupAPI interface {
DeleteDBParameterGroup(ctx context.Context, params *rds.DeleteDBParameterGroupInput, optFns ...func(*rds.Options)) (*rds.DeleteDBParameterGroupOutput, error)
DescribeDBParameterGroups(ctx context.Context, params *rds.DescribeDBParameterGroupsInput, optFns ...func(*rds.Options)) (*rds.DescribeDBParameterGroupsOutput, error)
}
type RdsProxy ¶ added in v0.37.0
type RdsProxy struct {
BaseAwsResource
Client RdsProxyAPI
Region string
GroupNames []string
}
func (*RdsProxy) GetAndSetIdentifiers ¶ added in v0.37.0
func (*RdsProxy) GetAndSetResourceConfig ¶ added in v0.37.0
func (pg *RdsProxy) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*RdsProxy) MaxBatchSize ¶ added in v0.37.0
func (*RdsProxy) ResourceIdentifiers ¶ added in v0.37.0
ResourceIdentifiers - The names of the rds parameter group
func (*RdsProxy) ResourceName ¶ added in v0.37.0
type RdsProxyAPI ¶ added in v0.38.0
type RdsProxyAPI interface {
DescribeDBProxies(ctx context.Context, params *rds.DescribeDBProxiesInput, optFns ...func(*rds.Options)) (*rds.DescribeDBProxiesOutput, error)
DeleteDBProxy(ctx context.Context, params *rds.DeleteDBProxyInput, optFns ...func(*rds.Options)) (*rds.DeleteDBProxyOutput, error)
}
type RdsSnapshot ¶
type RdsSnapshot struct {
BaseAwsResource
Client RdsSnapshotAPI
Region string
Identifiers []string
}
func (*RdsSnapshot) GetAndSetIdentifiers ¶
func (*RdsSnapshot) GetAndSetResourceConfig ¶ added in v0.37.0
func (snapshot *RdsSnapshot) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*RdsSnapshot) Init ¶
func (snapshot *RdsSnapshot) Init(cfg aws.Config)
func (*RdsSnapshot) MaxBatchSize ¶
func (snapshot *RdsSnapshot) MaxBatchSize() int
func (*RdsSnapshot) Nuke ¶
func (snapshot *RdsSnapshot) Nuke(identifiers []string) error
Nuke - nuke 'em all!!!
func (*RdsSnapshot) ResourceIdentifiers ¶
func (snapshot *RdsSnapshot) ResourceIdentifiers() []string
func (*RdsSnapshot) ResourceName ¶
func (snapshot *RdsSnapshot) ResourceName() string
type RdsSnapshotAPI ¶ added in v0.38.0
type RdsSnapshotAPI interface {
DescribeDBSnapshots(ctx context.Context, params *rds.DescribeDBSnapshotsInput, optFns ...func(*rds.Options)) (*rds.DescribeDBSnapshotsOutput, error)
DeleteDBSnapshot(ctx context.Context, params *rds.DeleteDBSnapshotInput, optFns ...func(*rds.Options)) (*rds.DeleteDBSnapshotOutput, error)
}
type RedshiftClusters ¶
type RedshiftClusters struct {
BaseAwsResource
Client RedshiftClustersAPI
Region string
ClusterIdentifiers []string
}
func (*RedshiftClusters) GetAndSetIdentifiers ¶
func (*RedshiftClusters) GetAndSetResourceConfig ¶ added in v0.37.0
func (rc *RedshiftClusters) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*RedshiftClusters) Init ¶
func (rc *RedshiftClusters) Init(cfg aws.Config)
func (*RedshiftClusters) MaxBatchSize ¶
func (rc *RedshiftClusters) MaxBatchSize() int
func (*RedshiftClusters) Nuke ¶
func (rc *RedshiftClusters) Nuke(identifiers []string) error
Nuke - nuke 'em all!!!
func (*RedshiftClusters) ResourceIdentifiers ¶
func (rc *RedshiftClusters) ResourceIdentifiers() []string
ResourceIdentifiers - The instance names of the rds db instances
func (*RedshiftClusters) ResourceName ¶
func (rc *RedshiftClusters) ResourceName() string
type RedshiftClustersAPI ¶ added in v0.38.0
type RedshiftClustersAPI interface {
DescribeClusters(ctx context.Context, params *redshift.DescribeClustersInput, optFns ...func(*redshift.Options)) (*redshift.DescribeClustersOutput, error)
DeleteCluster(ctx context.Context, params *redshift.DeleteClusterInput, optFns ...func(*redshift.Options)) (*redshift.DeleteClusterOutput, error)
}
type Route53CidrCollection ¶ added in v0.34.0
type Route53CidrCollection struct {
BaseAwsResource
Client Route53CidrCollectionAPI
Region string
Ids []string
}
Route53CidrCollection - represents all Route53CidrCollection
func (*Route53CidrCollection) GetAndSetIdentifiers ¶ added in v0.34.0
func (*Route53CidrCollection) GetAndSetResourceConfig ¶ added in v0.37.0
func (r *Route53CidrCollection) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*Route53CidrCollection) Init ¶ added in v0.34.0
func (r *Route53CidrCollection) Init(cfg aws.Config)
func (*Route53CidrCollection) MaxBatchSize ¶ added in v0.34.0
func (r *Route53CidrCollection) MaxBatchSize() int
func (*Route53CidrCollection) Nuke ¶ added in v0.34.0
func (r *Route53CidrCollection) Nuke(identifiers []string) error
Nuke - nuke 'em all!!!
func (*Route53CidrCollection) ResourceIdentifiers ¶ added in v0.34.0
func (r *Route53CidrCollection) ResourceIdentifiers() []string
ResourceIdentifiers - The ids of the cidr collections
func (*Route53CidrCollection) ResourceName ¶ added in v0.34.0
func (r *Route53CidrCollection) ResourceName() string
ResourceName - the simple name of the aws resource
type Route53CidrCollectionAPI ¶ added in v0.38.0
type Route53CidrCollectionAPI interface {
ListCidrCollections(ctx context.Context, params *route53.ListCidrCollectionsInput, optFns ...func(*route53.Options)) (*route53.ListCidrCollectionsOutput, error)
ListCidrBlocks(ctx context.Context, params *route53.ListCidrBlocksInput, optFns ...func(*route53.Options)) (*route53.ListCidrBlocksOutput, error)
ChangeCidrCollection(ctx context.Context, params *route53.ChangeCidrCollectionInput, optFns ...func(*route53.Options)) (*route53.ChangeCidrCollectionOutput, error)
DeleteCidrCollection(ctx context.Context, params *route53.DeleteCidrCollectionInput, optFns ...func(*route53.Options)) (*route53.DeleteCidrCollectionOutput, error)
}
type Route53HostedZone ¶ added in v0.34.0
type Route53HostedZone struct {
BaseAwsResource
Client Route53HostedZoneAPI
Region string
Ids []string
HostedZonesDomains map[string]*types.HostedZone
}
Route53HostedZone - represents all Route53HostedZone
func (*Route53HostedZone) GetAndSetIdentifiers ¶ added in v0.34.0
func (*Route53HostedZone) GetAndSetResourceConfig ¶ added in v0.37.0
func (r *Route53HostedZone) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*Route53HostedZone) Init ¶ added in v0.34.0
func (r *Route53HostedZone) Init(cfg aws.Config)
func (*Route53HostedZone) MaxBatchSize ¶ added in v0.34.0
func (r *Route53HostedZone) MaxBatchSize() int
func (*Route53HostedZone) Nuke ¶ added in v0.34.0
func (r *Route53HostedZone) Nuke(identifiers []string) error
Nuke - nuke 'em all!!!
func (*Route53HostedZone) ResourceIdentifiers ¶ added in v0.34.0
func (r *Route53HostedZone) ResourceIdentifiers() []string
ResourceIdentifiers - The ids hosted zones
func (*Route53HostedZone) ResourceName ¶ added in v0.34.0
func (r *Route53HostedZone) ResourceName() string
ResourceName - the simple name of the aws resource
type Route53HostedZoneAPI ¶ added in v0.38.0
type Route53HostedZoneAPI interface {
ListHostedZones(ctx context.Context, params *route53.ListHostedZonesInput, optFns ...func(*route53.Options)) (*route53.ListHostedZonesOutput, error)
DeleteTrafficPolicyInstance(ctx context.Context, params *route53.DeleteTrafficPolicyInstanceInput, optFns ...func(*route53.Options)) (*route53.DeleteTrafficPolicyInstanceOutput, error)
DeleteHostedZone(ctx context.Context, params *route53.DeleteHostedZoneInput, optFns ...func(*route53.Options)) (*route53.DeleteHostedZoneOutput, error)
ListResourceRecordSets(ctx context.Context, params *route53.ListResourceRecordSetsInput, optFns ...func(*route53.Options)) (*route53.ListResourceRecordSetsOutput, error)
ChangeResourceRecordSets(ctx context.Context, params *route53.ChangeResourceRecordSetsInput, optFns ...func(*route53.Options)) (*route53.ChangeResourceRecordSetsOutput, error)
ListTagsForResources(ctx context.Context, params *route53.ListTagsForResourcesInput, optFns ...func(*route53.Options)) (*route53.ListTagsForResourcesOutput, error)
}
type Route53TrafficPolicy ¶ added in v0.34.0
type Route53TrafficPolicy struct {
BaseAwsResource
Client Route53TrafficPolicyAPI
Region string
Ids []string
// contains filtered or unexported fields
}
Route53TrafficPolicy - represents all Route53TrafficPolicy
func (*Route53TrafficPolicy) GetAndSetIdentifiers ¶ added in v0.34.0
func (*Route53TrafficPolicy) GetAndSetResourceConfig ¶ added in v0.37.0
func (r *Route53TrafficPolicy) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*Route53TrafficPolicy) Init ¶ added in v0.34.0
func (r *Route53TrafficPolicy) Init(cfg aws.Config)
func (*Route53TrafficPolicy) MaxBatchSize ¶ added in v0.34.0
func (r *Route53TrafficPolicy) MaxBatchSize() int
func (*Route53TrafficPolicy) Nuke ¶ added in v0.34.0
func (r *Route53TrafficPolicy) Nuke(identifiers []string) error
Nuke - nuke 'em all!!!
func (*Route53TrafficPolicy) ResourceIdentifiers ¶ added in v0.34.0
func (r *Route53TrafficPolicy) ResourceIdentifiers() []string
ResourceIdentifiers - The ids of traffic policies
func (*Route53TrafficPolicy) ResourceName ¶ added in v0.34.0
func (r *Route53TrafficPolicy) ResourceName() string
ResourceName - the simple name of the aws resource
type Route53TrafficPolicyAPI ¶ added in v0.38.0
type Route53TrafficPolicyAPI interface {
ListTrafficPolicies(ctx context.Context, params *route53.ListTrafficPoliciesInput, optFns ...func(*route53.Options)) (*route53.ListTrafficPoliciesOutput, error)
DeleteTrafficPolicy(ctx context.Context, params *route53.DeleteTrafficPolicyInput, optFns ...func(*route53.Options)) (*route53.DeleteTrafficPolicyOutput, error)
}
type S3API ¶ added in v0.38.0
type S3API interface {
GetBucketLocation(ctx context.Context, params *s3.GetBucketLocationInput, optFns ...func(*s3.Options)) (*s3.GetBucketLocationOutput, error)
GetBucketTagging(ctx context.Context, params *s3.GetBucketTaggingInput, optFns ...func(*s3.Options)) (*s3.GetBucketTaggingOutput, error)
ListBuckets(ctx context.Context, params *s3.ListBucketsInput, optFns ...func(*s3.Options)) (*s3.ListBucketsOutput, error)
ListObjectVersions(ctx context.Context, params *s3.ListObjectVersionsInput, optFns ...func(*s3.Options)) (*s3.ListObjectVersionsOutput, error)
DeleteObjects(ctx context.Context, params *s3.DeleteObjectsInput, optFns ...func(*s3.Options)) (*s3.DeleteObjectsOutput, error)
DeleteBucket(ctx context.Context, params *s3.DeleteBucketInput, optFns ...func(*s3.Options)) (*s3.DeleteBucketOutput, error)
DeleteBucketPolicy(ctx context.Context, params *s3.DeleteBucketPolicyInput, optFns ...func(*s3.Options)) (*s3.DeleteBucketPolicyOutput, error)
DeleteBucketLifecycle(ctx context.Context, params *s3.DeleteBucketLifecycleInput, optFns ...func(*s3.Options)) (*s3.DeleteBucketLifecycleOutput, error)
ListObjectsV2(ctx context.Context, params *s3.ListObjectsV2Input, optFns ...func(*s3.Options)) (*s3.ListObjectsV2Output, error)
HeadBucket(ctx context.Context, params *s3.HeadBucketInput, optFns ...func(*s3.Options)) (*s3.HeadBucketOutput, error)
}
type S3AccessPoint ¶ added in v0.34.0
type S3AccessPoint struct {
BaseAwsResource
Client S3ControlAccessPointAPI
Region string
AccessPoints []string
AccountID *string
}
func (*S3AccessPoint) GetAndSetIdentifiers ¶ added in v0.34.0
func (*S3AccessPoint) GetAndSetResourceConfig ¶ added in v0.37.0
func (ap *S3AccessPoint) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*S3AccessPoint) Init ¶ added in v0.34.0
func (ap *S3AccessPoint) Init(cfg aws.Config)
func (*S3AccessPoint) MaxBatchSize ¶ added in v0.34.0
func (ap *S3AccessPoint) MaxBatchSize() int
func (*S3AccessPoint) Nuke ¶ added in v0.34.0
func (ap *S3AccessPoint) Nuke(identifiers []string) error
func (*S3AccessPoint) ResourceIdentifiers ¶ added in v0.34.0
func (ap *S3AccessPoint) ResourceIdentifiers() []string
func (*S3AccessPoint) ResourceName ¶ added in v0.34.0
func (ap *S3AccessPoint) ResourceName() string
type S3Bucket ¶
type S3Bucket struct {
Name string
CreationDate time.Time
Tags map[string]string
Error error
IsValid bool
InvalidReason string
}
S3Bucket - represents S3 bucket
type S3Buckets ¶
type S3Buckets struct {
BaseAwsResource
Client S3API
Region string
Names []string
}
S3Buckets - represents all S3 Buckets
func (*S3Buckets) GetAndSetIdentifiers ¶
func (*S3Buckets) GetAndSetResourceConfig ¶ added in v0.35.0
func (bucket *S3Buckets) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
To get the resource configuration
func (*S3Buckets) MaxBatchSize ¶
MaxBatchSize decides how many S3 buckets to delete in one call.
func (*S3Buckets) MaxConcurrentGetSize ¶
MaxConcurrentGetSize decides how many S3 buckets to fetch in one call.
func (*S3Buckets) ObjectMaxBatchSize ¶
ObjectMaxBatchSize decides how many unique objects of an S3 bucket (object + version = unique object) to delete in one call.
func (*S3Buckets) ResourceIdentifiers ¶
ResourceIdentifiers - The names of the S3 buckets
func (*S3Buckets) ResourceName ¶
ResourceName - the simple name of the aws resource
type S3ControlAPI ¶ added in v0.38.0
type S3ControlAPI interface {
ListAccessPointsForObjectLambda(context.Context, *s3control.ListAccessPointsForObjectLambdaInput, ...func(*s3control.Options)) (*s3control.ListAccessPointsForObjectLambdaOutput, error)
DeleteAccessPointForObjectLambda(context.Context, *s3control.DeleteAccessPointForObjectLambdaInput, ...func(*s3control.Options)) (*s3control.DeleteAccessPointForObjectLambdaOutput, error)
}
type S3ControlAccessPointAPI ¶ added in v0.38.0
type S3ControlAccessPointAPI interface {
ListAccessPoints(ctx context.Context, params *s3control.ListAccessPointsInput, optFns ...func(*s3control.Options)) (*s3control.ListAccessPointsOutput, error)
DeleteAccessPoint(ctx context.Context, params *s3control.DeleteAccessPointInput, optFns ...func(*s3control.Options)) (*s3control.DeleteAccessPointOutput, error)
}
type S3ControlMultiRegionAPI ¶ added in v0.38.0
type S3ControlMultiRegionAPI interface {
ListMultiRegionAccessPoints(ctx context.Context, params *s3control.ListMultiRegionAccessPointsInput, optFns ...func(*s3control.Options)) (*s3control.ListMultiRegionAccessPointsOutput, error)
DeleteMultiRegionAccessPoint(ctx context.Context, params *s3control.DeleteMultiRegionAccessPointInput, optFns ...func(*s3control.Options)) (*s3control.DeleteMultiRegionAccessPointOutput, error)
}
type S3MultiRegionAccessPoint ¶ added in v0.34.0
type S3MultiRegionAccessPoint struct {
BaseAwsResource
Client S3ControlMultiRegionAPI
Region string
AccessPoints []string
AccountID *string
}
func (*S3MultiRegionAccessPoint) GetAndSetIdentifiers ¶ added in v0.34.0
func (*S3MultiRegionAccessPoint) GetAndSetResourceConfig ¶ added in v0.37.0
func (ap *S3MultiRegionAccessPoint) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*S3MultiRegionAccessPoint) Init ¶ added in v0.34.0
func (ap *S3MultiRegionAccessPoint) Init(cfg aws.Config)
func (*S3MultiRegionAccessPoint) MaxBatchSize ¶ added in v0.34.0
func (ap *S3MultiRegionAccessPoint) MaxBatchSize() int
func (*S3MultiRegionAccessPoint) Nuke ¶ added in v0.34.0
func (ap *S3MultiRegionAccessPoint) Nuke(identifiers []string) error
func (*S3MultiRegionAccessPoint) ResourceIdentifiers ¶ added in v0.34.0
func (ap *S3MultiRegionAccessPoint) ResourceIdentifiers() []string
func (*S3MultiRegionAccessPoint) ResourceName ¶ added in v0.34.0
func (ap *S3MultiRegionAccessPoint) ResourceName() string
type S3ObjectLambdaAccessPoint ¶ added in v0.34.0
type S3ObjectLambdaAccessPoint struct {
BaseAwsResource
Client S3ControlAPI
Region string
AccessPoints []string
AccountID *string
}
func (*S3ObjectLambdaAccessPoint) GetAndSetIdentifiers ¶ added in v0.34.0
func (*S3ObjectLambdaAccessPoint) GetAndSetResourceConfig ¶ added in v0.37.0
func (ap *S3ObjectLambdaAccessPoint) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*S3ObjectLambdaAccessPoint) Init ¶ added in v0.34.0
func (ap *S3ObjectLambdaAccessPoint) Init(cfg aws.Config)
func (*S3ObjectLambdaAccessPoint) MaxBatchSize ¶ added in v0.34.0
func (ap *S3ObjectLambdaAccessPoint) MaxBatchSize() int
func (*S3ObjectLambdaAccessPoint) Nuke ¶ added in v0.34.0
func (ap *S3ObjectLambdaAccessPoint) Nuke(identifiers []string) error
func (*S3ObjectLambdaAccessPoint) ResourceIdentifiers ¶ added in v0.34.0
func (ap *S3ObjectLambdaAccessPoint) ResourceIdentifiers() []string
func (*S3ObjectLambdaAccessPoint) ResourceName ¶ added in v0.34.0
func (ap *S3ObjectLambdaAccessPoint) ResourceName() string
type SESAPI ¶ added in v0.38.0
type SESAPI interface {
ListTemplates(ctx context.Context, params *ses.ListTemplatesInput, optFns ...func(*ses.Options)) (*ses.ListTemplatesOutput, error)
DeleteTemplate(ctx context.Context, params *ses.DeleteTemplateInput, optFns ...func(*ses.Options)) (*ses.DeleteTemplateOutput, error)
}
type SESConfigurationSet ¶ added in v0.38.0
type SESConfigurationSet interface {
ListConfigurationSets(ctx context.Context, params *ses.ListConfigurationSetsInput, optFns ...func(*ses.Options)) (*ses.ListConfigurationSetsOutput, error)
DeleteConfigurationSet(ctx context.Context, params *ses.DeleteConfigurationSetInput, optFns ...func(*ses.Options)) (*ses.DeleteConfigurationSetOutput, error)
}
type SESEmailReceivingAPI ¶ added in v0.38.0
type SESEmailReceivingAPI interface {
DescribeActiveReceiptRuleSet(ctx context.Context, params *ses.DescribeActiveReceiptRuleSetInput, optFns ...func(*ses.Options)) (*ses.DescribeActiveReceiptRuleSetOutput, error)
ListReceiptRuleSets(ctx context.Context, params *ses.ListReceiptRuleSetsInput, optFns ...func(*ses.Options)) (*ses.ListReceiptRuleSetsOutput, error)
DeleteReceiptRuleSet(ctx context.Context, params *ses.DeleteReceiptRuleSetInput, optFns ...func(*ses.Options)) (*ses.DeleteReceiptRuleSetOutput, error)
ListReceiptFilters(ctx context.Context, params *ses.ListReceiptFiltersInput, optFns ...func(*ses.Options)) (*ses.ListReceiptFiltersOutput, error)
DeleteReceiptFilter(ctx context.Context, params *ses.DeleteReceiptFilterInput, optFns ...func(*ses.Options)) (*ses.DeleteReceiptFilterOutput, error)
}
type SESIdentityAPI ¶ added in v0.38.0
type SESIdentityAPI interface {
ListIdentities(ctx context.Context, params *ses.ListIdentitiesInput, optFns ...func(*ses.Options)) (*ses.ListIdentitiesOutput, error)
DeleteIdentity(ctx context.Context, params *ses.DeleteIdentityInput, optFns ...func(*ses.Options)) (*ses.DeleteIdentityOutput, error)
}
type SNSTopic ¶
type SNSTopic struct {
BaseAwsResource
Client SNSTopicAPI
Region string
Arns []string
}
func (*SNSTopic) GetAndSetIdentifiers ¶
func (*SNSTopic) GetAndSetResourceConfig ¶ added in v0.37.0
func (s *SNSTopic) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*SNSTopic) MaxBatchSize ¶
func (*SNSTopic) ResourceIdentifiers ¶
func (*SNSTopic) ResourceName ¶
type SNSTopicAPI ¶ added in v0.38.0
type SNSTopicAPI interface {
DeleteTopic(ctx context.Context, params *sns.DeleteTopicInput, optFns ...func(*sns.Options)) (*sns.DeleteTopicOutput, error)
ListTopics(context.Context, *sns.ListTopicsInput, ...func(*sns.Options)) (*sns.ListTopicsOutput, error)
ListTagsForResource(ctx context.Context, params *sns.ListTagsForResourceInput, optFns ...func(*sns.Options)) (*sns.ListTagsForResourceOutput, error)
TagResource(ctx context.Context, params *sns.TagResourceInput, optFns ...func(*sns.Options)) (*sns.TagResourceOutput, error)
}
type SageMakerAPI ¶ added in v0.41.0
type SageMakerAPI interface {
ListEndpoints(ctx context.Context, params *sagemaker.ListEndpointsInput, optFns ...func(*sagemaker.Options)) (*sagemaker.ListEndpointsOutput, error)
DeleteEndpoint(ctx context.Context, params *sagemaker.DeleteEndpointInput, optFns ...func(*sagemaker.Options)) (*sagemaker.DeleteEndpointOutput, error)
ListTags(ctx context.Context, params *sagemaker.ListTagsInput, optFns ...func(*sagemaker.Options)) (*sagemaker.ListTagsOutput, error)
}
SageMakerAPI represents the shape of the AWS SageMaker API for testing This interface allows for mocking in tests and defines all required SageMaker operations
type SageMakerEndpoint ¶ added in v0.41.0
type SageMakerEndpoint struct {
BaseAwsResource
Client SageMakerAPI // AWS SageMaker client or mock for testing
Region string // AWS region where the resources are located
EndpointNames []string // List of SageMaker Endpoint names to be nuked
}
SageMakerEndpoint represents an AWS SageMaker Endpoint resource to be nuked It implements the Resource interface and handles the deletion of SageMaker Endpoints
func (*SageMakerEndpoint) GetAll ¶ added in v0.41.0
GetAll retrieves all SageMaker Endpoints in the region. It applies filtering rules from the configuration and includes tag information.
func (*SageMakerEndpoint) GetAndSetIdentifiers ¶ added in v0.41.0
func (s *SageMakerEndpoint) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
GetAndSetIdentifiers retrieves all SageMaker Endpoints and stores their identifiers
func (*SageMakerEndpoint) GetAndSetResourceConfig ¶ added in v0.41.0
func (s *SageMakerEndpoint) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
GetAndSetResourceConfig retrieves the configuration for SageMaker Endpoint resources
func (*SageMakerEndpoint) Init ¶ added in v0.41.0
func (s *SageMakerEndpoint) Init(cfg aws.Config)
Init initializes the SageMaker client with the provided AWS configuration
func (*SageMakerEndpoint) IsNukable ¶ added in v0.41.0
func (s *SageMakerEndpoint) IsNukable(identifier string) (bool, error)
IsNukable determines whether a specific SageMaker Endpoint can be deleted It will respect tag exclusion rules from the configuration
func (*SageMakerEndpoint) MaxBatchSize ¶ added in v0.41.0
func (s *SageMakerEndpoint) MaxBatchSize() int
MaxBatchSize returns the maximum number of resources that can be deleted in parallel This limit helps prevent AWS API throttling
func (*SageMakerEndpoint) Nuke ¶ added in v0.41.0
func (s *SageMakerEndpoint) Nuke(identifiers []string) error
Nuke implements the AwsResource interface by calling nukeAll It takes a list of endpoint identifiers and deletes those endpoints
func (*SageMakerEndpoint) ResourceIdentifiers ¶ added in v0.41.0
func (s *SageMakerEndpoint) ResourceIdentifiers() []string
ResourceIdentifiers returns the list of endpoint names that will be nuked
func (*SageMakerEndpoint) ResourceName ¶ added in v0.41.0
func (s *SageMakerEndpoint) ResourceName() string
ResourceName returns the identifier string for this resource type Used for logging and reporting purposes
type SageMakerEndpointConfig ¶ added in v0.41.0
type SageMakerEndpointConfig struct {
BaseAwsResource
Client SageMakerEndpointConfigAPI // AWS SageMaker client or mock for testing
Region string // AWS region where the resources are located
EndpointConfigNames []string // List of SageMaker Endpoint Configuration names to be nuked
}
SageMakerEndpointConfig represents an AWS SageMaker Endpoint Configuration resource to be nuked It implements the Resource interface and handles the deletion of SageMaker Endpoint Configurations
func (*SageMakerEndpointConfig) GetAll ¶ added in v0.41.0
func (s *SageMakerEndpointConfig) GetAll(c context.Context, configObj config.Config) ([]*string, error)
GetAll retrieves all SageMaker Endpoint Configurations in the region. It applies filtering rules from the configuration and includes tag information.
func (*SageMakerEndpointConfig) GetAndSetIdentifiers ¶ added in v0.41.0
func (s *SageMakerEndpointConfig) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
GetAndSetIdentifiers retrieves all SageMaker Endpoint Configurations and stores their identifiers
func (*SageMakerEndpointConfig) GetAndSetResourceConfig ¶ added in v0.41.0
func (s *SageMakerEndpointConfig) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
GetAndSetResourceConfig retrieves the configuration for SageMaker Endpoint Configuration resources
func (*SageMakerEndpointConfig) Init ¶ added in v0.41.0
func (s *SageMakerEndpointConfig) Init(cfg aws.Config)
Init initializes the SageMaker client with the provided AWS configuration
func (*SageMakerEndpointConfig) IsNukable ¶ added in v0.41.0
func (s *SageMakerEndpointConfig) IsNukable(identifier string) (bool, error)
IsNukable determines whether a specific SageMaker Endpoint Configuration can be deleted It will respect tag exclusion rules from the configuration
func (*SageMakerEndpointConfig) MaxBatchSize ¶ added in v0.41.0
func (s *SageMakerEndpointConfig) MaxBatchSize() int
MaxBatchSize returns the maximum number of resources that can be deleted in parallel This limit helps prevent AWS API throttling
func (*SageMakerEndpointConfig) Nuke ¶ added in v0.41.0
func (s *SageMakerEndpointConfig) Nuke(identifiers []string) error
Nuke implements the AwsResource interface by calling nukeAll It takes a list of endpoint configuration identifiers and deletes those endpoint configs
func (*SageMakerEndpointConfig) ResourceIdentifiers ¶ added in v0.41.0
func (s *SageMakerEndpointConfig) ResourceIdentifiers() []string
ResourceIdentifiers returns the list of endpoint configuration names that will be nuked
func (*SageMakerEndpointConfig) ResourceName ¶ added in v0.41.0
func (s *SageMakerEndpointConfig) ResourceName() string
ResourceName returns the identifier string for this resource type Used for logging and reporting purposes
type SageMakerEndpointConfigAPI ¶ added in v0.41.0
type SageMakerEndpointConfigAPI interface {
ListEndpointConfigs(ctx context.Context, params *sagemaker.ListEndpointConfigsInput, optFns ...func(*sagemaker.Options)) (*sagemaker.ListEndpointConfigsOutput, error)
DeleteEndpointConfig(ctx context.Context, params *sagemaker.DeleteEndpointConfigInput, optFns ...func(*sagemaker.Options)) (*sagemaker.DeleteEndpointConfigOutput, error)
ListTags(ctx context.Context, params *sagemaker.ListTagsInput, optFns ...func(*sagemaker.Options)) (*sagemaker.ListTagsOutput, error)
}
SageMakerEndpointConfigAPI represents the shape of the AWS SageMaker API for testing This interface allows for mocking in tests and defines all required SageMaker operations
type SageMakerNotebookInstanceDeleteError ¶
type SageMakerNotebookInstanceDeleteError struct {
// contains filtered or unexported fields
}
func (SageMakerNotebookInstanceDeleteError) Error ¶
func (e SageMakerNotebookInstanceDeleteError) Error() string
type SageMakerNotebookInstances ¶
type SageMakerNotebookInstances struct {
BaseAwsResource
Client SageMakerNotebookInstancesAPI
Region string
InstanceNames []string
}
func (*SageMakerNotebookInstances) GetAndSetIdentifiers ¶
func (*SageMakerNotebookInstances) GetAndSetResourceConfig ¶ added in v0.37.0
func (smni *SageMakerNotebookInstances) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*SageMakerNotebookInstances) Init ¶
func (smni *SageMakerNotebookInstances) Init(cfg aws.Config)
func (*SageMakerNotebookInstances) MaxBatchSize ¶
func (smni *SageMakerNotebookInstances) MaxBatchSize() int
func (*SageMakerNotebookInstances) Nuke ¶
func (smni *SageMakerNotebookInstances) Nuke(identifiers []string) error
Nuke - nuke 'em all!!!
func (*SageMakerNotebookInstances) ResourceIdentifiers ¶
func (smni *SageMakerNotebookInstances) ResourceIdentifiers() []string
ResourceIdentifiers - The instance names of the rds db instances
func (*SageMakerNotebookInstances) ResourceName ¶
func (smni *SageMakerNotebookInstances) ResourceName() string
type SageMakerNotebookInstancesAPI ¶ added in v0.38.0
type SageMakerNotebookInstancesAPI interface {
DescribeNotebookInstance(ctx context.Context, params *sagemaker.DescribeNotebookInstanceInput, optFns ...func(*sagemaker.Options)) (*sagemaker.DescribeNotebookInstanceOutput, error)
ListNotebookInstances(ctx context.Context, params *sagemaker.ListNotebookInstancesInput, optFns ...func(*sagemaker.Options)) (*sagemaker.ListNotebookInstancesOutput, error)
DeleteNotebookInstance(ctx context.Context, params *sagemaker.DeleteNotebookInstanceInput, optFns ...func(*sagemaker.Options)) (*sagemaker.DeleteNotebookInstanceOutput, error)
StopNotebookInstance(ctx context.Context, params *sagemaker.StopNotebookInstanceInput, optFns ...func(*sagemaker.Options)) (*sagemaker.StopNotebookInstanceOutput, error)
}
type SageMakerNotebookInstancesAPI interface {
ListNotebookInstances(ctx context.Context, params *sagemaker.ListNotebookInstancesInput, optFns ...func(*Options)) (*ListNotebookInstancesOutput, error)
}
type SageMakerStudio ¶ added in v0.38.3
type SageMakerStudio struct {
BaseAwsResource
Client SageMakerStudioAPI // AWS SageMaker client or mock for testing
Region string // AWS region where the resources are located
StudioDomainNames []string // List of SageMaker Studio domain names to be nuked
}
SageMakerStudio represents an AWS SageMaker Studio resource to be nuked It implements the Resource interface and handles the deletion of SageMaker Studio resources including domains, user profiles, apps, spaces, and MLflow tracking servers
func (*SageMakerStudio) GetAndSetIdentifiers ¶ added in v0.38.3
func (s *SageMakerStudio) GetAndSetIdentifiers(c context.Context, configObj config.Config) ([]string, error)
GetAndSetIdentifiers retrieves all SageMaker Studio domains and stores their identifiers It applies any filtering rules from the configuration
func (*SageMakerStudio) GetAndSetResourceConfig ¶ added in v0.38.3
func (s *SageMakerStudio) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
GetAndSetResourceConfig retrieves the configuration for SageMaker Studio resources from the provided config object and converts it to a ResourceType
func (*SageMakerStudio) Init ¶ added in v0.38.3
func (s *SageMakerStudio) Init(cfg aws.Config)
Init initializes the SageMaker client with the provided AWS configuration This method must be called before using any other methods
func (*SageMakerStudio) IsNukable ¶ added in v0.38.3
func (s *SageMakerStudio) IsNukable(identifier string) (bool, error)
IsNukable determines whether a specific SageMaker Studio domain can be deleted Currently always returns true as all domains are considered nukable
func (*SageMakerStudio) MaxBatchSize ¶ added in v0.38.3
func (s *SageMakerStudio) MaxBatchSize() int
MaxBatchSize returns the maximum number of resources that can be deleted in parallel This limit helps prevent AWS API throttling
func (*SageMakerStudio) Nuke ¶ added in v0.38.3
func (s *SageMakerStudio) Nuke(identifiers []string) error
Nuke deletes the specified SageMaker Studio domains and all their associated resources This includes user profiles, apps, spaces, and MLflow tracking servers
func (*SageMakerStudio) ResourceIdentifiers ¶ added in v0.38.3
func (s *SageMakerStudio) ResourceIdentifiers() []string
ResourceIdentifiers returns the list of domain names that will be nuked These identifiers are used to track and report the deletion progress
func (*SageMakerStudio) ResourceName ¶ added in v0.38.3
func (s *SageMakerStudio) ResourceName() string
ResourceName returns the identifier string for this resource type Used for logging and reporting purposes
type SageMakerStudioAPI ¶ added in v0.38.3
type SageMakerStudioAPI interface {
// Domain operations
ListDomains(ctx context.Context, params *sagemaker.ListDomainsInput, optFns ...func(*sagemaker.Options)) (*sagemaker.ListDomainsOutput, error)
DescribeDomain(ctx context.Context, params *sagemaker.DescribeDomainInput, optFns ...func(*sagemaker.Options)) (*sagemaker.DescribeDomainOutput, error)
DeleteDomain(ctx context.Context, params *sagemaker.DeleteDomainInput, optFns ...func(*sagemaker.Options)) (*sagemaker.DeleteDomainOutput, error)
// UserProfile operations
ListUserProfiles(ctx context.Context, params *sagemaker.ListUserProfilesInput, optFns ...func(*sagemaker.Options)) (*sagemaker.ListUserProfilesOutput, error)
DescribeUserProfile(ctx context.Context, params *sagemaker.DescribeUserProfileInput, optFns ...func(*sagemaker.Options)) (*sagemaker.DescribeUserProfileOutput, error)
DeleteUserProfile(ctx context.Context, params *sagemaker.DeleteUserProfileInput, optFns ...func(*sagemaker.Options)) (*sagemaker.DeleteUserProfileOutput, error)
// App operations
ListApps(ctx context.Context, params *sagemaker.ListAppsInput, optFns ...func(*sagemaker.Options)) (*sagemaker.ListAppsOutput, error)
DescribeApp(ctx context.Context, params *sagemaker.DescribeAppInput, optFns ...func(*sagemaker.Options)) (*sagemaker.DescribeAppOutput, error)
DeleteApp(ctx context.Context, params *sagemaker.DeleteAppInput, optFns ...func(*sagemaker.Options)) (*sagemaker.DeleteAppOutput, error)
// Space operations
ListSpaces(ctx context.Context, params *sagemaker.ListSpacesInput, optFns ...func(*sagemaker.Options)) (*sagemaker.ListSpacesOutput, error)
DeleteSpace(ctx context.Context, params *sagemaker.DeleteSpaceInput, optFns ...func(*sagemaker.Options)) (*sagemaker.DeleteSpaceOutput, error)
// MLflow tracking server operations
ListMlflowTrackingServers(ctx context.Context, params *sagemaker.ListMlflowTrackingServersInput, optFns ...func(*sagemaker.Options)) (*sagemaker.ListMlflowTrackingServersOutput, error)
DeleteMlflowTrackingServer(ctx context.Context, params *sagemaker.DeleteMlflowTrackingServerInput, optFns ...func(*sagemaker.Options)) (*sagemaker.DeleteMlflowTrackingServerOutput, error)
DescribeMlflowTrackingServer(ctx context.Context, params *sagemaker.DescribeMlflowTrackingServerInput, optFns ...func(*sagemaker.Options)) (*sagemaker.DescribeMlflowTrackingServerOutput, error)
}
SageMakerStudioAPI represents the shape of the AWS SageMaker Studio API for testing This interface allows for mocking in tests and defines all required SageMaker operations
type SecretsManagerSecrets ¶
type SecretsManagerSecrets struct {
BaseAwsResource
Client SecretsManagerSecretsAPI
Region string
SecretIDs []string
}
SecretsManagerSecrets - represents all AWS secrets manager secrets that should be deleted.
func (*SecretsManagerSecrets) GetAndSetIdentifiers ¶
func (*SecretsManagerSecrets) GetAndSetResourceConfig ¶ added in v0.37.0
func (sms *SecretsManagerSecrets) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*SecretsManagerSecrets) Init ¶
func (sms *SecretsManagerSecrets) Init(cfg aws.Config)
func (*SecretsManagerSecrets) MaxBatchSize ¶
func (sms *SecretsManagerSecrets) MaxBatchSize() int
func (*SecretsManagerSecrets) Nuke ¶
func (sms *SecretsManagerSecrets) Nuke(identifiers []string) error
Nuke - nuke 'em all!!!
func (*SecretsManagerSecrets) ResourceIdentifiers ¶
func (sms *SecretsManagerSecrets) ResourceIdentifiers() []string
ResourceIdentifiers - The instance ids of the ec2 instances
func (*SecretsManagerSecrets) ResourceName ¶
func (sms *SecretsManagerSecrets) ResourceName() string
ResourceName - the simple name of the aws resource
type SecretsManagerSecretsAPI ¶ added in v0.38.0
type SecretsManagerSecretsAPI interface {
ListSecrets(ctx context.Context, params *secretsmanager.ListSecretsInput, optFns ...func(*secretsmanager.Options)) (*secretsmanager.ListSecretsOutput, error)
DescribeSecret(ctx context.Context, params *secretsmanager.DescribeSecretInput, optFns ...func(*secretsmanager.Options)) (*secretsmanager.DescribeSecretOutput, error)
RemoveRegionsFromReplication(ctx context.Context, params *secretsmanager.RemoveRegionsFromReplicationInput, optFns ...func(*secretsmanager.Options)) (*secretsmanager.RemoveRegionsFromReplicationOutput, error)
DeleteSecret(ctx context.Context, params *secretsmanager.DeleteSecretInput, optFns ...func(*secretsmanager.Options)) (*secretsmanager.DeleteSecretOutput, error)
}
type SecurityGroup ¶ added in v0.35.0
type SecurityGroup struct {
BaseAwsResource
Client SecurityGroupAPI
Region string
SecurityGroups []string
NukeOnlyDefault bool
}
func (*SecurityGroup) GetAndSetIdentifiers ¶ added in v0.35.0
func (*SecurityGroup) Init ¶ added in v0.35.0
func (sg *SecurityGroup) Init(cfg aws.Config)
func (*SecurityGroup) MaxBatchSize ¶ added in v0.35.0
func (sg *SecurityGroup) MaxBatchSize() int
func (*SecurityGroup) Nuke ¶ added in v0.35.0
func (sg *SecurityGroup) Nuke(identifiers []string) error
func (*SecurityGroup) ResourceIdentifiers ¶ added in v0.35.0
func (sg *SecurityGroup) ResourceIdentifiers() []string
func (*SecurityGroup) ResourceName ¶ added in v0.35.0
func (sg *SecurityGroup) ResourceName() string
func (*SecurityGroup) RevokeIPv6SecurityGroupEgress ¶ added in v0.36.0
func (sg *SecurityGroup) RevokeIPv6SecurityGroupEgress(id string) error
type SecurityGroupAPI ¶ added in v0.38.0
type SecurityGroupAPI interface {
DescribeSecurityGroups(ctx context.Context, input *ec2.DescribeSecurityGroupsInput, optFns ...func(*ec2.Options)) (*ec2.DescribeSecurityGroupsOutput, error)
DeleteSecurityGroup(ctx context.Context, input *ec2.DeleteSecurityGroupInput, optFns ...func(*ec2.Options)) (*ec2.DeleteSecurityGroupOutput, error)
CreateSecurityGroup(ctx context.Context, input *ec2.CreateSecurityGroupInput, optFns ...func(*ec2.Options)) (*ec2.CreateSecurityGroupOutput, error)
AuthorizeSecurityGroupIngress(ctx context.Context, input *ec2.AuthorizeSecurityGroupIngressInput, optFns ...func(*ec2.Options)) (*ec2.AuthorizeSecurityGroupIngressOutput, error)
RevokeSecurityGroupIngress(ctx context.Context, input *ec2.RevokeSecurityGroupIngressInput, optFns ...func(*ec2.Options)) (*ec2.RevokeSecurityGroupIngressOutput, error)
AuthorizeSecurityGroupEgress(ctx context.Context, input *ec2.AuthorizeSecurityGroupEgressInput, optFns ...func(*ec2.Options)) (*ec2.AuthorizeSecurityGroupEgressOutput, error)
RevokeSecurityGroupEgress(ctx context.Context, input *ec2.RevokeSecurityGroupEgressInput, optFns ...func(*ec2.Options)) (*ec2.RevokeSecurityGroupEgressOutput, error)
DescribeInstances(ctx context.Context, input *ec2.DescribeInstancesInput, optFns ...func(*ec2.Options)) (*ec2.DescribeInstancesOutput, error)
TerminateInstances(ctx context.Context, input *ec2.TerminateInstancesInput, optFns ...func(*ec2.Options)) (*ec2.TerminateInstancesOutput, error)
DescribeAddresses(ctx context.Context, input *ec2.DescribeAddressesInput, optFns ...func(*ec2.Options)) (*ec2.DescribeAddressesOutput, error)
ReleaseAddress(ctx context.Context, params *ec2.ReleaseAddressInput, optFns ...func(*ec2.Options)) (*ec2.ReleaseAddressOutput, error)
}
type SecurityHub ¶
type SecurityHub struct {
BaseAwsResource
Client SecurityHubAPI
Region string
HubArns []string
}
func (*SecurityHub) GetAndSetIdentifiers ¶
func (*SecurityHub) GetAndSetResourceConfig ¶ added in v0.37.0
func (sh *SecurityHub) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*SecurityHub) Init ¶
func (sh *SecurityHub) Init(cfg aws.Config)
func (*SecurityHub) MaxBatchSize ¶
func (sh *SecurityHub) MaxBatchSize() int
func (*SecurityHub) Nuke ¶
func (sh *SecurityHub) Nuke(identifiers []string) error
func (*SecurityHub) ResourceIdentifiers ¶
func (sh *SecurityHub) ResourceIdentifiers() []string
func (*SecurityHub) ResourceName ¶
func (sh *SecurityHub) ResourceName() string
type SecurityHubAPI ¶ added in v0.38.0
type SecurityHubAPI interface {
DescribeHub(ctx context.Context, params *securityhub.DescribeHubInput, optFns ...func(*securityhub.Options)) (*securityhub.DescribeHubOutput, error)
ListMembers(ctx context.Context, params *securityhub.ListMembersInput, optFns ...func(*securityhub.Options)) (*securityhub.ListMembersOutput, error)
DisassociateMembers(ctx context.Context, params *securityhub.DisassociateMembersInput, optFns ...func(*securityhub.Options)) (*securityhub.DisassociateMembersOutput, error)
DeleteMembers(ctx context.Context, params *securityhub.DeleteMembersInput, optFns ...func(*securityhub.Options)) (*securityhub.DeleteMembersOutput, error)
GetAdministratorAccount(ctx context.Context, params *securityhub.GetAdministratorAccountInput, optFns ...func(*securityhub.Options)) (*securityhub.GetAdministratorAccountOutput, error)
DisassociateFromAdministratorAccount(ctx context.Context, params *securityhub.DisassociateFromAdministratorAccountInput, optFns ...func(*securityhub.Options)) (*securityhub.DisassociateFromAdministratorAccountOutput, error)
DisableSecurityHub(ctx context.Context, params *securityhub.DisableSecurityHubInput, optFns ...func(*securityhub.Options)) (*securityhub.DisableSecurityHubOutput, error)
}
type SesConfigurationSet ¶ added in v0.34.0
type SesConfigurationSet struct {
BaseAwsResource
Client SESConfigurationSet
Region string
Ids []string
}
SesConfigurationSet - represents all SES configuartion set
func (*SesConfigurationSet) GetAndSetIdentifiers ¶ added in v0.34.0
func (*SesConfigurationSet) GetAndSetResourceConfig ¶ added in v0.37.0
func (scs *SesConfigurationSet) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*SesConfigurationSet) Init ¶ added in v0.34.0
func (scs *SesConfigurationSet) Init(cfg aws.Config)
func (*SesConfigurationSet) MaxBatchSize ¶ added in v0.34.0
func (scs *SesConfigurationSet) MaxBatchSize() int
MaxBatchSize - Tentative batch size to ensure AWS doesn't throttle
func (*SesConfigurationSet) Nuke ¶ added in v0.34.0
func (scs *SesConfigurationSet) Nuke(identifiers []string) error
Nuke - nuke 'em all!!!
func (*SesConfigurationSet) ResourceIdentifiers ¶ added in v0.34.0
func (scs *SesConfigurationSet) ResourceIdentifiers() []string
ResourceIdentifiers - The Ids of the configuration set
func (*SesConfigurationSet) ResourceName ¶ added in v0.34.0
func (scs *SesConfigurationSet) ResourceName() string
ResourceName - the simple name of the aws resource
type SesEmailTemplates ¶ added in v0.34.0
type SesEmailTemplates struct {
BaseAwsResource
Client SESAPI
Region string
Ids []string
}
SesEmailTemplates - represents all ses email templates
func (*SesEmailTemplates) GetAndSetIdentifiers ¶ added in v0.34.0
func (*SesEmailTemplates) GetAndSetResourceConfig ¶ added in v0.37.0
func (set *SesEmailTemplates) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*SesEmailTemplates) Init ¶ added in v0.34.0
func (s *SesEmailTemplates) Init(cfg aws.Config)
func (*SesEmailTemplates) MaxBatchSize ¶ added in v0.34.0
func (set *SesEmailTemplates) MaxBatchSize() int
MaxBatchSize - Tentative batch size to ensure AWS doesn't throttle
func (*SesEmailTemplates) Nuke ¶ added in v0.34.0
func (set *SesEmailTemplates) Nuke(identifiers []string) error
Nuke - nuke 'em all!!!
func (*SesEmailTemplates) ResourceIdentifiers ¶ added in v0.34.0
func (set *SesEmailTemplates) ResourceIdentifiers() []string
ResourceIdentifiers - The names of the ses email templates
func (*SesEmailTemplates) ResourceName ¶ added in v0.34.0
func (set *SesEmailTemplates) ResourceName() string
ResourceName - the simple name of the aws resource
type SesIdentities ¶ added in v0.34.0
type SesIdentities struct {
BaseAwsResource
Client SESIdentityAPI
Region string
Ids []string
}
SesIdentities - represents all SES identities
func (*SesIdentities) GetAndSetIdentifiers ¶ added in v0.34.0
func (*SesIdentities) GetAndSetResourceConfig ¶ added in v0.37.0
func (Sid *SesIdentities) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*SesIdentities) Init ¶ added in v0.34.0
func (Sid *SesIdentities) Init(cfg aws.Config)
func (*SesIdentities) MaxBatchSize ¶ added in v0.34.0
func (Sid *SesIdentities) MaxBatchSize() int
func (*SesIdentities) Nuke ¶ added in v0.34.0
func (Sid *SesIdentities) Nuke(identifiers []string) error
func (*SesIdentities) ResourceIdentifiers ¶ added in v0.34.0
func (Sid *SesIdentities) ResourceIdentifiers() []string
func (*SesIdentities) ResourceName ¶ added in v0.34.0
func (Sid *SesIdentities) ResourceName() string
type SesReceiptFilter ¶ added in v0.34.0
type SesReceiptFilter struct {
BaseAwsResource
Client SESEmailReceivingAPI
Region string
Ids []string
Nukable map[string]bool
}
func (*SesReceiptFilter) GetAndSetIdentifiers ¶ added in v0.34.0
func (*SesReceiptFilter) GetAndSetResourceConfig ¶ added in v0.37.0
func (sef *SesReceiptFilter) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*SesReceiptFilter) Init ¶ added in v0.34.0
func (sef *SesReceiptFilter) Init(cfg aws.Config)
func (*SesReceiptFilter) MaxBatchSize ¶ added in v0.34.0
func (sef *SesReceiptFilter) MaxBatchSize() int
MaxBatchSize - Tentative batch size to ensure AWS doesn't throttle
func (*SesReceiptFilter) Nuke ¶ added in v0.34.0
func (sef *SesReceiptFilter) Nuke(identifiers []string) error
Nuke - nuke 'em all!!!
func (*SesReceiptFilter) ResourceIdentifiers ¶ added in v0.34.0
func (sef *SesReceiptFilter) ResourceIdentifiers() []string
ResourceIdentifiers - The Ids of the receipt filter
func (*SesReceiptFilter) ResourceName ¶ added in v0.34.0
func (sef *SesReceiptFilter) ResourceName() string
ResourceName - the simple name of the aws resource
type SesReceiptRule ¶ added in v0.34.0
type SesReceiptRule struct {
BaseAwsResource
Client SESEmailReceivingAPI
Region string
Ids []string
Nukable map[string]bool
}
SesReceiptRule - represents all ses receipt rules
func (*SesReceiptRule) GetAndSetIdentifiers ¶ added in v0.34.0
func (*SesReceiptRule) GetAndSetResourceConfig ¶ added in v0.37.0
func (sef *SesReceiptRule) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*SesReceiptRule) Init ¶ added in v0.34.0
func (sef *SesReceiptRule) Init(cfg aws.Config)
func (*SesReceiptRule) MaxBatchSize ¶ added in v0.34.0
func (ser *SesReceiptRule) MaxBatchSize() int
MaxBatchSize - Tentative batch size to ensure AWS doesn't throttle
func (*SesReceiptRule) Nuke ¶ added in v0.34.0
func (ser *SesReceiptRule) Nuke(identifiers []string) error
Nuke - nuke 'em all!!!
func (*SesReceiptRule) ResourceIdentifiers ¶ added in v0.34.0
func (ser *SesReceiptRule) ResourceIdentifiers() []string
ResourceIdentifiers - The names of the rule set
func (*SesReceiptRule) ResourceName ¶ added in v0.34.0
func (ser *SesReceiptRule) ResourceName() string
ResourceName - the simple name of the aws resource
type SnapshotAPI ¶ added in v0.38.0
type SnapshotAPI interface {
DeleteSnapshot(ctx context.Context, params *ec2.DeleteSnapshotInput, optFns ...func(*ec2.Options)) (*ec2.DeleteSnapshotOutput, error)
DeregisterImage(ctx context.Context, params *ec2.DeregisterImageInput, optFns ...func(*ec2.Options)) (*ec2.DeregisterImageOutput, error)
DescribeImages(ctx context.Context, params *ec2.DescribeImagesInput, optFns ...func(*ec2.Options)) (*ec2.DescribeImagesOutput, error)
DescribeSnapshots(ctx context.Context, params *ec2.DescribeSnapshotsInput, optFns ...func(*ec2.Options)) (*ec2.DescribeSnapshotsOutput, error)
}
type Snapshots ¶
type Snapshots struct {
BaseAwsResource
Client SnapshotAPI
Region string
SnapshotIds []string
}
Snapshots - represents all user owned Snapshots
func (*Snapshots) GetAndSetIdentifiers ¶
func (*Snapshots) GetAndSetResourceConfig ¶ added in v0.37.0
func (s *Snapshots) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*Snapshots) MaxBatchSize ¶
func (*Snapshots) ResourceIdentifiers ¶
ResourceIdentifiers - The Snapshot ids
func (*Snapshots) ResourceName ¶
ResourceName - the simple name of the aws resource
type SqsQueue ¶
type SqsQueue struct {
BaseAwsResource
Client SqsQueueAPI
Region string
QueueUrls []string
}
SqsQueue - represents all sqs queues
func (*SqsQueue) GetAndSetIdentifiers ¶
func (*SqsQueue) GetAndSetResourceConfig ¶ added in v0.37.0
func (sq *SqsQueue) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*SqsQueue) MaxBatchSize ¶
func (*SqsQueue) ResourceIdentifiers ¶
ResourceIdentifiers - The arn's of the sqs queues
func (*SqsQueue) ResourceName ¶
ResourceName - the simple name of the aws resource
type SqsQueueAPI ¶ added in v0.38.0
type SqsQueueAPI interface {
DeleteQueue(ctx context.Context, params *sqs.DeleteQueueInput, optFns ...func(*sqs.Options)) (*sqs.DeleteQueueOutput, error)
GetQueueAttributes(ctx context.Context, params *sqs.GetQueueAttributesInput, optFns ...func(*sqs.Options)) (*sqs.GetQueueAttributesOutput, error)
ListQueues(context.Context, *sqs.ListQueuesInput, ...func(*sqs.Options)) (*sqs.ListQueuesOutput, error)
}
type TGWVpcAPI ¶ added in v0.38.0
type TGWVpcAPI interface {
DeleteTransitGatewayVpcAttachment(ctx context.Context, params *ec2.DeleteTransitGatewayVpcAttachmentInput, optFns ...func(*ec2.Options)) (*ec2.DeleteTransitGatewayVpcAttachmentOutput, error)
DescribeTransitGatewayVpcAttachments(ctx context.Context, params *ec2.DescribeTransitGatewayVpcAttachmentsInput, optFns ...func(*ec2.Options)) (*ec2.DescribeTransitGatewayVpcAttachmentsOutput, error)
}
type TooManyAccessAnalyzersErr ¶
type TooManyAccessAnalyzersErr struct{}
func (TooManyAccessAnalyzersErr) Error ¶
func (err TooManyAccessAnalyzersErr) Error() string
type TooManyApiGatewayErr ¶
type TooManyApiGatewayErr struct{}
func (TooManyApiGatewayErr) Error ¶
func (err TooManyApiGatewayErr) Error() string
type TooManyApiGatewayV2Err ¶
type TooManyApiGatewayV2Err struct{}
func (TooManyApiGatewayV2Err) Error ¶
func (err TooManyApiGatewayV2Err) Error() string
type TooManyCloudWatchAlarmsErr ¶
type TooManyCloudWatchAlarmsErr struct{}
func (TooManyCloudWatchAlarmsErr) Error ¶
func (err TooManyCloudWatchAlarmsErr) Error() string
type TooManyCloudWatchDashboardsErr ¶
type TooManyCloudWatchDashboardsErr struct{}
func (TooManyCloudWatchDashboardsErr) Error ¶
func (err TooManyCloudWatchDashboardsErr) Error() string
type TooManyEKSClustersErr ¶
type TooManyEKSClustersErr struct{}
func (TooManyEKSClustersErr) Error ¶
func (err TooManyEKSClustersErr) Error() string
type TooManyElasticFileSystemsErr ¶
type TooManyElasticFileSystemsErr struct{}
func (TooManyElasticFileSystemsErr) Error ¶
func (err TooManyElasticFileSystemsErr) Error() string
type TooManyIamGroupErr ¶
type TooManyIamGroupErr struct{}
TooManyIamGroupErr Custom Errors
func (TooManyIamGroupErr) Error ¶
func (err TooManyIamGroupErr) Error() string
type TooManyIamPolicyErr ¶
type TooManyIamPolicyErr struct{}
TooManyIamPolicyErr Custom Errors
func (TooManyIamPolicyErr) Error ¶
func (err TooManyIamPolicyErr) Error() string
type TooManyIamRoleErr ¶
type TooManyIamRoleErr struct{}
func (TooManyIamRoleErr) Error ¶
func (err TooManyIamRoleErr) Error() string
type TooManyIamServiceLinkedRoleErr ¶
type TooManyIamServiceLinkedRoleErr struct{}
func (TooManyIamServiceLinkedRoleErr) Error ¶
func (err TooManyIamServiceLinkedRoleErr) Error() string
type TooManyLogGroupsErr ¶
type TooManyLogGroupsErr struct{}
func (TooManyLogGroupsErr) Error ¶
func (err TooManyLogGroupsErr) Error() string
type TooManyNatErr ¶
type TooManyNatErr struct{}
func (TooManyNatErr) Error ¶
func (err TooManyNatErr) Error() string
type TooManyOIDCProvidersErr ¶
type TooManyOIDCProvidersErr struct{}
func (TooManyOIDCProvidersErr) Error ¶
func (err TooManyOIDCProvidersErr) Error() string
type TooManyOpenSearchDomainsErr ¶
type TooManyOpenSearchDomainsErr struct{}
func (TooManyOpenSearchDomainsErr) Error ¶
func (err TooManyOpenSearchDomainsErr) Error() string
type TooManySNSTopicsErr ¶
type TooManySNSTopicsErr struct{}
func (TooManySNSTopicsErr) Error ¶
func (err TooManySNSTopicsErr) Error() string
type TooManyStreamsErr ¶
type TooManyStreamsErr struct{}
func (TooManyStreamsErr) Error ¶
func (err TooManyStreamsErr) Error() string
type TransitGatewayAPI ¶ added in v0.38.0
type TransitGatewayAPI interface {
DescribeTransitGateways(ctx context.Context, params *ec2.DescribeTransitGatewaysInput, optFns ...func(*ec2.Options)) (*ec2.DescribeTransitGatewaysOutput, error)
DeleteTransitGateway(ctx context.Context, params *ec2.DeleteTransitGatewayInput, optFns ...func(*ec2.Options)) (*ec2.DeleteTransitGatewayOutput, error)
DescribeTransitGatewayAttachments(ctx context.Context, params *ec2.DescribeTransitGatewayAttachmentsInput, optFns ...func(*ec2.Options)) (*ec2.DescribeTransitGatewayAttachmentsOutput, error)
DeleteTransitGatewayPeeringAttachment(ctx context.Context, params *ec2.DeleteTransitGatewayPeeringAttachmentInput, optFns ...func(*ec2.Options)) (*ec2.DeleteTransitGatewayPeeringAttachmentOutput, error)
DeleteTransitGatewayVpcAttachment(ctx context.Context, params *ec2.DeleteTransitGatewayVpcAttachmentInput, optFns ...func(*ec2.Options)) (*ec2.DeleteTransitGatewayVpcAttachmentOutput, error)
DeleteTransitGatewayConnect(ctx context.Context, params *ec2.DeleteTransitGatewayConnectInput, optFns ...func(*ec2.Options)) (*ec2.DeleteTransitGatewayConnectOutput, error)
}
type TransitGatewayPeeringAttachment ¶
type TransitGatewayPeeringAttachment struct {
BaseAwsResource
Client TransitGatewayPeeringAttachmentAPI
Region string
Ids []string
}
TransitGatewayPeeringAttachment - represents all transit gateways peering attachment
func (*TransitGatewayPeeringAttachment) GetAndSetIdentifiers ¶
func (*TransitGatewayPeeringAttachment) GetAndSetResourceConfig ¶ added in v0.37.0
func (tgpa *TransitGatewayPeeringAttachment) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*TransitGatewayPeeringAttachment) Init ¶
func (tgpa *TransitGatewayPeeringAttachment) Init(cfg aws.Config)
func (*TransitGatewayPeeringAttachment) MaxBatchSize ¶
func (tgpa *TransitGatewayPeeringAttachment) MaxBatchSize() int
func (*TransitGatewayPeeringAttachment) Nuke ¶
func (tgpa *TransitGatewayPeeringAttachment) Nuke(identifiers []string) error
func (*TransitGatewayPeeringAttachment) ResourceIdentifiers ¶
func (tgpa *TransitGatewayPeeringAttachment) ResourceIdentifiers() []string
func (*TransitGatewayPeeringAttachment) ResourceName ¶
func (tgpa *TransitGatewayPeeringAttachment) ResourceName() string
type TransitGatewayPeeringAttachmentAPI ¶ added in v0.38.0
type TransitGatewayPeeringAttachmentAPI interface {
DescribeTransitGatewayPeeringAttachments(ctx context.Context, params *ec2.DescribeTransitGatewayPeeringAttachmentsInput, optFns ...func(*ec2.Options)) (*ec2.DescribeTransitGatewayPeeringAttachmentsOutput, error)
DeleteTransitGatewayPeeringAttachment(ctx context.Context, params *ec2.DeleteTransitGatewayPeeringAttachmentInput, optFns ...func(*ec2.Options)) (*ec2.DeleteTransitGatewayPeeringAttachmentOutput, error)
}
type TransitGateways ¶
type TransitGateways struct {
BaseAwsResource
Client TransitGatewayAPI
Region string
Ids []string
}
TransitGateways - represents all transit gateways
func (*TransitGateways) GetAndSetIdentifiers ¶
func (*TransitGateways) Init ¶
func (tgw *TransitGateways) Init(cfg aws.Config)
func (*TransitGateways) MaxBatchSize ¶
func (tgw *TransitGateways) MaxBatchSize() int
MaxBatchSize - Tentative batch size to ensure AWS doesn't throttle
func (*TransitGateways) Nuke ¶
func (tgw *TransitGateways) Nuke(identifiers []string) error
Nuke - nuke 'em all!!!
func (*TransitGateways) ResourceIdentifiers ¶
func (tgw *TransitGateways) ResourceIdentifiers() []string
ResourceIdentifiers - The Ids of the transit gateways
func (*TransitGateways) ResourceName ¶
func (tgw *TransitGateways) ResourceName() string
ResourceName - the simple name of the aws resource
func (*TransitGateways) WaitUntilTransitGatewayAttachmentDeleted ¶ added in v0.37.2
func (tgw *TransitGateways) WaitUntilTransitGatewayAttachmentDeleted(id *string, attachmentType types.TransitGatewayAttachmentResourceType) error
type TransitGatewaysRouteTables ¶
type TransitGatewaysRouteTables struct {
BaseAwsResource
Client TransitGatewaysRouteTablesAPI
Region string
Ids []string
}
TransitGatewaysRouteTables - represents all transit gateways route tables
func (*TransitGatewaysRouteTables) GetAndSetIdentifiers ¶
func (*TransitGatewaysRouteTables) Init ¶
func (tgw *TransitGatewaysRouteTables) Init(cfg aws.Config)
func (*TransitGatewaysRouteTables) MaxBatchSize ¶
func (tgw *TransitGatewaysRouteTables) MaxBatchSize() int
MaxBatchSize - Tentative batch size to ensure AWS doesn't throttle
func (*TransitGatewaysRouteTables) Nuke ¶
func (tgw *TransitGatewaysRouteTables) Nuke(identifiers []string) error
Nuke - nuke 'em all!!!
func (*TransitGatewaysRouteTables) ResourceIdentifiers ¶
func (tgw *TransitGatewaysRouteTables) ResourceIdentifiers() []string
ResourceIdentifiers - The arns of the transit gateways route tables
func (*TransitGatewaysRouteTables) ResourceName ¶
func (tgw *TransitGatewaysRouteTables) ResourceName() string
ResourceName - the simple name of the aws resource
type TransitGatewaysRouteTablesAPI ¶ added in v0.38.0
type TransitGatewaysRouteTablesAPI interface {
DeleteTransitGatewayRouteTable(ctx context.Context, params *ec2.DeleteTransitGatewayRouteTableInput, optFns ...func(*ec2.Options)) (*ec2.DeleteTransitGatewayRouteTableOutput, error)
DescribeTransitGatewayRouteTables(ctx context.Context, params *ec2.DescribeTransitGatewayRouteTablesInput, optFns ...func(*ec2.Options)) (*ec2.DescribeTransitGatewayRouteTablesOutput, error)
}
type TransitGatewaysVpcAttachment ¶
type TransitGatewaysVpcAttachment struct {
BaseAwsResource
Client TGWVpcAPI
Region string
Ids []string
}
TransitGatewaysVpcAttachment represents all transit gateway VPC attachments.
func (*TransitGatewaysVpcAttachment) GetAndSetIdentifiers ¶
func (*TransitGatewaysVpcAttachment) Init ¶
func (tgw *TransitGatewaysVpcAttachment) Init(cfg aws.Config)
func (*TransitGatewaysVpcAttachment) MaxBatchSize ¶
func (tgw *TransitGatewaysVpcAttachment) MaxBatchSize() int
MaxBatchSize - Tentative batch size to ensure AWS doesn't throttle
func (*TransitGatewaysVpcAttachment) Nuke ¶
func (tgw *TransitGatewaysVpcAttachment) Nuke(identifiers []string) error
Nuke - nuke 'em all!!!
func (*TransitGatewaysVpcAttachment) ResourceIdentifiers ¶
func (tgw *TransitGatewaysVpcAttachment) ResourceIdentifiers() []string
ResourceIdentifiers - The Ids of the transit gateways
func (*TransitGatewaysVpcAttachment) ResourceName ¶
func (tgw *TransitGatewaysVpcAttachment) ResourceName() string
ResourceName - the simple name of the aws resource
type VPCLatticeAPI ¶ added in v0.38.0
type VPCLatticeAPI interface {
ListTargetGroups(ctx context.Context, params *vpclattice.ListTargetGroupsInput, optFns ...func(*vpclattice.Options)) (*vpclattice.ListTargetGroupsOutput, error)
ListTargets(ctx context.Context, params *vpclattice.ListTargetsInput, optFns ...func(*vpclattice.Options)) (*vpclattice.ListTargetsOutput, error)
DeregisterTargets(ctx context.Context, params *vpclattice.DeregisterTargetsInput, optFns ...func(*vpclattice.Options)) (*vpclattice.DeregisterTargetsOutput, error)
DeleteTargetGroup(ctx context.Context, params *vpclattice.DeleteTargetGroupInput, optFns ...func(*vpclattice.Options)) (*vpclattice.DeleteTargetGroupOutput, error)
}
type VPCLatticeService ¶ added in v0.37.0
type VPCLatticeService struct {
BaseAwsResource
Client VPCLatticeServiceAPI
Region string
ARNs []string
}
func (*VPCLatticeService) GetAndSetIdentifiers ¶ added in v0.37.0
func (*VPCLatticeService) GetAndSetResourceConfig ¶ added in v0.37.0
func (n *VPCLatticeService) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*VPCLatticeService) Init ¶ added in v0.37.0
func (sch *VPCLatticeService) Init(cfg aws.Config)
func (*VPCLatticeService) MaxBatchSize ¶ added in v0.37.0
func (n *VPCLatticeService) MaxBatchSize() int
func (*VPCLatticeService) Nuke ¶ added in v0.37.0
func (n *VPCLatticeService) Nuke(arns []string) error
Nuke - nuke 'em all!!!
func (*VPCLatticeService) ResourceIdentifiers ¶ added in v0.37.0
func (n *VPCLatticeService) ResourceIdentifiers() []string
ResourceIdentifiers - the arns of the aws certificate manager certificates
func (*VPCLatticeService) ResourceName ¶ added in v0.37.0
func (n *VPCLatticeService) ResourceName() string
ResourceName - the simple name of the aws resource
func (*VPCLatticeService) ResourceServiceName ¶ added in v0.37.0
func (n *VPCLatticeService) ResourceServiceName() string
type VPCLatticeServiceAPI ¶ added in v0.38.0
type VPCLatticeServiceAPI interface {
ListServices(ctx context.Context, params *vpclattice.ListServicesInput, optFns ...func(*vpclattice.Options)) (*vpclattice.ListServicesOutput, error)
DeleteService(ctx context.Context, params *vpclattice.DeleteServiceInput, optFns ...func(*vpclattice.Options)) (*vpclattice.DeleteServiceOutput, error)
ListServiceNetworkServiceAssociations(ctx context.Context, params *vpclattice.ListServiceNetworkServiceAssociationsInput, optFns ...func(*vpclattice.Options)) (*vpclattice.ListServiceNetworkServiceAssociationsOutput, error)
DeleteServiceNetworkServiceAssociation(ctx context.Context, params *vpclattice.DeleteServiceNetworkServiceAssociationInput, optFns ...func(*vpclattice.Options)) (*vpclattice.DeleteServiceNetworkServiceAssociationOutput, error)
}
type VPCLatticeServiceNetwork ¶ added in v0.37.0
type VPCLatticeServiceNetwork struct {
BaseAwsResource
Client VPCLatticeServiceNetworkAPI
Region string
ARNs []string
}
func (*VPCLatticeServiceNetwork) GetAndSetIdentifiers ¶ added in v0.37.0
func (*VPCLatticeServiceNetwork) GetAndSetResourceConfig ¶ added in v0.37.0
func (n *VPCLatticeServiceNetwork) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*VPCLatticeServiceNetwork) Init ¶ added in v0.37.0
func (sch *VPCLatticeServiceNetwork) Init(cfg aws.Config)
func (*VPCLatticeServiceNetwork) MaxBatchSize ¶ added in v0.37.0
func (n *VPCLatticeServiceNetwork) MaxBatchSize() int
func (*VPCLatticeServiceNetwork) Nuke ¶ added in v0.37.0
func (n *VPCLatticeServiceNetwork) Nuke(arns []string) error
Nuke - nuke 'em all!!!
func (*VPCLatticeServiceNetwork) ResourceIdentifiers ¶ added in v0.37.0
func (n *VPCLatticeServiceNetwork) ResourceIdentifiers() []string
ResourceIdentifiers - the arns of the aws certificate manager certificates
func (*VPCLatticeServiceNetwork) ResourceName ¶ added in v0.37.0
func (n *VPCLatticeServiceNetwork) ResourceName() string
ResourceName - the simple name of the aws resource
func (*VPCLatticeServiceNetwork) ResourceServiceName ¶ added in v0.37.0
func (n *VPCLatticeServiceNetwork) ResourceServiceName() string
type VPCLatticeServiceNetworkAPI ¶ added in v0.38.0
type VPCLatticeServiceNetworkAPI interface {
ListServiceNetworks(ctx context.Context, params *vpclattice.ListServiceNetworksInput, optFns ...func(*vpclattice.Options)) (*vpclattice.ListServiceNetworksOutput, error)
DeleteServiceNetwork(ctx context.Context, params *vpclattice.DeleteServiceNetworkInput, optFns ...func(*vpclattice.Options)) (*vpclattice.DeleteServiceNetworkOutput, error)
ListServiceNetworkServiceAssociations(ctx context.Context, params *vpclattice.ListServiceNetworkServiceAssociationsInput, optFns ...func(*vpclattice.Options)) (*vpclattice.ListServiceNetworkServiceAssociationsOutput, error)
DeleteServiceNetworkServiceAssociation(ctx context.Context, params *vpclattice.DeleteServiceNetworkServiceAssociationInput, optFns ...func(*vpclattice.Options)) (*vpclattice.DeleteServiceNetworkServiceAssociationOutput, error)
}
type VPCLatticeTargetGroup ¶ added in v0.37.0
type VPCLatticeTargetGroup struct {
BaseAwsResource
Client VPCLatticeAPI
Region string
ARNs []string
TargetGroups map[string]*types.TargetGroupSummary
}
func (*VPCLatticeTargetGroup) GetAndSetIdentifiers ¶ added in v0.37.0
func (*VPCLatticeTargetGroup) GetAndSetResourceConfig ¶ added in v0.37.0
func (n *VPCLatticeTargetGroup) GetAndSetResourceConfig(configObj config.Config) config.ResourceType
func (*VPCLatticeTargetGroup) Init ¶ added in v0.37.0
func (sch *VPCLatticeTargetGroup) Init(cfg aws.Config)
func (*VPCLatticeTargetGroup) MaxBatchSize ¶ added in v0.37.0
func (n *VPCLatticeTargetGroup) MaxBatchSize() int
func (*VPCLatticeTargetGroup) Nuke ¶ added in v0.37.0
func (n *VPCLatticeTargetGroup) Nuke(arns []string) error
Nuke - nuke 'em all!!!
func (*VPCLatticeTargetGroup) ResourceIdentifiers ¶ added in v0.37.0
func (n *VPCLatticeTargetGroup) ResourceIdentifiers() []string
ResourceIdentifiers - the arns of the aws certificate manager certificates
func (*VPCLatticeTargetGroup) ResourceName ¶ added in v0.37.0
func (n *VPCLatticeTargetGroup) ResourceName() string
ResourceName - the simple name of the aws resource
func (*VPCLatticeTargetGroup) ResourceServiceName ¶ added in v0.37.0
func (n *VPCLatticeTargetGroup) ResourceServiceName() string
Source Files
¶
- access_analyzer.go
- access_analyzer_types.go
- acm.go
- acm_types.go
- acmpca.go
- acmpca_types.go
- ami.go
- ami_types.go
- apigateway.go
- apigateway_types.go
- apigatewayv2.go
- apigatewayv2_types.go
- apprunner_service.go
- apprunner_service_types.go
- asg.go
- asg_types.go
- backup_vault.go
- backup_vault_types.go
- base_resource.go
- cloudformation_stack.go
- cloudformation_stack_types.go
- cloudfront_distribution.go
- cloudfront_distribution_types.go
- cloudmap_namespace.go
- cloudmap_namespace_types.go
- cloudmap_service.go
- cloudmap_service_types.go
- cloudtrail.go
- cloudtrail_types.go
- cloudwatch_alarm.go
- cloudwatch_alarm_types.go
- cloudwatch_dashboard.go
- cloudwatch_dashboard_types.go
- cloudwatch_loggroup.go
- cloudwatch_loggroup_types.go
- codedeploy_application.go
- codedeploy_application_types.go
- common.go
- config_recorder.go
- config_recorder_types.go
- config_service.go
- config_service_types.go
- datasync_location.go
- datasync_location_types.go
- datasync_task.go
- datasync_task_types.go
- dynamodb.go
- dynamodb_types.go
- ebs.go
- ebs_types.go
- ec2.go
- ec2_dedicated_host.go
- ec2_dedicated_host_types.go
- ec2_dhcp_option.go
- ec2_dhcp_option_types.go
- ec2_egress_only_igw.go
- ec2_egress_only_igw_types.go
- ec2_endpoints.go
- ec2_endpoints_types.go
- ec2_internet_gateway.go
- ec2_internet_gateway_types.go
- ec2_ipam.go
- ec2_ipam_byoasn.go
- ec2_ipam_byoasn_types.go
- ec2_ipam_custom_allocation.go
- ec2_ipam_custom_allocation_types.go
- ec2_ipam_pool.go
- ec2_ipam_pool_types.go
- ec2_ipam_resource_discovery.go
- ec2_ipam_resource_discovery_types.go
- ec2_ipam_scope.go
- ec2_ipam_scope_types.go
- ec2_ipam_types.go
- ec2_key_pair.go
- ec2_key_pair_types.go
- ec2_network_acl.go
- ec2_network_acl_types.go
- ec2_network_interface.go
- ec2_network_interface_types.go
- ec2_placement_group.go
- ec2_placement_group_types.go
- ec2_subnet.go
- ec2_subnet_types.go
- ec2_types.go
- ec2_vpc.go
- ec2_vpc_types.go
- ecr.go
- ecr_types.go
- ecs_cluster.go
- ecs_cluster_types.go
- ecs_service.go
- ecs_service_types.go
- efs.go
- efs_types.go
- eip.go
- eip_types.go
- eks.go
- eks_types.go
- elastic_beanstalk.go
- elastic_beanstalk_types.go
- elasticache.go
- elasticache_serverless.go
- elasticache_serverless_types.go
- elasticache_types.go
- elb.go
- elb_types.go
- elbv2.go
- elbv2_types.go
- eventbridge.go
- eventbridge_archive.go
- eventbridge_archive_types.go
- eventbridge_rule.go
- eventbridge_rule_types.go
- eventbridge_schedule.go
- eventbridge_schedule_group.go
- eventbridge_schedule_group_types.go
- eventbridge_schedule_types.go
- eventbridge_types.go
- globals.go
- grafana.go
- grafana_types.go
- guardduty.go
- guardduty_types.go
- iam.go
- iam_group.go
- iam_group_types.go
- iam_instance_profile.go
- iam_instance_profile_types.go
- iam_policy.go
- iam_policy_types.go
- iam_role.go
- iam_role_types.go
- iam_service_linked_role.go
- iam_service_linked_role_types.go
- iam_types.go
- kinesis_firehose.go
- kinesis_firehose_types.go
- kinesis_stream.go
- kinesis_stream_types.go
- kms_customer_key.go
- kms_customer_key_types.go
- lambda.go
- lambda_layer.go
- lambda_layer_types.go
- lambda_types.go
- launch_config.go
- launch_config_types.go
- launch_template.go
- launch_template_types.go
- macie.go
- macie_types.go
- managed_prometheus.go
- managed_prometheus_types.go
- msk_cluster.go
- msk_cluster_types.go
- nat_gateway.go
- nat_gateway_types.go
- network_firewall.go
- network_firewall_policy.go
- network_firewall_policy_types.go
- network_firewall_resource_policy.go
- network_firewall_resource_policy_types.go
- network_firewall_rule_group.go
- network_firewall_rule_group_types.go
- network_firewall_tls_config.go
- network_firewall_tls_config_types.go
- network_firewall_types.go
- oidc_provider.go
- oidc_provider_types.go
- opensearch.go
- opensearch_types.go
- rds.go
- rds_cluster.go
- rds_cluster_types.go
- rds_global_cluster.go
- rds_global_cluster_membership.go
- rds_global_cluster_membership_types.go
- rds_global_cluster_types.go
- rds_parameter_group.go
- rds_parameter_group_types.go
- rds_proxy.go
- rds_proxy_types.go
- rds_snapshot.go
- rds_snapshot_types.go
- rds_subnet_group.go
- rds_subnet_group_types.go
- rds_types.go
- redshift.go
- redshift_types.go
- route53_cidr_collection.go
- route53_cidr_collection_types.go
- route53_hostedzone.go
- route53_hostedzone_types.go
- route53_traffic_policy.go
- route53_traffic_policy_types.go
- s3.go
- s3_access_point.go
- s3_access_point_types.go
- s3_multi_region_access_point.go
- s3_multi_region_access_point_types.go
- s3_object_lambda_access_point.go
- s3_object_lambda_access_point_types.go
- s3_types.go
- sagemaker_endpoint.go
- sagemaker_endpoint_config.go
- sagemaker_endpoint_config_types.go
- sagemaker_endpoint_types.go
- sagemaker_notebook_instance.go
- sagemaker_notebook_instance_types.go
- sagemaker_studio.go
- sagemaker_studio_types.go
- secrets_manager.go
- secrets_manager_types.go
- security_group.go
- security_group_types.go
- security_hub.go
- security_hub_types.go
- ses_configuration_set.go
- ses_configuration_set_types.go
- ses_email_receiving.go
- ses_email_receiving_types.go
- ses_email_templates.go
- ses_email_templates_types.go
- ses_identity.go
- ses_identity_types.go
- snapshot.go
- snapshot_types.go
- sns.go
- sns_types.go
- sqs.go
- sqs_types.go
- tgw_peering_attachment.go
- tgw_peering_attachment_types.go
- tgw_route_tables.go
- tgw_route_tables_types.go
- tgw_vpc_attachment.go
- tgw_vpc_attachment_types.go
- transit_gateway.go
- transit_gateway_types.go
- vpc_lattice_service.go
- vpc_lattice_service_network.go
- vpc_lattice_service_network_types.go
- vpc_lattice_service_type.go
- vpc_lattice_target_group.go
- vpc_lattice_target_group_types.go