autoscaling

package
v0.0.0-...-62343dc Latest Latest
Warning

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

Go to latest
Published: May 8, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

AUTOGENERATED CODE DO NOT EDIT This file is automatically generated from /internal/codegen/templates/aws_fetching_file.tmpl

AUTOGENERATED CODE DO NOT EDIT This file is automatically generated from /internal/codegen/templates/aws_resource_file.tmpl

AUTOGENERATED CODE DO NOT EDIT This file is automatically generated from /internal/codegen/templates/aws_fetching_file.tmpl

AUTOGENERATED CODE DO NOT EDIT This file is automatically generated from /internal/codegen/templates/aws_resource_file.tmpl

AUTOGENERATED CODE DO NOT EDIT This file is automatically generated from /internal/codegen/templates/aws_referenced_resource_file.tmpl

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PostProcessAutoScalingGroup

func PostProcessAutoScalingGroup(ctx context.Context, params *localAws.AwsFetchInput, model *AutoScalingGroup) error

Types

type AcceleratorCountRequest

type AcceleratorCountRequest struct {
	Max int32 `bson:"max,omitempty" ion:"max" dynamodbav:"max,omitempty" parquet:"name=max,type=INT32" json:"max,omitempty" diff:"max"`
	Min int32 `bson:"min,omitempty" ion:"min" dynamodbav:"min,omitempty" parquet:"name=min,type=INT32" json:"min,omitempty" diff:"min"`
}

type AcceleratorTotalMemoryMiBRequest

type AcceleratorTotalMemoryMiBRequest struct {
	Max int32 `bson:"max,omitempty" ion:"max" dynamodbav:"max,omitempty" parquet:"name=max,type=INT32" json:"max,omitempty" diff:"max"`
	Min int32 `bson:"min,omitempty" ion:"min" dynamodbav:"min,omitempty" parquet:"name=min,type=INT32" json:"min,omitempty" diff:"min"`
}

type Alarm

type Alarm struct {
	AlarmARN  string `` /* 179-byte string literal not displayed */
	AlarmName string `` /* 185-byte string literal not displayed */
}

type AutoScalingGroup

type AutoScalingGroup struct {
	AutoScalingGroupName             string                       `` /* 263-byte string literal not displayed */
	AvailabilityZones                []string                     `` /* 271-byte string literal not displayed */
	CreatedTime                      int64                        `` /* 204-byte string literal not displayed */
	DefaultCooldown                  int32                        `` /* 197-byte string literal not displayed */
	DesiredCapacity                  int32                        `` /* 197-byte string literal not displayed */
	HealthCheckType                  string                       `` /* 227-byte string literal not displayed */
	MaxSize                          int32                        `` /* 149-byte string literal not displayed */
	MinSize                          int32                        `` /* 149-byte string literal not displayed */
	AutoScalingGroupARN              string                       `` /* 297-byte string literal not displayed */
	CapacityRebalance                bool                         `` /* 201-byte string literal not displayed */
	Context                          string                       `` /* 167-byte string literal not displayed */
	DefaultInstanceWarmup            int32                        `` /* 239-byte string literal not displayed */
	DesiredCapacityType              string                       `` /* 251-byte string literal not displayed */
	EnabledMetrics                   []*EnabledMetric             `` /* 208-byte string literal not displayed */
	HealthCheckGracePeriod           int32                        `` /* 251-byte string literal not displayed */
	Instances                        []*Instance                  `` /* 172-byte string literal not displayed */
	LaunchConfigurationName          string                       `` /* 275-byte string literal not displayed */
	LaunchTemplate                   *LaunchTemplateSpecification `` /* 180-byte string literal not displayed */
	LoadBalancerNames                []string                     `` /* 277-byte string literal not displayed */
	MaxInstanceLifetime              int32                        `` /* 227-byte string literal not displayed */
	MixedInstancesPolicy             *MixedInstancesPolicy        `` /* 222-byte string literal not displayed */
	NewInstancesProtectedFromScaleIn bool                         `` /* 315-byte string literal not displayed */
	PlacementGroup                   string                       `` /* 215-byte string literal not displayed */
	PredictedCapacity                int32                        `` /* 209-byte string literal not displayed */
	ServiceLinkedRoleARN             string                       `` /* 263-byte string literal not displayed */
	Status                           string                       `` /* 161-byte string literal not displayed */
	SuspendedProcesses               []*SuspendedProcess          `` /* 232-byte string literal not displayed */
	Tags                             map[string]string            `` /* 209-byte string literal not displayed */
	TargetGroupARNs                  []string                     `` /* 265-byte string literal not displayed */
	TerminationPolicies              []string                     `` /* 283-byte string literal not displayed */
	VPCZoneIdentifier                string                       `` /* 239-byte string literal not displayed */
	WarmPoolConfiguration            *WarmPoolConfiguration       `` /* 228-byte string literal not displayed */
	WarmPoolSize                     int32                        `` /* 185-byte string literal not displayed */
	AccountId                        string                       `` /* 185-byte string literal not displayed */
	Region                           string                       `` /* 161-byte string literal not displayed */
	ReportTime                       int64                        `` /* 208-byte string literal not displayed */
	InventoryUUID                    string                       `` /* 152-byte string literal not displayed */
	ScalingPolicies                  []*ScalingPolicy             `` /* 214-byte string literal not displayed */
}

