-
Notifications
You must be signed in to change notification settings - Fork 378
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1704 from nokia/autoscaling
Add support for AutoScalingGroup
- Loading branch information
Showing
23 changed files
with
7,605 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,178 @@ | ||
ignore: | ||
field_paths: | ||
- CreateAutoScalingGroupInput.AutoScalingGroupName | ||
- DeleteAutoScalingGroupInput.AutoScalingGroupName | ||
resource_names: | ||
- LaunchConfiguration | ||
resources: | ||
AutoScalingGroup: | ||
fields: | ||
AutoScalingGroupARN: | ||
is_read_only: true | ||
from: | ||
operation: DescribeAutoScalingGroups | ||
path: AutoScalingGroups.AutoScalingGroupARN | ||
AutoScalingGroupName: | ||
is_read_only: true | ||
from: | ||
operation: DescribeAutoScalingGroups | ||
path: AutoScalingGroups.AutoScalingGroupName | ||
AvailabilityZones: | ||
is_read_only: true | ||
from: | ||
operation: DescribeAutoScalingGroups | ||
path: AutoScalingGroups.AvailabilityZones | ||
CapacityRebalance: | ||
is_read_only: true | ||
from: | ||
operation: DescribeAutoScalingGroups | ||
path: AutoScalingGroups.CapacityRebalance | ||
# Add this field when there is a solution for https://github.com/aws-controllers-k8s/community/issues/1372 | ||
# CreatedTime: | ||
# compare: | ||
# is_ignored: true | ||
# is_read_only: true | ||
# from: | ||
# operation: DescribeAutoScalingGroups | ||
# path: AutoScalingGroups.CreatedTime | ||
DefaultCooldown: | ||
is_read_only: true | ||
from: | ||
operation: DescribeAutoScalingGroups | ||
path: AutoScalingGroups.DefaultCooldown | ||
DefaultInstanceWarmup: | ||
is_read_only: true | ||
from: | ||
operation: DescribeAutoScalingGroups | ||
path: AutoScalingGroups.DefaultInstanceWarmup | ||
DesiredCapacity: | ||
is_read_only: true | ||
from: | ||
operation: DescribeAutoScalingGroups | ||
path: AutoScalingGroups.DesiredCapacity | ||
DesiredCapacityType: | ||
is_read_only: true | ||
from: | ||
operation: DescribeAutoScalingGroups | ||
path: AutoScalingGroups.CreatedTime | ||
|
||
EnabledMetrics: | ||
is_read_only: true | ||
from: | ||
operation: DescribeAutoScalingGroups | ||
path: AutoScalingGroups.EnabledMetrics | ||
HealthCheckGracePeriod: | ||
is_read_only: true | ||
from: | ||
operation: DescribeAutoScalingGroups | ||
path: AutoScalingGroups.HealthCheckGracePeriod | ||
HealthCheckType: | ||
is_read_only: true | ||
from: | ||
operation: DescribeAutoScalingGroups | ||
path: AutoScalingGroups.HealthCheckType | ||
Instances: | ||
is_read_only: true | ||
from: | ||
operation: DescribeAutoScalingGroups | ||
path: AutoScalingGroups.Instances | ||
LaunchConfigurationName: | ||
is_read_only: true | ||
from: | ||
operation: DescribeAutoScalingGroups | ||
path: AutoScalingGroups.LaunchConfigurationName | ||
LaunchTemplate: | ||
is_read_only: true | ||
from: | ||
operation: DescribeAutoScalingGroups | ||
path: AutoScalingGroups.LaunchTemplate | ||
LoadBalancerNames: | ||
is_read_only: true | ||
from: | ||
operation: DescribeAutoScalingGroups | ||
path: AutoScalingGroups.LoadBalancerNames | ||
MaxInstanceLifetime: | ||
is_read_only: true | ||
from: | ||
operation: DescribeAutoScalingGroups | ||
path: AutoScalingGroups.MaxInstanceLifetime | ||
MaxSize: | ||
is_read_only: true | ||
from: | ||
operation: DescribeAutoScalingGroups | ||
path: AutoScalingGroups.MaxSize | ||
MinSize: | ||
is_read_only: true | ||
from: | ||
operation: DescribeAutoScalingGroups | ||
path: AutoScalingGroups.MinSize | ||
MixedInstancesPolicy: | ||
is_read_only: true | ||
from: | ||
operation: DescribeAutoScalingGroups | ||
path: AutoScalingGroups.MixedInstancesPolicy | ||
NewInstancesProtectedFromScaleIn: | ||
is_read_only: true | ||
from: | ||
operation: DescribeAutoScalingGroups | ||
path: AutoScalingGroups.NewInstancesProtectedFromScaleIn | ||
PlacementGroup: | ||
is_read_only: true | ||
from: | ||
operation: DescribeAutoScalingGroups | ||
path: AutoScalingGroups.PlacementGroup | ||
PredictedCapacity: | ||
is_read_only: true | ||
from: | ||
operation: DescribeAutoScalingGroups | ||
path: AutoScalingGroups.PredictedCapacity | ||
ServiceLinkedRoleARN: | ||
is_read_only: true | ||
from: | ||
operation: DescribeAutoScalingGroups | ||
path: AutoScalingGroups.ServiceLinkedRoleARN | ||
Status: | ||
is_read_only: true | ||
from: | ||
operation: DescribeAutoScalingGroups | ||
path: AutoScalingGroups.Status | ||
SuspendedProcesses: | ||
is_read_only: true | ||
from: | ||
operation: DescribeAutoScalingGroups | ||
path: AutoScalingGroups.SuspendedProcesses | ||
Tags: | ||
is_read_only: true | ||
from: | ||
operation: DescribeAutoScalingGroups | ||
path: AutoScalingGroups.Tags | ||
TargetGroupARNs: | ||
is_read_only: true | ||
from: | ||
operation: DescribeAutoScalingGroups | ||
path: AutoScalingGroups.TargetGroupARNs | ||
TerminationPolicies: | ||
is_read_only: true | ||
from: | ||
operation: DescribeAutoScalingGroups | ||
path: AutoScalingGroups.TerminationPolicies | ||
TrafficSources: | ||
is_read_only: true | ||
from: | ||
operation: DescribeAutoScalingGroups | ||
path: AutoScalingGroups.TrafficSources | ||
VPCZoneIdentifier: | ||
is_read_only: true | ||
from: | ||
operation: DescribeAutoScalingGroups | ||
path: AutoScalingGroups.VPCZoneIdentifier | ||
WarmPoolConfiguration: | ||
is_read_only: true | ||
from: | ||
operation: DescribeAutoScalingGroups | ||
path: AutoScalingGroups.WarmPoolConfiguration | ||
WarmPoolSize: | ||
is_read_only: true | ||
from: | ||
operation: DescribeAutoScalingGroups | ||
path: AutoScalingGroups.WarmPoolSize |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
package v1alpha1 | ||
|
||
// CustomAutoScalingGroupParameters includes the custom fields of AutoScalingGroup. | ||
type CustomAutoScalingGroupParameters struct{} |
Oops, something went wrong.