Documentation ¶
Index ¶
Constants ¶
View Source
const ( IdleDBInstancesCheckId = "ckia:aws:cost:IdleDBInstances" IdleDBInstancesCheckName = "RDS Idle DB Instances" IdleDBInstancesCheckDescription = "" /* 443-byte string literal not displayed */ IdleDBInstancesCheckCriteria = "Any RDS DB instance that has not had a connection in the last 7 days is considered idle." IdleDBInstancesCheckRecommendedAction = "" /* 417-byte string literal not displayed */ IdleDBInstancesCheckAdditionalResources = "" /* 152-byte string literal not displayed */ )
View Source
const ( IdleLoadBalancersCheckId = "ckia:aws:cost:IdleLoadBalancers" IdleLoadBalancersCheckName = "Idle Load Balancers" IdleLoadBalancersCheckDescription = "" /* 456-byte string literal not displayed */ IdleLoadBalancersCheckCriteria = "" /* 176-byte string literal not displayed */ IdleLoadBalancersCheckRecommendedAction = "" /* 357-byte string literal not displayed */ IdleLoadBalancersCheckAdditionalResources = "" /* 142-byte string literal not displayed */ IdleLoadBalancerReasonNoActiveInstances = "no active back-end instances" IdleLoadBalancerReasonNoHealthyInstances = "no healthy back-end instances" IdleLoadBalancerReasonLowRequestCount = "low request count" )
View Source
const ( UnassociatedElasticIPAddressesCheckId = "ckia:aws:cost:UnassociatedElasticIPAddresses" UnassociatedElasticIPAddressesCheckName = "Unassociated Elastic IP Addresses" UnassociatedElasticIPAddressesCheckDescription = "" /* 451-byte string literal not displayed */ UnassociatedElasticIPAddressesCheckCriteria = "An allocated Elastic IP address (EIP) is not associated with a running Amazon EC2 instance." UnassociatedElasticIPAddressesCheckRecommendedAction = "Associate the EIP with a running active instance, or release the unassociated EIP. " UnassociatedElasticIPAddressesCheckAdditionalResources = "" /* 156-byte string literal not displayed */ )
View Source
const ( UnderutilizedEBSVolumesCheckId = "ckia:aws:cost:UnderutilizedEBSVolumes" UnderutilizedEBSVolumesCheckName = "Underutilized Amazon EBS Volumes" UnderutilizedEBSVolumesCheckDescription = "" /* 365-byte string literal not displayed */ UnderutilizedEBSVolumesCheckCriteria = "A volume is unattached or had less than 1 IOPS per day for the past 7 days." UnderutilizedEBSVolumesCheckRecommendedAction = "Consider creating a snapshot and deleting the volume to reduce costs." UnderutilizedEBSVolumesCheckAdditionalResources = "" /* 155-byte string literal not displayed */ )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IdleDBInstance ¶
type IdleDBInstance struct { Region string `json:"region"` DBInstanceName string `json:"dbInstanceName"` MultiAZ bool `json:"multiAZ"` InstanceType string `json:"instanceType"` StorageProvisionedInGB int `json:"storageProvisionedInGB"` DaysSinceLastConnection int `json:"daysSinceLastConnection"` EstimatedMonthlySavings int `json:"estimatedMonthlySavings"` }
type IdleDBInstancesCheck ¶ added in v0.1.0
type IdleDBInstancesCheck struct { common.Check IdleDBInstances []IdleDBInstance `json:"idleDBInstances"` }
func (IdleDBInstancesCheck) List ¶ added in v0.1.0
func (v IdleDBInstancesCheck) List() *IdleDBInstancesCheck
func (IdleDBInstancesCheck) Run ¶ added in v0.1.0
func (v IdleDBInstancesCheck) Run(ctx context.Context, conn client.AWSClient) (*IdleDBInstancesCheck, error)
type IdleLoadBalancer ¶ added in v0.1.0
type IdleLoadBalancersCheck ¶ added in v0.1.0
type IdleLoadBalancersCheck struct { common.Check IdleLoadBalancers []IdleLoadBalancer `json:"idleLoadBalancers"` }
func (IdleLoadBalancersCheck) List ¶ added in v0.1.0
func (v IdleLoadBalancersCheck) List() *IdleLoadBalancersCheck
func (IdleLoadBalancersCheck) Run ¶ added in v0.1.0
func (v IdleLoadBalancersCheck) Run(ctx context.Context, conn client.AWSClient) (*IdleLoadBalancersCheck, error)
type UnassociatedElasticIPAddress ¶ added in v0.1.0
type UnassociatedElasticIPAddressesCheck ¶ added in v0.1.0
type UnassociatedElasticIPAddressesCheck struct { common.Check UnassociatedElasticIPAddresses []UnassociatedElasticIPAddress `json:"unassociatedAddresses"` }
func (UnassociatedElasticIPAddressesCheck) List ¶ added in v0.1.0
func (v UnassociatedElasticIPAddressesCheck) List() *UnassociatedElasticIPAddressesCheck
func (UnassociatedElasticIPAddressesCheck) Run ¶ added in v0.1.0
func (v UnassociatedElasticIPAddressesCheck) Run(ctx context.Context, conn client.AWSClient) (*UnassociatedElasticIPAddressesCheck, error)
type UnderutilizedEBSVolume ¶ added in v0.1.0
type UnderutilizedEBSVolume struct { Region string `json:"region"` VolumeId string `json:"volumeId"` VolumeName string `json:"volumeName"` VolumeType string `json:"volumeType"` VolumeSize int `json:"volumeSize"` MonthlyStorageCost int `json:"monthlyStorageCost"` SnapshotId string `json:"snapshotId"` SnapshotName string `json:"snapshotName"` SnapshotAge int `json:"snapshotAge"` }
type UnderutilizedEBSVolumesCheck ¶
type UnderutilizedEBSVolumesCheck struct { common.Check UnderutilizedEBSVolumes []UnderutilizedEBSVolume `json:"underutilizedVolumes"` }
func (UnderutilizedEBSVolumesCheck) List ¶
func (v UnderutilizedEBSVolumesCheck) List() *UnderutilizedEBSVolumesCheck
func (UnderutilizedEBSVolumesCheck) Run ¶
func (v UnderutilizedEBSVolumesCheck) Run(ctx context.Context, conn client.AWSClient) (*UnderutilizedEBSVolumesCheck, error)
Click to show internal directories.
Click to hide internal directories.