func FetchAutoScalingGroups

func FetchAutoScalingGroups(ctx context.Context, params *aws.AwsFetchInput) ([]*AutoScalingGroup, *aws.AwsFetchOutputMetadata)

type BaselineEbsBandwidthMbpsRequest

type BaselineEbsBandwidthMbpsRequest struct {
	Max int32 `bson:"max,omitempty" ion:"max" dynamodbav:"max,omitempty" parquet:"name=max,type=INT32" json:"max,omitempty" diff:"max"`
	Min int32 `bson:"min,omitempty" ion:"min" dynamodbav:"min,omitempty" parquet:"name=min,type=INT32" json:"min,omitempty" diff:"min"`
}

type BlockDeviceMapping

type BlockDeviceMapping struct {
	DeviceName  string `` /* 191-byte string literal not displayed */
	Ebs         *Ebs   `bson:"ebs,omitempty" ion:"ebs" dynamodbav:"ebs,omitempty" parquet:"name=ebs" json:"ebs,omitempty" diff:"ebs"`
	NoDevice    bool   `` /* 147-byte string literal not displayed */
	VirtualName string `` /* 197-byte string literal not displayed */
}

type CustomizedMetricSpecification

type CustomizedMetricSpecification struct {
	MetricName string             `` /* 191-byte string literal not displayed */
	Namespace  string             `` /* 179-byte string literal not displayed */
	Statistic  string             `` /* 179-byte string literal not displayed */
	Dimensions []*MetricDimension `` /* 178-byte string literal not displayed */
	Unit       string             `` /* 149-byte string literal not displayed */
}

type Ebs

type Ebs struct {
	DeleteOnTermination bool   `` /* 219-byte string literal not displayed */
	Encrypted           bool   `` /* 147-byte string literal not displayed */
	Iops                int32  `bson:"iops,omitempty" ion:"iops" dynamodbav:"iops,omitempty" parquet:"name=iops,type=INT32" json:"iops,omitempty" diff:"iops"`
	SnapshotId          string `` /* 191-byte string literal not displayed */
	Throughput          int32  `` /* 161-byte string literal not displayed */
	VolumeSize          int32  `` /* 167-byte string literal not displayed */
	VolumeType          string `` /* 191-byte string literal not displayed */
}

type EnabledMetric

type EnabledMetric struct {
	Granularity string `` /* 191-byte string literal not displayed */
	Metric      string `` /* 161-byte string literal not displayed */
}

type Instance

type Instance struct {
	AvailabilityZone        string                       `` /* 227-byte string literal not displayed */
	HealthStatus            string                       `` /* 203-byte string literal not displayed */
	InstanceId              string                       `` /* 191-byte string literal not displayed */
	LifecycleState          string                       `` /* 215-byte string literal not displayed */
	ProtectedFromScaleIn    bool                         `` /* 231-byte string literal not displayed */
	InstanceType            string                       `` /* 203-byte string literal not displayed */
	LaunchConfigurationName string                       `` /* 275-byte string literal not displayed */
	LaunchTemplate          *LaunchTemplateSpecification `` /* 180-byte string literal not displayed */
	WeightedCapacity        string                       `` /* 227-byte string literal not displayed */
}

