scheduledaction

package
v0.0.0-...-1f78e34 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Resource

type Resource struct {

	// The name of the Auto Scaling group.
	AutoScalingGroupName string `json:"AutoScalingGroupName"`

	// The desired capacity is the initial capacity of the Auto Scaling group after the scheduled action runs and the capacity it attempts to maintain.
	DesiredCapacity int `json:"DesiredCapacity,omitempty"`

	// The latest scheduled start time to return. If scheduled action names are provided, this parameter is ignored.
	EndTime string `json:"EndTime,omitempty"`

	// The minimum size of the Auto Scaling group.
	MaxSize int `json:"MaxSize,omitempty"`

	// The minimum size of the Auto Scaling group.
	MinSize int `json:"MinSize,omitempty"`

	// The recurring schedule for the action, in Unix cron syntax format. When StartTime and EndTime are specified with Recurrence , they form the boundaries of when the recurring action starts and stops.
	Recurrence string `json:"Recurrence,omitempty"`

	// Auto-generated unique identifier
	ScheduledActionName string `json:"ScheduledActionName,omitempty"`

	// The earliest scheduled start time to return. If scheduled action names are provided, this parameter is ignored.
	StartTime string `json:"StartTime,omitempty"`

	// The time zone for the cron expression.
	TimeZone string `json:"TimeZone,omitempty"`
}

Resource The AWS::AutoScaling::ScheduledAction resource specifies an Amazon EC2 Auto Scaling scheduled action so that the Auto Scaling group can change the number of instances available for your application in response to predictable load changes.

func (*Resource) MarshalJSON

func (strct *Resource) MarshalJSON() ([]byte, error)

func (*Resource) UnmarshalJSON

func (strct *Resource) UnmarshalJSON(b []byte) error

Jump to

Keyboard shortcuts

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