auto_scaling

package
v5.2.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2018 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

* (c) 2016-2018 Adobe. All rights reserved. * This file is licensed to you under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. You may obtain a copy * of the License at http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software distributed under * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS * OF ANY KIND, either express or implied. See the License for the specific language * governing permissions and limitations under the License.

* (c) 2016-2018 Adobe. All rights reserved. * This file is licensed to you under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. You may obtain a copy * of the License at http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software distributed under * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS * OF ANY KIND, either express or implied. See the License for the specific language * governing permissions and limitations under the License.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AutoScalingGroup

type AutoScalingGroup struct {
	cfn.Resource

	Properties struct {
		AvailabilityZones          interface{}                 `json:"AvailabilityZones,omitempty"`
		Cooldown                   string                      `json:"Cooldown,omitempty"`
		DesiredCapacity            string                      `json:"DesiredCapacity,omitempty"`
		HealthCheckGracePeriod     int                         `json:"HealthCheckGracePeriod,omitempty"`
		HealthCheckType            string                      `json:"HealthCheckType,omitempty"`
		InstanceId                 string                      `json:"InstanceId,omitempty"`
		LaunchConfigurationName    interface{}                 `json:"LaunchConfigurationName,omitempty"`
		LoadBalancerNames          []string                    `json:"LoadBalancerNames,omitempty"`
		MaxSize                    string                      `json:"MaxSize,omitempty"`
		MetricsCollection          []MetricsCollection         `json:"MetricsCollection,omitempty"`
		MinSize                    string                      `json:"MinSize,omitempty"`
		NotificationConfigurations []NotificationConfiguration `json:"NotificationConfigurations,omitempty"`
		PlacementGroup             string                      `json:"PlacementGroup,omitempty"`
		Tags                       []AutoScalingTag            `json:"Tags,omitempty"`
		TerminationPolicies        []string                    `json:"TerminationPolicies,omitempty"`
		VPCZoneIdentifier          []string                    `json:"VPCZoneIdentifier,omitempty"`
	} `json:"Properties,omitempty"`
}

func NewAutoScalingGroup

func NewAutoScalingGroup() AutoScalingGroup

type AutoScalingTag

type AutoScalingTag struct {
	Key               string `json:"Key,omitempty"`
	Value             string `json:"Value,omitempty"`
	PropagateAtLaunch bool   `json:"PropagateAtLaunch,omitempty"`
}

type LaunchConfiguration

type LaunchConfiguration struct {
	cfn.Resource

	Properties struct {
		AssociatePublicIpAddress bool `json:"AssociatePublicIpAddress,omitempty"`
		BlockDeviceMappings      []struct {
			DeviceName string `json:"DeviceName,omitempty"`
			Ebs        struct {
				DeleteOnTermination bool   `json:"DeleteOnTermination,omitempty"`
				Iops                int    `json:"Iops,omitempty"`
				SnapshotId          string `json:"SnapshotId,omitempty"`
				VolumeSize          int    `json:"VolumeSize,omitempty"`
				VolumeType          string `json:"VolumeType,omitempty"`
			} `json:"Ebs,omitempty"`
			NoDevice    bool   `json:"NoDevice,omitempty"`
			VirtualName string `json:"VirtualName,omitempty"`
		} `json:"BlockDeviceMappings,omitempty"`
		ClassicLinkVPCId             string        `json:"ClassicLinkVPCId,omitempty"`
		ClassicLinkVPCSecurityGroups []string      `json:"ClassicLinkVPCSecurityGroups,omitempty"`
		EbsOptimized                 bool          `json:"EbsOptimized,omitempty"`
		IamInstanceProfile           string        `json:"IamInstanceProfile,omitempty"`
		ImageId                      string        `json:"ImageId,omitempty"`
		InstanceId                   string        `json:"InstanceId,omitempty"`
		InstanceMonitoring           bool          `json:"InstanceMonitoring,omitempty"`
		InstanceType                 string        `json:"InstanceType,omitempty"`
		KernelId                     string        `json:"KernelId,omitempty"`
		KeyName                      string        `json:"KeyName,omitempty"`
		PlacementTenancy             string        `json:"PlacementTenancy,omitempty"`
		RamDiskId                    string        `json:"RamDiskId,omitempty"`
		SecurityGroups               []interface{} `json:"SecurityGroups,omitempty"`
		SpotPrice                    string        `json:"SpotPrice,omitempty"`
		UserData                     string        `json:"UserData,omitempty"`
	} `json:"Properties,omitempty"`
}

func NewLaunchConfiguration

func NewLaunchConfiguration() LaunchConfiguration

type MetricsCollection

type MetricsCollection struct {
	Granularity string   `json:"Granularity,omitempty"`
	Metrics     []string `json:"Metrics,omitempty"`
}

type NotificationConfiguration

type NotificationConfiguration struct {
	NotificationTypes []string `json:"NotificationTypes,omitempty"`
	TopicARN          string   `json:"TopicARN,omitempty"`
}

Jump to

Keyboard shortcuts

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