type InstanceMetadataOptions

type InstanceMetadataOptions struct {
	HttpEndpoint            string `` /* 203-byte string literal not displayed */
	HttpPutResponseHopLimit int32  `` /* 263-byte string literal not displayed */
	HttpTokens              string `` /* 191-byte string literal not displayed */
}

type InstanceMonitoring

type InstanceMonitoring struct {
	Enabled bool `` /* 135-byte string literal not displayed */
}

type InstanceRequirements

type InstanceRequirements struct {
	MemoryMiB                                 *MemoryMiBRequest                 `` /* 156-byte string literal not displayed */
	VCpuCount                                 *VCpuCountRequest                 `` /* 156-byte string literal not displayed */
	AcceleratorCount                          *AcceleratorCountRequest          `` /* 192-byte string literal not displayed */
	AcceleratorManufacturers                  []string                          `` /* 313-byte string literal not displayed */
	AcceleratorNames                          []string                          `` /* 265-byte string literal not displayed */
	AcceleratorTotalMemoryMiB                 *AcceleratorTotalMemoryMiBRequest `` /* 264-byte string literal not displayed */
	AcceleratorTypes                          []string                          `` /* 265-byte string literal not displayed */
	BareMetal                                 string                            `` /* 185-byte string literal not displayed */
	BaselineEbsBandwidthMbps                  *BaselineEbsBandwidthMbpsRequest  `` /* 252-byte string literal not displayed */
	BurstablePerformance                      string                            `` /* 251-byte string literal not displayed */
	CpuManufacturers                          []string                          `` /* 265-byte string literal not displayed */
	ExcludedInstanceTypes                     []string                          `` /* 301-byte string literal not displayed */
	InstanceGenerations                       []string                          `` /* 283-byte string literal not displayed */
	LocalStorage                              string                            `` /* 203-byte string literal not displayed */
	LocalStorageTypes                         []string                          `` /* 277-byte string literal not displayed */
	MemoryGiBPerVCpu                          *MemoryGiBPerVCpuRequest          `` /* 216-byte string literal not displayed */
	NetworkInterfaceCount                     *NetworkInterfaceCountRequest     `` /* 228-byte string literal not displayed */
	OnDemandMaxPricePercentageOverLowestPrice int32                             `` /* 389-byte string literal not displayed */
	RequireHibernateSupport                   bool                              `` /* 243-byte string literal not displayed */
	SpotMaxPricePercentageOverLowestPrice     int32                             `` /* 359-byte string literal not displayed */
	TotalLocalStorageGB                       *TotalLocalStorageGBRequest       `` /* 222-byte string literal not displayed */
}

type InstanceReusePolicy

type InstanceReusePolicy struct {
	ReuseOnScaleIn bool `` /* 195-byte string literal not displayed */
}

type InstancesDistribution

type InstancesDistribution struct {
	OnDemandAllocationStrategy          string `` /* 299-byte string literal not displayed */
	OnDemandBaseCapacity                int32  `` /* 239-byte string literal not displayed */
	OnDemandPercentageAboveBaseCapacity int32  `` /* 341-byte string literal not displayed */
	SpotAllocationStrategy              string `` /* 269-byte string literal not displayed */
	SpotInstancePools                   int32  `` /* 215-byte string literal not displayed */
	SpotMaxPrice                        string `` /* 209-byte string literal not displayed */
}

type LaunchConfiguration

type LaunchConfiguration struct {
	CreatedTime                  int64                    `` /* 204-byte string literal not displayed */
	ImageId                      string                   `` /* 173-byte string literal not displayed */
	InstanceType                 string                   `` /* 203-byte string literal not displayed */
	LaunchConfigurationName      string                   `` /* 275-byte string literal not displayed */
	AssociatePublicIpAddress     bool                     `` /* 255-byte string literal not displayed */
	BlockDeviceMappings          []*BlockDeviceMapping    `` /* 244-byte string literal not displayed */
	ClassicLinkVPCId             string                   `` /* 239-byte string literal not displayed */
	ClassicLinkVPCSecurityGroups []string                 `` /* 355-byte string literal not displayed */
	EbsOptimized                 bool                     `` /* 171-byte string literal not displayed */
	IamInstanceProfile           string                   `` /* 245-byte string literal not displayed */
	InstanceMonitoring           *InstanceMonitoring      `` /* 204-byte string literal not displayed */
	KernelId                     string                   `` /* 179-byte string literal not displayed */
	KeyName                      string                   `` /* 173-byte string literal not displayed */
	LaunchConfigurationARN       string                   `` /* 309-byte string literal not displayed */
	MetadataOptions              *InstanceMetadataOptions `` /* 186-byte string literal not displayed */
	PlacementTenancy             string                   `` /* 227-byte string literal not displayed */
	RamdiskId                    string                   `` /* 185-byte string literal not displayed */
	SecurityGroups               []string                 `` /* 253-byte string literal not displayed */
	SpotPrice                    string                   `` /* 185-byte string literal not displayed */
	UserData                     string                   `` /* 179-byte string literal not displayed */
	AccountId                    string                   `` /* 185-byte string literal not displayed */
	Region                       string                   `` /* 161-byte string literal not displayed */
	ReportTime                   int64                    `` /* 208-byte string literal not displayed */
	InventoryUUID                string                   `` /* 152-byte string literal not displayed */
}

type LaunchTemplate

type LaunchTemplate struct {
	LaunchTemplateSpecification *LaunchTemplateSpecification `` /* 264-byte string literal not displayed */
	Overrides                   []*LaunchTemplateOverrides   `` /* 172-byte string literal not displayed */
}

type LaunchTemplateOverrides

type LaunchTemplateOverrides struct {
	InstanceRequirements        *InstanceRequirements        `` /* 216-byte string literal not displayed */
	InstanceType                string                       `` /* 203-byte string literal not displayed */
	LaunchTemplateSpecification *LaunchTemplateSpecification `` /* 264-byte string literal not displayed */
	WeightedCapacity            string                       `` /* 227-byte string literal not displayed */
}

type LaunchTemplateSpecification

type LaunchTemplateSpecification struct {
	LaunchTemplateId   string `` /* 233-byte string literal not displayed */
	LaunchTemplateName string `` /* 245-byte string literal not displayed */
	Version            string `` /* 167-byte string literal not displayed */
}

type MemoryGiBPerVCpuRequest

type MemoryGiBPerVCpuRequest struct {
	Max float64 `bson:"max,omitempty" ion:"max" dynamodbav:"max,omitempty" parquet:"name=max,type=DOUBLE" json:"max,omitempty" diff:"max"`
	Min float64 `bson:"min,omitempty" ion:"min" dynamodbav:"min,omitempty" parquet:"name=min,type=DOUBLE" json:"min,omitempty" diff:"min"`
}

type MemoryMiBRequest

type MemoryMiBRequest struct {
	Min int32 `bson:"min,omitempty" ion:"min" dynamodbav:"min,omitempty" parquet:"name=min,type=INT32" json:"min,omitempty" diff:"min"`
	Max int32 `bson:"max,omitempty" ion:"max" dynamodbav:"max,omitempty" parquet:"name=max,type=INT32" json:"max,omitempty" diff:"max"`
}

type Metric

type Metric struct {
	MetricName string             `` /* 191-byte string literal not displayed */
	Namespace  string             `` /* 179-byte string literal not displayed */
	Dimensions []*MetricDimension `` /* 178-byte string literal not displayed */
}

type MetricDataQuery

type MetricDataQuery struct {
	Id         string      `` /* 137-byte string literal not displayed */
	Expression string      `` /* 185-byte string literal not displayed */
	Label      string      `` /* 155-byte string literal not displayed */
	MetricStat *MetricStat `` /* 156-byte string literal not displayed */
	ReturnData bool        `` /* 159-byte string literal not displayed */
}

type MetricDimension

type MetricDimension struct {
	Name  string `` /* 149-byte string literal not displayed */
	Value string `` /* 155-byte string literal not displayed */
}

type MetricStat

type MetricStat struct {
	Metric *Metric `` /* 126-byte string literal not displayed */
	Stat   string  `` /* 149-byte string literal not displayed */
	Unit   string  `` /* 149-byte string literal not displayed */
}

type MixedInstancesPolicy

type MixedInstancesPolicy struct {
	InstancesDistribution *InstancesDistribution `` /* 222-byte string literal not displayed */
	LaunchTemplate        *LaunchTemplate        `` /* 180-byte string literal not displayed */
}

type NetworkInterfaceCountRequest

type NetworkInterfaceCountRequest struct {
	Max int32 `bson:"max,omitempty" ion:"max" dynamodbav:"max,omitempty" parquet:"name=max,type=INT32" json:"max,omitempty" diff:"max"`
	Min int32 `bson:"min,omitempty" ion:"min" dynamodbav:"min,omitempty" parquet:"name=min,type=INT32" json:"min,omitempty" diff:"min"`
}

type PredefinedMetricSpecification

type PredefinedMetricSpecification struct {
	PredefinedMetricType string `` /* 257-byte string literal not displayed */
	ResourceLabel        string `` /* 209-byte string literal not displayed */
}

type PredictiveScalingConfiguration

type PredictiveScalingConfiguration struct {
	MetricSpecifications      []*PredictiveScalingMetricSpecification `` /* 244-byte string literal not displayed */
	MaxCapacityBreachBehavior string                                  `` /* 293-byte string literal not displayed */
	MaxCapacityBuffer         int32                                   `` /* 215-byte string literal not displayed */
	Mode                      string                                  `` /* 149-byte string literal not displayed */
	SchedulingBufferTime      int32                                   `` /* 233-byte string literal not displayed */
}

type PredictiveScalingCustomizedCapacityMetric

type PredictiveScalingCustomizedCapacityMetric struct {
	MetricDataQueries []*MetricDataQuery `` /* 232-byte string literal not displayed */
}

type PredictiveScalingCustomizedLoadMetric

type PredictiveScalingCustomizedLoadMetric struct {
	MetricDataQueries []*MetricDataQuery `` /* 232-byte string literal not displayed */
}

type PredictiveScalingCustomizedScalingMetric

type PredictiveScalingCustomizedScalingMetric struct {
	MetricDataQueries []*MetricDataQuery `` /* 232-byte string literal not displayed */
}

type PredictiveScalingMetricSpecification

type PredictiveScalingMetricSpecification struct {
	TargetValue                           float64                                    `` /* 174-byte string literal not displayed */
	CustomizedCapacityMetricSpecification *PredictiveScalingCustomizedCapacityMetric `` /* 330-byte string literal not displayed */
	CustomizedLoadMetricSpecification     *PredictiveScalingCustomizedLoadMetric     `` /* 306-byte string literal not displayed */
	CustomizedScalingMetricSpecification  *PredictiveScalingCustomizedScalingMetric  `` /* 324-byte string literal not displayed */
	PredefinedLoadMetricSpecification     *PredictiveScalingPredefinedLoadMetric     `` /* 306-byte string literal not displayed */
	PredefinedMetricPairSpecification     *PredictiveScalingPredefinedMetricPair     `` /* 306-byte string literal not displayed */
	PredefinedScalingMetricSpecification  *PredictiveScalingPredefinedScalingMetric  `` /* 324-byte string literal not displayed */
}

type PredictiveScalingPredefinedLoadMetric

type PredictiveScalingPredefinedLoadMetric struct {
	PredefinedMetricType string `` /* 257-byte string literal not displayed */
	ResourceLabel        string `` /* 209-byte string literal not displayed */
}

type PredictiveScalingPredefinedMetricPair

type PredictiveScalingPredefinedMetricPair struct {
	PredefinedMetricType string `` /* 257-byte string literal not displayed */
	ResourceLabel        string `` /* 209-byte string literal not displayed */
}

type PredictiveScalingPredefinedScalingMetric

type PredictiveScalingPredefinedScalingMetric struct {
	PredefinedMetricType string `` /* 257-byte string literal not displayed */
	ResourceLabel        string `` /* 209-byte string literal not displayed */
}

type ScalingPolicy

type ScalingPolicy struct {
	AdjustmentType                 string                          `` /* 215-byte string literal not displayed */
	Alarms                         []*Alarm                        `` /* 154-byte string literal not displayed */
	AutoScalingGroupName           string                          `` /* 263-byte string literal not displayed */
	Cooldown                       int32                           `` /* 149-byte string literal not displayed */
	Enabled                        bool                            `` /* 135-byte string literal not displayed */
	EstimatedInstanceWarmup        int32                           `` /* 251-byte string literal not displayed */
	MetricAggregationType          string                          `` /* 263-byte string literal not displayed */
	MinAdjustmentMagnitude         int32                           `` /* 245-byte string literal not displayed */
	MinAdjustmentStep              int32                           `` /* 215-byte string literal not displayed */
	PolicyARN                      string                          `` /* 185-byte string literal not displayed */
	PolicyName                     string                          `` /* 191-byte string literal not displayed */
	PolicyType                     string                          `` /* 191-byte string literal not displayed */
	PredictiveScalingConfiguration *PredictiveScalingConfiguration `` /* 282-byte string literal not displayed */
	ScalingAdjustment              int32                           `` /* 209-byte string literal not displayed */
	StepAdjustments                []*StepAdjustment               `` /* 214-byte string literal not displayed */
	TargetTrackingConfiguration    *TargetTrackingConfiguration    `` /* 264-byte string literal not displayed */
}

type StepAdjustment

type StepAdjustment struct {
	ScalingAdjustment        int32   `` /* 209-byte string literal not displayed */
	MetricIntervalLowerBound float64 `` /* 264-byte string literal not displayed */
	MetricIntervalUpperBound float64 `` /* 264-byte string literal not displayed */
}

type SuspendedProcess

type SuspendedProcess struct {
	ProcessName      string `` /* 197-byte string literal not displayed */
	SuspensionReason string `` /* 227-byte string literal not displayed */
}

type TagDescription

type TagDescription struct {
	Key               string `` /* 143-byte string literal not displayed */
	PropagateAtLaunch bool   `` /* 207-byte string literal not displayed */
	ResourceId        string `` /* 191-byte string literal not displayed */
	ResourceType      string `` /* 203-byte string literal not displayed */
	Value             string `` /* 155-byte string literal not displayed */
}

type TargetTrackingConfiguration

type TargetTrackingConfiguration struct {
	TargetValue                   float64                        `` /* 174-byte string literal not displayed */
	CustomizedMetricSpecification *CustomizedMetricSpecification `` /* 276-byte string literal not displayed */
	DisableScaleIn                bool                           `` /* 189-byte string literal not displayed */
	PredefinedMetricSpecification *PredefinedMetricSpecification `` /* 276-byte string literal not displayed */
}

type TotalLocalStorageGBRequest

type TotalLocalStorageGBRequest struct {
	Max float64 `bson:"max,omitempty" ion:"max" dynamodbav:"max,omitempty" parquet:"name=max,type=DOUBLE" json:"max,omitempty" diff:"max"`
	Min float64 `bson:"min,omitempty" ion:"min" dynamodbav:"min,omitempty" parquet:"name=min,type=DOUBLE" json:"min,omitempty" diff:"min"`
}

type VCpuCountRequest

type VCpuCountRequest struct {
	Min int32 `bson:"min,omitempty" ion:"min" dynamodbav:"min,omitempty" parquet:"name=min,type=INT32" json:"min,omitempty" diff:"min"`
	Max int32 `bson:"max,omitempty" ion:"max" dynamodbav:"max,omitempty" parquet:"name=max,type=INT32" json:"max,omitempty" diff:"max"`
}

type WarmPoolConfiguration

type WarmPoolConfiguration struct {
	InstanceReusePolicy      *InstanceReusePolicy `` /* 216-byte string literal not displayed */
	MaxGroupPreparedCapacity int32                `` /* 263-byte string literal not displayed */
	MinSize                  int32                `` /* 149-byte string literal not displayed */
	PoolState                string               `` /* 185-byte string literal not displayed */
	Status                   string               `` /* 161-byte string literal not displayed */
}

Jump to

Keyboard shortcuts

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