aws

package
v1.101.0 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2021 License: Apache-2.0 Imports: 11 Imported by: 78

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ProductName = map[Product]string{
	ProductWindows:      "Windows",
	ProductWindowsVPC:   "Windows (Amazon VPC)",
	ProductLinuxUnix:    "Linux/UNIX",
	ProductLinuxUnixVPC: "Linux/UNIX (Amazon VPC)",
	ProductSUSELinux:    "SUSE Linux",
	ProductSUSELinuxVPC: "SUSE Linux (Amazon VPC)",
}
View Source
var ProductValue = map[string]Product{
	"Windows":                 ProductWindows,
	"Windows (Amazon VPC)":    ProductWindowsVPC,
	"Linux/UNIX":              ProductLinuxUnix,
	"Linux/UNIX (Amazon VPC)": ProductLinuxUnixVPC,
	"SUSE Linux":              ProductSUSELinux,
	"SUSE Linux (Amazon VPC)": ProductSUSELinuxVPC,
}

Functions

This section is empty.

Types

type AMIs added in v1.96.0

type AMIs struct {
	ShouldTag *bool `json:"shouldTag,omitempty"`
	// contains filtered or unexported fields
}

func (AMIs) MarshalJSON added in v1.96.0

func (o AMIs) MarshalJSON() ([]byte, error)

func (*AMIs) SetShouldTag added in v1.96.0

func (o *AMIs) SetShouldTag(v *bool) *AMIs

type Action

type Action struct {
	Type              *string `json:"type,omitempty"`
	Adjustment        *string `json:"adjustment,omitempty"`
	MinTargetCapacity *string `json:"minTargetCapacity,omitempty"`
	MaxTargetCapacity *string `json:"maxTargetCapacity,omitempty"`
	Maximum           *string `json:"maximum,omitempty"`
	Minimum           *string `json:"minimum,omitempty"`
	Target            *string `json:"target,omitempty"`
	// contains filtered or unexported fields
}

func (Action) MarshalJSON

func (o Action) MarshalJSON() ([]byte, error)

func (*Action) SetAdjustment

func (o *Action) SetAdjustment(v *string) *Action

func (*Action) SetMaxTargetCapacity

func (o *Action) SetMaxTargetCapacity(v *string) *Action

func (*Action) SetMaximum

func (o *Action) SetMaximum(v *string) *Action

func (*Action) SetMinTargetCapacity

func (o *Action) SetMinTargetCapacity(v *string) *Action

func (*Action) SetMinimum

func (o *Action) SetMinimum(v *string) *Action

func (*Action) SetTarget

func (o *Action) SetTarget(v *string) *Action

func (*Action) SetType

func (o *Action) SetType(v *string) *Action

type AutoScale

type AutoScale struct {
	IsEnabled    *bool              `json:"isEnabled,omitempty"`
	IsAutoConfig *bool              `json:"isAutoConfig,omitempty"`
	Cooldown     *int               `json:"cooldown,omitempty"`
	Headroom     *AutoScaleHeadroom `json:"headroom,omitempty"`
	Down         *AutoScaleDown     `json:"down,omitempty"`
	// contains filtered or unexported fields
}

func (AutoScale) MarshalJSON

func (o AutoScale) MarshalJSON() ([]byte, error)

func (*AutoScale) SetCooldown

func (o *AutoScale) SetCooldown(v *int) *AutoScale

func (*AutoScale) SetDown

func (o *AutoScale) SetDown(v *AutoScaleDown) *AutoScale

func (*AutoScale) SetHeadroom

func (o *AutoScale) SetHeadroom(v *AutoScaleHeadroom) *AutoScale

func (*AutoScale) SetIsAutoConfig

func (o *AutoScale) SetIsAutoConfig(v *bool) *AutoScale

func (*AutoScale) SetIsEnabled

func (o *AutoScale) SetIsEnabled(v *bool) *AutoScale

type AutoScaleAttributes

type AutoScaleAttributes struct {
	Key   *string `json:"key,omitempty"`
	Value *string `json:"value,omitempty"`
	// contains filtered or unexported fields
}

type AutoScaleConstraint

type AutoScaleConstraint struct {
	Key   *string `json:"key,omitempty"`
	Value *string `json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (AutoScaleConstraint) MarshalJSON

func (o AutoScaleConstraint) MarshalJSON() ([]byte, error)

func (*AutoScaleConstraint) SetKey

func (*AutoScaleConstraint) SetValue

type AutoScaleDockerSwarm

type AutoScaleDockerSwarm struct {
	AutoScale
	// contains filtered or unexported fields
}

func (AutoScaleDockerSwarm) MarshalJSON

func (o AutoScaleDockerSwarm) MarshalJSON() ([]byte, error)

type AutoScaleDown

type AutoScaleDown struct {
	EvaluationPeriods      *int     `json:"evaluationPeriods,omitempty"`
	MaxScaleDownPercentage *float64 `json:"maxScaleDownPercentage,omitempty"`
	// contains filtered or unexported fields
}

func (AutoScaleDown) MarshalJSON

func (o AutoScaleDown) MarshalJSON() ([]byte, error)

func (*AutoScaleDown) SetEvaluationPeriods

func (o *AutoScaleDown) SetEvaluationPeriods(v *int) *AutoScaleDown

func (*AutoScaleDown) SetMaxScaleDownPercentage

func (o *AutoScaleDown) SetMaxScaleDownPercentage(v *float64) *AutoScaleDown

type AutoScaleECS

type AutoScaleECS struct {
	AutoScale
	Attributes                     []*AutoScaleAttributes `json:"attributes,omitempty"`
	ShouldScaleDownNonServiceTasks *bool                  `json:"shouldScaleDownNonServiceTasks,omitempty"`
	// contains filtered or unexported fields
}

func (AutoScaleECS) MarshalJSON

func (o AutoScaleECS) MarshalJSON() ([]byte, error)

func (*AutoScaleECS) SetAttributes

func (o *AutoScaleECS) SetAttributes(v []*AutoScaleAttributes) *AutoScaleECS

func (*AutoScaleECS) SetShouldScaleDownNonServiceTasks

func (o *AutoScaleECS) SetShouldScaleDownNonServiceTasks(v *bool) *AutoScaleECS

type AutoScaleHeadroom

type AutoScaleHeadroom struct {
	CPUPerUnit    *int `json:"cpuPerUnit,omitempty"`
	GPUPerUnit    *int `json:"gpuPerUnit,omitempty"`
	MemoryPerUnit *int `json:"memoryPerUnit,omitempty"`
	NumOfUnits    *int `json:"numOfUnits,omitempty"`
	// contains filtered or unexported fields
}

func (AutoScaleHeadroom) MarshalJSON

func (o AutoScaleHeadroom) MarshalJSON() ([]byte, error)

func (*AutoScaleHeadroom) SetCPUPerUnit

func (o *AutoScaleHeadroom) SetCPUPerUnit(v *int) *AutoScaleHeadroom

func (*AutoScaleHeadroom) SetGPUPerUnit

func (o *AutoScaleHeadroom) SetGPUPerUnit(v *int) *AutoScaleHeadroom

func (*AutoScaleHeadroom) SetMemoryPerUnit

func (o *AutoScaleHeadroom) SetMemoryPerUnit(v *int) *AutoScaleHeadroom

func (*AutoScaleHeadroom) SetNumOfUnits

func (o *AutoScaleHeadroom) SetNumOfUnits(v *int) *AutoScaleHeadroom

type AutoScaleKubernetes

type AutoScaleKubernetes struct {
	AutoScale
	Labels []*AutoScaleLabel `json:"labels,omitempty"`
	// contains filtered or unexported fields
}

func (AutoScaleKubernetes) MarshalJSON

func (o AutoScaleKubernetes) MarshalJSON() ([]byte, error)

func (*AutoScaleKubernetes) SetLabels

type AutoScaleLabel

type AutoScaleLabel struct {
	Key   *string `json:"key,omitempty"`
	Value *string `json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (AutoScaleLabel) MarshalJSON

func (o AutoScaleLabel) MarshalJSON() ([]byte, error)

func (*AutoScaleLabel) SetKey

func (o *AutoScaleLabel) SetKey(v *string) *AutoScaleLabel

func (*AutoScaleLabel) SetValue

func (o *AutoScaleLabel) SetValue(v *string) *AutoScaleLabel

type AutoScaleNomad

type AutoScaleNomad struct {
	AutoScale
	Constraints []*AutoScaleConstraint `json:"constraints,omitempty"`
	// contains filtered or unexported fields
}

func (AutoScaleNomad) MarshalJSON

func (o AutoScaleNomad) MarshalJSON() ([]byte, error)

func (*AutoScaleNomad) SetConstraints

func (o *AutoScaleNomad) SetConstraints(v []*AutoScaleConstraint) *AutoScaleNomad

type AvailabilityZone

type AvailabilityZone struct {
	Name               *string `json:"name,omitempty"`
	SubnetID           *string `json:"subnetId,omitempty"`
	PlacementGroupName *string `json:"placementGroupName,omitempty"`
	// contains filtered or unexported fields
}

func (AvailabilityZone) MarshalJSON

func (o AvailabilityZone) MarshalJSON() ([]byte, error)

func (*AvailabilityZone) SetName

func (o *AvailabilityZone) SetName(v *string) *AvailabilityZone

func (*AvailabilityZone) SetPlacementGroupName

func (o *AvailabilityZone) SetPlacementGroupName(v *string) *AvailabilityZone

func (*AvailabilityZone) SetSubnetId

func (o *AvailabilityZone) SetSubnetId(v *string) *AvailabilityZone

type Batch added in v1.62.0

type Batch struct {
	JobQueueNames []string `json:"jobQueueNames,omitempty"`
	// contains filtered or unexported fields
}

func (Batch) MarshalJSON added in v1.62.0

func (o Batch) MarshalJSON() ([]byte, error)

func (*Batch) SetJobQueueNames added in v1.62.0

func (o *Batch) SetJobQueueNames(v []string) *Batch

type BeanstalkDeploymentPreferences

type BeanstalkDeploymentPreferences struct {
	AutomaticRoll       *bool                        `json:"automaticRoll,omitempty"`
	BatchSizePercentage *int                         `json:"batchSizePercentage,omitempty"`
	GracePeriod         *int                         `json:"gracePeriod,omitempty"`
	Strategy            *BeanstalkDeploymentStrategy `json:"strategy,omitempty"`
	// contains filtered or unexported fields
}

func (BeanstalkDeploymentPreferences) MarshalJSON

func (o BeanstalkDeploymentPreferences) MarshalJSON() ([]byte, error)

func (*BeanstalkDeploymentPreferences) SetAutomaticRoll

func (*BeanstalkDeploymentPreferences) SetBatchSizePercentage

func (o *BeanstalkDeploymentPreferences) SetBatchSizePercentage(v *int) *BeanstalkDeploymentPreferences

func (*BeanstalkDeploymentPreferences) SetGracePeriod

func (*BeanstalkDeploymentPreferences) SetStrategy

type BeanstalkDeploymentStrategy

type BeanstalkDeploymentStrategy struct {
	Action               *string `json:"action,omitempty"`
	ShouldDrainInstances *bool   `json:"shouldDrainInstances,omitempty"`
	// contains filtered or unexported fields
}

func (BeanstalkDeploymentStrategy) MarshalJSON

func (o BeanstalkDeploymentStrategy) MarshalJSON() ([]byte, error)

func (*BeanstalkDeploymentStrategy) SetAction

func (*BeanstalkDeploymentStrategy) SetShouldDrainInstances

func (o *BeanstalkDeploymentStrategy) SetShouldDrainInstances(v *bool) *BeanstalkDeploymentStrategy

type BeanstalkMaintenanceInput

type BeanstalkMaintenanceInput struct {
	GroupID *string `json:"groupId,omitempty"`
}

type BeanstalkMaintenanceItem

type BeanstalkMaintenanceItem struct {
	Status *string `json:"status,omitempty"`
}

type BeanstalkMaintenanceOutput

type BeanstalkMaintenanceOutput struct {
	Items  []*BeanstalkMaintenanceItem `json:"items,omitempty"`
	Status *string                     `json:"status,omitempty"`
}

type BeanstalkManagedActions

type BeanstalkManagedActions struct {
	PlatformUpdate *BeanstalkPlatformUpdate `json:"platformUpdate,omitempty"`
	// contains filtered or unexported fields
}

func (BeanstalkManagedActions) MarshalJSON

func (o BeanstalkManagedActions) MarshalJSON() ([]byte, error)

func (*BeanstalkManagedActions) SetPlatformUpdate

type BeanstalkPlatformUpdate

type BeanstalkPlatformUpdate struct {
	PerformAt   *string `json:"performAt,omitempty"`
	TimeWindow  *string `json:"timeWindow,omitempty"`
	UpdateLevel *string `json:"updateLevel,omitempty"`
	// contains filtered or unexported fields
}

func (BeanstalkPlatformUpdate) MarshalJSON

func (o BeanstalkPlatformUpdate) MarshalJSON() ([]byte, error)

func (*BeanstalkPlatformUpdate) SetPerformAt

func (*BeanstalkPlatformUpdate) SetTimeWindow

func (*BeanstalkPlatformUpdate) SetUpdateLevel

type BlockDeviceMapping

type BlockDeviceMapping struct {
	DeviceName  *string `json:"deviceName,omitempty"`
	VirtualName *string `json:"virtualName,omitempty"`
	EBS         *EBS    `json:"ebs,omitempty"`
	// contains filtered or unexported fields
}

func (BlockDeviceMapping) MarshalJSON

func (o BlockDeviceMapping) MarshalJSON() ([]byte, error)

func (*BlockDeviceMapping) SetDeviceName

func (o *BlockDeviceMapping) SetDeviceName(v *string) *BlockDeviceMapping

func (*BlockDeviceMapping) SetEBS

func (o *BlockDeviceMapping) SetEBS(v *EBS) *BlockDeviceMapping

func (*BlockDeviceMapping) SetVirtualName

func (o *BlockDeviceMapping) SetVirtualName(v *string) *BlockDeviceMapping

type CPUOptions added in v1.79.0

type CPUOptions struct {
	ThreadsPerCore *int `json:"threadsPerCore,omitempty"`
	// contains filtered or unexported fields
}

func (CPUOptions) MarshalJSON added in v1.79.1

func (o CPUOptions) MarshalJSON() ([]byte, error)

func (*CPUOptions) SetThreadsPerCore added in v1.79.1

func (o *CPUOptions) SetThreadsPerCore(v *int) *CPUOptions

type Capacity

type Capacity struct {
	Minimum *int    `json:"minimum,omitempty"`
	Maximum *int    `json:"maximum,omitempty"`
	Target  *int    `json:"target,omitempty"`
	Unit    *string `json:"unit,omitempty"`
	// contains filtered or unexported fields
}

func (Capacity) MarshalJSON

func (o Capacity) MarshalJSON() ([]byte, error)

func (*Capacity) SetMaximum

func (o *Capacity) SetMaximum(v *int) *Capacity

func (*Capacity) SetMinimum

func (o *Capacity) SetMinimum(v *int) *Capacity

func (*Capacity) SetTarget

func (o *Capacity) SetTarget(v *int) *Capacity

func (*Capacity) SetUnit

func (o *Capacity) SetUnit(v *string) *Capacity

type ChefIntegration

type ChefIntegration struct {
	Server       *string `json:"chefServer,omitempty"`
	Organization *string `json:"organization,omitempty"`
	User         *string `json:"user,omitempty"`
	PEMKey       *string `json:"pemKey,omitempty"`
	Version      *string `json:"chefVersion,omitempty"`
	// contains filtered or unexported fields
}

func (ChefIntegration) MarshalJSON

func (o ChefIntegration) MarshalJSON() ([]byte, error)

func (*ChefIntegration) SetOrganization

func (o *ChefIntegration) SetOrganization(v *string) *ChefIntegration

func (*ChefIntegration) SetPEMKey

func (o *ChefIntegration) SetPEMKey(v *string) *ChefIntegration

func (*ChefIntegration) SetServer

func (o *ChefIntegration) SetServer(v *string) *ChefIntegration

func (*ChefIntegration) SetUser

func (o *ChefIntegration) SetUser(v *string) *ChefIntegration

func (*ChefIntegration) SetVersion

func (o *ChefIntegration) SetVersion(v *string) *ChefIntegration

type CodeDeployIntegration

type CodeDeployIntegration struct {
	DeploymentGroups           []*DeploymentGroup `json:"deploymentGroups,omitempty"`
	CleanUpOnFailure           *bool              `json:"cleanUpOnFailure,omitempty"`
	TerminateInstanceOnFailure *bool              `json:"terminateInstanceOnFailure,omitempty"`
	// contains filtered or unexported fields
}

func (CodeDeployIntegration) MarshalJSON

func (o CodeDeployIntegration) MarshalJSON() ([]byte, error)

func (*CodeDeployIntegration) SetCleanUpOnFailure

func (o *CodeDeployIntegration) SetCleanUpOnFailure(v *bool) *CodeDeployIntegration

func (*CodeDeployIntegration) SetDeploymentGroups

func (o *CodeDeployIntegration) SetDeploymentGroups(v []*DeploymentGroup) *CodeDeployIntegration

func (*CodeDeployIntegration) SetTerminateInstanceOnFailure

func (o *CodeDeployIntegration) SetTerminateInstanceOnFailure(v *bool) *CodeDeployIntegration

type Compute

type Compute struct {
	Product                    *string              `json:"product,omitempty"`
	InstanceTypes              *InstanceTypes       `json:"instanceTypes,omitempty"`
	LaunchSpecification        *LaunchSpecification `json:"launchSpecification,omitempty"`
	AvailabilityZones          []*AvailabilityZone  `json:"availabilityZones,omitempty"`
	PreferredAvailabilityZones []string             `json:"preferredAvailabilityZones,omitempty"`
	ElasticIPs                 []string             `json:"elasticIps,omitempty"`
	EBSVolumePool              []*EBSVolume         `json:"ebsVolumePool,omitempty"`
	PrivateIPs                 []string             `json:"privateIps,omitempty"`
	SubnetIDs                  []string             `json:"subnetIds,omitempty"`
	// contains filtered or unexported fields
}

func (Compute) MarshalJSON

func (o Compute) MarshalJSON() ([]byte, error)

func (*Compute) SetAvailabilityZones

func (o *Compute) SetAvailabilityZones(v []*AvailabilityZone) *Compute

func (*Compute) SetEBSVolumePool

func (o *Compute) SetEBSVolumePool(v []*EBSVolume) *Compute

func (*Compute) SetElasticIPs

func (o *Compute) SetElasticIPs(v []string) *Compute

func (*Compute) SetInstanceTypes

func (o *Compute) SetInstanceTypes(v *InstanceTypes) *Compute

func (*Compute) SetLaunchSpecification

func (o *Compute) SetLaunchSpecification(v *LaunchSpecification) *Compute

func (*Compute) SetPreferredAvailabilityZones

func (o *Compute) SetPreferredAvailabilityZones(v []string) *Compute

func (*Compute) SetPrivateIPs

func (o *Compute) SetPrivateIPs(v []string) *Compute

func (*Compute) SetProduct

func (o *Compute) SetProduct(v *string) *Compute

func (*Compute) SetSubnetIDs

func (o *Compute) SetSubnetIDs(v []string) *Compute

type CreateGroupInput

type CreateGroupInput struct {
	Group *Group `json:"group,omitempty"`
}

type CreateGroupOutput

type CreateGroupOutput struct {
	Group *Group `json:"group,omitempty"`
}

type CreateSuspensionsInput added in v1.61.0

type CreateSuspensionsInput struct {
	GroupID     *string       `json:"groupId,omitempty"`
	Suspensions []*Suspension `json:"suspensions,omitempty"`
}

type CreateSuspensionsOutput added in v1.61.0

type CreateSuspensionsOutput struct {
	SuspendProcesses *SuspendProcesses `json:"suspendProcesses,omitempty"`
}

type CreditSpecification

type CreditSpecification struct {
	CPUCredits *string `json:"cpuCredits,omitempty"`
	// contains filtered or unexported fields
}

func (CreditSpecification) MarshalJSON

func (o CreditSpecification) MarshalJSON() ([]byte, error)

func (*CreditSpecification) SetCPUCredits

func (o *CreditSpecification) SetCPUCredits(v *string) *CreditSpecification

type DeallocateStatefulInstanceInput added in v1.82.0

type DeallocateStatefulInstanceInput struct {
	GroupID            *string `json:"groupId,omitempty"`
	StatefulInstanceID *string `json:"statefulInstanceId,omitempty"`
}

type DeallocateStatefulInstanceOutput added in v1.82.0

type DeallocateStatefulInstanceOutput struct{}

type DeleteGroupInput

type DeleteGroupInput struct {
	GroupID              *string               `json:"groupId,omitempty"`
	StatefulDeallocation *StatefulDeallocation `json:"statefulDeallocation,omitempty"`
}

type DeleteGroupOutput

type DeleteGroupOutput struct{}

type DeleteSuspensionsInput added in v1.61.0

type DeleteSuspensionsInput struct {
	GroupID   *string  `json:"groupId,omitempty"`
	Processes []string `json:"processes,omitempty"`
}

type DeleteSuspensionsOutput added in v1.61.0

type DeleteSuspensionsOutput struct{}

type DeploymentGroup

type DeploymentGroup struct {
	ApplicationName     *string `json:"applicationName,omitempty"`
	DeploymentGroupName *string `json:"deploymentGroupName,omitempty"`
	// contains filtered or unexported fields
}

func (DeploymentGroup) MarshalJSON

func (o DeploymentGroup) MarshalJSON() ([]byte, error)

func (*DeploymentGroup) SetApplicationName

func (o *DeploymentGroup) SetApplicationName(v *string) *DeploymentGroup

func (*DeploymentGroup) SetDeploymentGroupName

func (o *DeploymentGroup) SetDeploymentGroupName(v *string) *DeploymentGroup

type DeploymentStatusInput

type DeploymentStatusInput struct {
	GroupID *string `json:"groupId,omitempty"`
	RollID  *string `json:"id,omitempty"`
}

type DetachGroupInput

type DetachGroupInput struct {
	GroupID                       *string  `json:"groupId,omitempty"`
	InstanceIDs                   []string `json:"instancesToDetach,omitempty"`
	ShouldDecrementTargetCapacity *bool    `json:"shouldDecrementTargetCapacity,omitempty"`
	ShouldTerminateInstances      *bool    `json:"shouldTerminateInstances,omitempty"`
	DrainingTimeout               *int     `json:"drainingTimeout,omitempty"`
}

type DetachGroupOutput

type DetachGroupOutput struct{}

type Device added in v1.82.0

type Device struct {
	DeviceName *string `json:"deviceName,omitempty"`
	VolumeID   *string `json:"volumeId,omitempty"`
	SnapshotID *string `json:"snapshotId,omitempty"`
	// contains filtered or unexported fields
}

func (Device) MarshalJSON added in v1.82.0

func (o Device) MarshalJSON() ([]byte, error)

func (*Device) SetDeviceName added in v1.82.0

func (o *Device) SetDeviceName(v *string) *Device

func (*Device) SetSnapshotID added in v1.82.0

func (o *Device) SetSnapshotID(v *string) *Device

func (*Device) SetVolumeID added in v1.82.0

func (o *Device) SetVolumeID(v *string) *Device

type Dimension

type Dimension struct {
	Name  *string `json:"name,omitempty"`
	Value *string `json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (Dimension) MarshalJSON

func (o Dimension) MarshalJSON() ([]byte, error)

func (*Dimension) SetName

func (o *Dimension) SetName(v *string) *Dimension

func (*Dimension) SetValue

func (o *Dimension) SetValue(v *string) *Dimension

type DockerSwarmIntegration

type DockerSwarmIntegration struct {
	MasterHost *string               `json:"masterHost,omitempty"`
	MasterPort *int                  `json:"masterPort,omitempty"`
	AutoScale  *AutoScaleDockerSwarm `json:"autoScale,omitempty"`
	// contains filtered or unexported fields
}

func (DockerSwarmIntegration) MarshalJSON

func (o DockerSwarmIntegration) MarshalJSON() ([]byte, error)

func (*DockerSwarmIntegration) SetAutoScale

func (*DockerSwarmIntegration) SetMasterHost

func (*DockerSwarmIntegration) SetMasterPort

func (o *DockerSwarmIntegration) SetMasterPort(v *int) *DockerSwarmIntegration

type Domain

type Domain struct {
	HostedZoneID      *string      `json:"hostedZoneId,omitempty"`
	SpotinstAccountID *string      `json:"spotinstAccountId,omitempty"`
	RecordSetType     *string      `json:"recordSetType,omitempty"`
	RecordSets        []*RecordSet `json:"recordSets,omitempty"`
	// contains filtered or unexported fields
}

func (Domain) MarshalJSON

func (o Domain) MarshalJSON() ([]byte, error)

func (*Domain) SetHostedZoneID

func (o *Domain) SetHostedZoneID(v *string) *Domain

func (*Domain) SetRecordSetType added in v1.57.0

func (o *Domain) SetRecordSetType(v *string) *Domain

func (*Domain) SetRecordSets

func (o *Domain) SetRecordSets(v []*RecordSet) *Domain

func (*Domain) SetSpotinstAccountID

func (o *Domain) SetSpotinstAccountID(v *string) *Domain

type EBS

type EBS struct {
	DeleteOnTermination *bool   `json:"deleteOnTermination,omitempty"`
	Encrypted           *bool   `json:"encrypted,omitempty"`
	KmsKeyId            *string `json:"kmsKeyId,omitempty"`
	SnapshotID          *string `json:"snapshotId,omitempty"`
	VolumeType          *string `json:"volumeType,omitempty"`
	VolumeSize          *int    `json:"volumeSize,omitempty"`
	IOPS                *int    `json:"iops,omitempty"`
	Throughput          *int    `json:"throughput,omitempty"`
	// contains filtered or unexported fields
}

func (EBS) MarshalJSON

func (o EBS) MarshalJSON() ([]byte, error)

func (*EBS) SetDeleteOnTermination

func (o *EBS) SetDeleteOnTermination(v *bool) *EBS

func (*EBS) SetEncrypted

func (o *EBS) SetEncrypted(v *bool) *EBS

func (*EBS) SetIOPS

func (o *EBS) SetIOPS(v *int) *EBS

func (*EBS) SetKmsKeyId

func (o *EBS) SetKmsKeyId(v *string) *EBS

func (*EBS) SetSnapshotId

func (o *EBS) SetSnapshotId(v *string) *EBS

func (*EBS) SetThroughput added in v1.72.0

func (o *EBS) SetThroughput(v *int) *EBS

func (*EBS) SetVolumeSize

func (o *EBS) SetVolumeSize(v *int) *EBS

func (*EBS) SetVolumeType

func (o *EBS) SetVolumeType(v *string) *EBS

type EBSVolume

type EBSVolume struct {
	DeviceName *string  `json:"deviceName,omitempty"`
	VolumeIDs  []string `json:"volumeIds,omitempty"`
	// contains filtered or unexported fields
}

func (EBSVolume) MarshalJSON

func (o EBSVolume) MarshalJSON() ([]byte, error)

func (*EBSVolume) SetDeviceName

func (o *EBSVolume) SetDeviceName(v *string) *EBSVolume

func (*EBSVolume) SetVolumeIDs

func (o *EBSVolume) SetVolumeIDs(v []string) *EBSVolume

type EC2ContainerServiceIntegration

type EC2ContainerServiceIntegration struct {
	ClusterName *string       `json:"clusterName,omitempty"`
	AutoScale   *AutoScaleECS `json:"autoScale,omitempty"`
	Batch       *Batch        `json:"batch,omitempty"`
	// contains filtered or unexported fields
}

func (EC2ContainerServiceIntegration) MarshalJSON

func (o EC2ContainerServiceIntegration) MarshalJSON() ([]byte, error)

func (*EC2ContainerServiceIntegration) SetAutoScale

func (*EC2ContainerServiceIntegration) SetBatch added in v1.62.0

func (*EC2ContainerServiceIntegration) SetClusterName

type ENIs added in v1.96.0

type ENIs struct {
	ShouldTag *bool `json:"shouldTag,omitempty"`
	// contains filtered or unexported fields
}

func (ENIs) MarshalJSON added in v1.96.0

func (o ENIs) MarshalJSON() ([]byte, error)

func (*ENIs) SetShouldTag added in v1.96.0

func (o *ENIs) SetShouldTag(v *bool) *ENIs

type ElasticBeanstalkIntegration

type ElasticBeanstalkIntegration struct {
	EnvironmentID         *string                         `json:"environmentId,omitempty"`
	ManagedActions        *BeanstalkManagedActions        `json:"managedActions,omitempty"`
	DeploymentPreferences *BeanstalkDeploymentPreferences `json:"deploymentPreferences,omitempty"`
	// contains filtered or unexported fields
}

func (ElasticBeanstalkIntegration) MarshalJSON

func (o ElasticBeanstalkIntegration) MarshalJSON() ([]byte, error)

func (*ElasticBeanstalkIntegration) SetDeploymentPreferences

func (*ElasticBeanstalkIntegration) SetEnvironmentID

func (*ElasticBeanstalkIntegration) SetManagedActions

type Expressions added in v1.99.0

type Expressions struct {
	Expression *string `json:"expression,omitempty"`
	Name       *string `json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (Expressions) MarshalJSON added in v1.99.0

func (o Expressions) MarshalJSON() ([]byte, error)

func (*Expressions) SetExpression added in v1.99.0

func (o *Expressions) SetExpression(v *string) *Expressions

func (*Expressions) SetName added in v1.99.0

func (o *Expressions) SetName(v *string) *Expressions

type GetGroupEventsInput

type GetGroupEventsInput struct {
	GroupID  *string `json:"groupId,omitempty"`
	FromDate *string `json:"fromDate,omitempty"`
}

type GetGroupEventsOutput

type GetGroupEventsOutput struct {
	GroupEvents []*GroupEvent `json:"groupEvents,omitempty"`
}

type GetInstanceHealthinessInput

type GetInstanceHealthinessInput struct {
	GroupID *string `json:"groupId,omitempty"`
}

type GetInstanceHealthinessOutput

type GetInstanceHealthinessOutput struct {
	Instances []*InstanceHealth `json:"instances,omitempty"`
}

type GitlabIntegration

type GitlabIntegration struct {
	Runner *GitlabRunner `json:"runner,omitempty"`
	// contains filtered or unexported fields
}

func (GitlabIntegration) MarshalJSON

func (o GitlabIntegration) MarshalJSON() ([]byte, error)

func (*GitlabIntegration) SetRunner

type GitlabRunner

type GitlabRunner struct {
	IsEnabled *bool `json:"isEnabled,omitempty"`
	// contains filtered or unexported fields
}

func (GitlabRunner) MarshalJSON

func (o GitlabRunner) MarshalJSON() ([]byte, error)

func (*GitlabRunner) SetIsEnabled

func (o *GitlabRunner) SetIsEnabled(v *bool) *GitlabRunner

type Group

type Group struct {
	ID          *string      `json:"id,omitempty"`
	Name        *string      `json:"name,omitempty"`
	Description *string      `json:"description,omitempty"`
	Region      *string      `json:"region,omitempty"`
	Capacity    *Capacity    `json:"capacity,omitempty"`
	Compute     *Compute     `json:"compute,omitempty"`
	Strategy    *Strategy    `json:"strategy,omitempty"`
	Scaling     *Scaling     `json:"scaling,omitempty"`
	Scheduling  *Scheduling  `json:"scheduling,omitempty"`
	Integration *Integration `json:"thirdPartiesIntegration,omitempty"`

	// Read-only fields.
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
	// contains filtered or unexported fields
}

func (Group) MarshalJSON

func (o Group) MarshalJSON() ([]byte, error)

func (*Group) SetCapacity

func (o *Group) SetCapacity(v *Capacity) *Group

func (*Group) SetCompute

func (o *Group) SetCompute(v *Compute) *Group

func (*Group) SetDescription

func (o *Group) SetDescription(v *string) *Group

func (*Group) SetId

func (o *Group) SetId(v *string) *Group

func (*Group) SetIntegration

func (o *Group) SetIntegration(v *Integration) *Group

func (*Group) SetName

func (o *Group) SetName(v *string) *Group

func (*Group) SetRegion

func (o *Group) SetRegion(v *string) *Group

func (*Group) SetScaling

func (o *Group) SetScaling(v *Scaling) *Group

func (*Group) SetScheduling

func (o *Group) SetScheduling(v *Scheduling) *Group

func (*Group) SetStrategy

func (o *Group) SetStrategy(v *Strategy) *Group

type GroupEvent

type GroupEvent struct {
	GroupID   *string     `json:"groupId,omitempty"`
	EventType *string     `json:"eventType,omitempty"`
	CreatedAt *string     `json:"createdAt,omitempty"`
	SubEvents []*SubEvent `json:"subEvents,omitempty"`
}

type IAMInstanceProfile

type IAMInstanceProfile struct {
	Name *string `json:"name,omitempty"`
	Arn  *string `json:"arn,omitempty"`
	// contains filtered or unexported fields
}

func (IAMInstanceProfile) MarshalJSON

func (o IAMInstanceProfile) MarshalJSON() ([]byte, error)

func (*IAMInstanceProfile) SetArn

func (*IAMInstanceProfile) SetName

type ITF added in v1.100.0

type ITF struct {
	LoadBalancers                 []*ITFLoadBalancer `json:"loadBalancers,omitempty"`
	MigrationHealthinessThreshold *int               `json:"migrationHealthinessThreshold,omitempty"`
	FixedTargetGroups             *bool              `json:"fixedTargetGroups,omitempty"`
	WeightStrategy                *string            `json:"weightStrategy,omitempty"`
	TargetGroupConfig             *TargetGroupConfig `json:"targetGroupConfig,omitempty"`
	// contains filtered or unexported fields
}

func (ITF) MarshalJSON added in v1.100.0

func (o ITF) MarshalJSON() ([]byte, error)

func (*ITF) SetFixedTargetGroups added in v1.100.0

func (o *ITF) SetFixedTargetGroups(v *bool) *ITF

func (*ITF) SetLoadBalancers added in v1.100.0

func (o *ITF) SetLoadBalancers(v []*ITFLoadBalancer) *ITF

func (*ITF) SetMigrationHealthinessThreshold added in v1.100.0

func (o *ITF) SetMigrationHealthinessThreshold(v *int) *ITF

func (*ITF) SetTargetGroupConfig added in v1.100.0

func (o *ITF) SetTargetGroupConfig(v *TargetGroupConfig) *ITF

func (*ITF) SetWeightStrategy added in v1.100.0

func (o *ITF) SetWeightStrategy(v *string) *ITF

type ITFLoadBalancer added in v1.100.0

type ITFLoadBalancer struct {
	ListenerRules   []*ListenerRule `json:"listenerRules,omitempty"`
	LoadBalancerARN *string         `json:"loadBalancerArn,omitempty"`
	// contains filtered or unexported fields
}

func (ITFLoadBalancer) MarshalJSON added in v1.100.0

func (o ITFLoadBalancer) MarshalJSON() ([]byte, error)

func (*ITFLoadBalancer) SetListenerRules added in v1.100.0

func (o *ITFLoadBalancer) SetListenerRules(v []*ListenerRule) *ITFLoadBalancer

func (*ITFLoadBalancer) SetLoadBalancerARN added in v1.100.0

func (o *ITFLoadBalancer) SetLoadBalancerARN(v *string) *ITFLoadBalancer

type ImportBeanstalkInput

type ImportBeanstalkInput struct {
	EnvironmentId   *string `json:"environmentId,omitempty"`
	EnvironmentName *string `json:"environmentName,omitempty"`
	Region          *string `json:"region,omitempty"`
}

type ImportBeanstalkOutput

type ImportBeanstalkOutput struct {
	Group *Group `json:"group,omitempty"`
}

type Instance

type Instance struct {
	ID               *string    `json:"instanceId,omitempty"`
	SpotRequestID    *string    `json:"spotInstanceRequestId,omitempty"`
	InstanceType     *string    `json:"instanceType,omitempty"`
	Status           *string    `json:"status,omitempty"`
	Product          *string    `json:"product,omitempty"`
	AvailabilityZone *string    `json:"availabilityZone,omitempty"`
	PrivateIP        *string    `json:"privateIp,omitempty"`
	PublicIP         *string    `json:"publicIp,omitempty"`
	CreatedAt        *time.Time `json:"createdAt,omitempty"`
}

type InstanceHealth

type InstanceHealth struct {
	InstanceID       *string `json:"instanceId,omitempty"`
	SpotRequestID    *string `json:"spotRequestId,omitempty"`
	GroupID          *string `json:"groupId,omitempty"`
	AvailabilityZone *string `json:"availabilityZone,omitempty"`
	LifeCycle        *string `json:"lifeCycle,omitempty"`
	HealthStatus     *string `json:"healthStatus,omitempty"`
}

type InstanceTypeWeight

type InstanceTypeWeight struct {
	InstanceType *string `json:"instanceType,omitempty"`
	Weight       *int    `json:"weightedCapacity,omitempty"`
	// contains filtered or unexported fields
}

func (InstanceTypeWeight) MarshalJSON

func (o InstanceTypeWeight) MarshalJSON() ([]byte, error)

func (*InstanceTypeWeight) SetInstanceType

func (o *InstanceTypeWeight) SetInstanceType(v *string) *InstanceTypeWeight

func (*InstanceTypeWeight) SetWeight

func (o *InstanceTypeWeight) SetWeight(v *int) *InstanceTypeWeight

type InstanceTypes

type InstanceTypes struct {
	OnDemand      *string               `json:"ondemand,omitempty"`
	Spot          []string              `json:"spot,omitempty"`
	PreferredSpot []string              `json:"preferredSpot,omitempty"`
	Weights       []*InstanceTypeWeight `json:"weights,omitempty"`
	// contains filtered or unexported fields
}

func (InstanceTypes) MarshalJSON

func (o InstanceTypes) MarshalJSON() ([]byte, error)

func (*InstanceTypes) SetOnDemand

func (o *InstanceTypes) SetOnDemand(v *string) *InstanceTypes

func (*InstanceTypes) SetPreferredSpot

func (o *InstanceTypes) SetPreferredSpot(v []string) *InstanceTypes

func (*InstanceTypes) SetSpot

func (o *InstanceTypes) SetSpot(v []string) *InstanceTypes

func (*InstanceTypes) SetWeights

func (o *InstanceTypes) SetWeights(v []*InstanceTypeWeight) *InstanceTypes

type Integration

type Integration struct {
	EC2ContainerService *EC2ContainerServiceIntegration `json:"ecs,omitempty"`
	ElasticBeanstalk    *ElasticBeanstalkIntegration    `json:"elasticBeanstalk,omitempty"`
	CodeDeploy          *CodeDeployIntegration          `json:"codeDeploy,omitempty"`
	OpsWorks            *OpsWorksIntegration            `json:"opsWorks,omitempty"`
	Rancher             *RancherIntegration             `json:"rancher,omitempty"`
	Kubernetes          *KubernetesIntegration          `json:"kubernetes,omitempty"`
	Mesosphere          *MesosphereIntegration          `json:"mesosphere,omitempty"`
	Multai              *MultaiIntegration              `json:"mlbRuntime,omitempty"`
	Nomad               *NomadIntegration               `json:"nomad,omitempty"`
	Chef                *ChefIntegration                `json:"chef,omitempty"`
	Gitlab              *GitlabIntegration              `json:"gitlab,omitempty"`
	Route53             *Route53Integration             `json:"route53,omitempty"`
	DockerSwarm         *DockerSwarmIntegration         `json:"dockerSwarm,omitempty"`
	// contains filtered or unexported fields
}

func (Integration) MarshalJSON

func (o Integration) MarshalJSON() ([]byte, error)

func (*Integration) SetChef

func (o *Integration) SetChef(v *ChefIntegration) *Integration

func (*Integration) SetCodeDeploy

func (o *Integration) SetCodeDeploy(v *CodeDeployIntegration) *Integration

func (*Integration) SetDockerSwarm

func (o *Integration) SetDockerSwarm(v *DockerSwarmIntegration) *Integration

func (*Integration) SetEC2ContainerService

func (o *Integration) SetEC2ContainerService(v *EC2ContainerServiceIntegration) *Integration

func (*Integration) SetElasticBeanstalk

func (o *Integration) SetElasticBeanstalk(v *ElasticBeanstalkIntegration) *Integration

func (*Integration) SetGitlab

func (o *Integration) SetGitlab(v *GitlabIntegration) *Integration

func (*Integration) SetKubernetes

func (o *Integration) SetKubernetes(v *KubernetesIntegration) *Integration

func (*Integration) SetMesosphere

func (o *Integration) SetMesosphere(v *MesosphereIntegration) *Integration

func (*Integration) SetMultai

func (o *Integration) SetMultai(v *MultaiIntegration) *Integration

func (*Integration) SetNomad

func (o *Integration) SetNomad(v *NomadIntegration) *Integration

func (*Integration) SetOpsWorks

func (o *Integration) SetOpsWorks(v *OpsWorksIntegration) *Integration

func (*Integration) SetRancher

func (o *Integration) SetRancher(v *RancherIntegration) *Integration

func (*Integration) SetRoute53

func (o *Integration) SetRoute53(v *Route53Integration) *Integration

type KubernetesIntegration

type KubernetesIntegration struct {
	IntegrationMode   *string              `json:"integrationMode,omitempty"`
	ClusterIdentifier *string              `json:"clusterIdentifier,omitempty"`
	Server            *string              `json:"apiServer,omitempty"`
	Token             *string              `json:"token,omitempty"`
	AutoScale         *AutoScaleKubernetes `json:"autoScale,omitempty"`
	// contains filtered or unexported fields
}

func (KubernetesIntegration) MarshalJSON

func (o KubernetesIntegration) MarshalJSON() ([]byte, error)

func (*KubernetesIntegration) SetAutoScale

func (*KubernetesIntegration) SetClusterIdentifier

func (o *KubernetesIntegration) SetClusterIdentifier(v *string) *KubernetesIntegration

func (*KubernetesIntegration) SetIntegrationMode

func (o *KubernetesIntegration) SetIntegrationMode(v *string) *KubernetesIntegration

func (*KubernetesIntegration) SetServer

func (*KubernetesIntegration) SetToken

type LaunchSpecification

type LaunchSpecification struct {
	LoadBalancerNames                             []string                  `json:"loadBalancerNames,omitempty"`
	LoadBalancersConfig                           *LoadBalancersConfig      `json:"loadBalancersConfig,omitempty"`
	SecurityGroupIDs                              []string                  `json:"securityGroupIds,omitempty"`
	HealthCheckType                               *string                   `json:"healthCheckType,omitempty"`
	HealthCheckGracePeriod                        *int                      `json:"healthCheckGracePeriod,omitempty"`
	HealthCheckUnhealthyDurationBeforeReplacement *int                      `json:"healthCheckUnhealthyDurationBeforeReplacement,omitempty"`
	ImageID                                       *string                   `json:"imageId,omitempty"`
	KeyPair                                       *string                   `json:"keyPair,omitempty"`
	UserData                                      *string                   `json:"userData,omitempty"`
	ShutdownScript                                *string                   `json:"shutdownScript,omitempty"`
	Tenancy                                       *string                   `json:"tenancy,omitempty"`
	Monitoring                                    *bool                     `json:"monitoring,omitempty"`
	EBSOptimized                                  *bool                     `json:"ebsOptimized,omitempty"`
	IAMInstanceProfile                            *IAMInstanceProfile       `json:"iamRole,omitempty"`
	CreditSpecification                           *CreditSpecification      `json:"creditSpecification,omitempty"`
	BlockDeviceMappings                           []*BlockDeviceMapping     `json:"blockDeviceMappings,omitempty"`
	NetworkInterfaces                             []*NetworkInterface       `json:"networkInterfaces,omitempty"`
	Tags                                          []*Tag                    `json:"tags,omitempty"`
	MetadataOptions                               *MetadataOptions          `json:"metadataOptions,omitempty"`
	CPUOptions                                    *CPUOptions               `json:"cpuOptions,omitempty"`
	ResourceTagSpecification                      *ResourceTagSpecification `json:"resourceTagSpecification,omitempty"`
	ITF                                           *ITF                      `json:"itf,omitempty"`
	// contains filtered or unexported fields
}

func (LaunchSpecification) MarshalJSON

func (o LaunchSpecification) MarshalJSON() ([]byte, error)

func (*LaunchSpecification) SetBlockDeviceMappings

func (o *LaunchSpecification) SetBlockDeviceMappings(v []*BlockDeviceMapping) *LaunchSpecification

func (*LaunchSpecification) SetCPUOptions added in v1.79.0

func (o *LaunchSpecification) SetCPUOptions(v *CPUOptions) *LaunchSpecification

func (*LaunchSpecification) SetCreditSpecification

func (o *LaunchSpecification) SetCreditSpecification(v *CreditSpecification) *LaunchSpecification

func (*LaunchSpecification) SetEBSOptimized

func (o *LaunchSpecification) SetEBSOptimized(v *bool) *LaunchSpecification

func (*LaunchSpecification) SetHealthCheckGracePeriod

func (o *LaunchSpecification) SetHealthCheckGracePeriod(v *int) *LaunchSpecification

func (*LaunchSpecification) SetHealthCheckType

func (o *LaunchSpecification) SetHealthCheckType(v *string) *LaunchSpecification

func (*LaunchSpecification) SetHealthCheckUnhealthyDurationBeforeReplacement

func (o *LaunchSpecification) SetHealthCheckUnhealthyDurationBeforeReplacement(v *int) *LaunchSpecification

func (*LaunchSpecification) SetIAMInstanceProfile

func (o *LaunchSpecification) SetIAMInstanceProfile(v *IAMInstanceProfile) *LaunchSpecification

func (*LaunchSpecification) SetITF added in v1.100.0

func (*LaunchSpecification) SetImageId

func (o *LaunchSpecification) SetImageId(v *string) *LaunchSpecification

func (*LaunchSpecification) SetKeyPair

func (o *LaunchSpecification) SetKeyPair(v *string) *LaunchSpecification

func (*LaunchSpecification) SetLoadBalancerNames

func (o *LaunchSpecification) SetLoadBalancerNames(v []string) *LaunchSpecification

func (*LaunchSpecification) SetLoadBalancersConfig

func (o *LaunchSpecification) SetLoadBalancersConfig(v *LoadBalancersConfig) *LaunchSpecification

func (*LaunchSpecification) SetMetadataOptions added in v1.64.0

func (o *LaunchSpecification) SetMetadataOptions(v *MetadataOptions) *LaunchSpecification

func (*LaunchSpecification) SetMonitoring

func (o *LaunchSpecification) SetMonitoring(v *bool) *LaunchSpecification

func (*LaunchSpecification) SetNetworkInterfaces

func (o *LaunchSpecification) SetNetworkInterfaces(v []*NetworkInterface) *LaunchSpecification

func (*LaunchSpecification) SetResourceTagSpecification added in v1.96.0

func (o *LaunchSpecification) SetResourceTagSpecification(v *ResourceTagSpecification) *LaunchSpecification

func (*LaunchSpecification) SetSecurityGroupIDs

func (o *LaunchSpecification) SetSecurityGroupIDs(v []string) *LaunchSpecification

func (*LaunchSpecification) SetShutdownScript

func (o *LaunchSpecification) SetShutdownScript(v *string) *LaunchSpecification

func (*LaunchSpecification) SetTags

func (o *LaunchSpecification) SetTags(v []*Tag) *LaunchSpecification

func (*LaunchSpecification) SetTenancy

func (o *LaunchSpecification) SetTenancy(v *string) *LaunchSpecification

func (*LaunchSpecification) SetUserData

func (o *LaunchSpecification) SetUserData(v *string) *LaunchSpecification

type ListGroupsInput

type ListGroupsInput struct{}

type ListGroupsOutput

type ListGroupsOutput struct {
	Groups []*Group `json:"groups,omitempty"`
}

type ListStatefulInstancesInput added in v1.82.0

type ListStatefulInstancesInput struct {
	GroupID *string `json:"groupId,omitempty"`
}

type ListStatefulInstancesOutput added in v1.82.0

type ListStatefulInstancesOutput struct {
	StatefulInstances []*StatefulInstance `json:"statefulInstances,omitempty"`
}

type ListSuspensionsInput added in v1.61.0

type ListSuspensionsInput struct {
	GroupID *string `json:"groupId,omitempty"`
}

type ListSuspensionsOutput added in v1.61.0

type ListSuspensionsOutput struct {
	SuspendProcesses *SuspendProcesses `json:"suspendProcesses,omitempty"`
}

type ListenerRule added in v1.100.0

type ListenerRule struct {
	RuleARN *string `json:"ruleArn,omitempty"`
	// contains filtered or unexported fields
}

func (ListenerRule) MarshalJSON added in v1.100.0

func (o ListenerRule) MarshalJSON() ([]byte, error)

func (*ListenerRule) SetRuleARN added in v1.100.0

func (o *ListenerRule) SetRuleARN(v *string) *ListenerRule

type LoadBalancer

type LoadBalancer struct {
	Name          *string `json:"name,omitempty"`
	Arn           *string `json:"arn,omitempty"`
	Type          *string `json:"type,omitempty"`
	BalancerID    *string `json:"balancerId,omitempty"`
	TargetSetID   *string `json:"targetSetId,omitempty"`
	ZoneAwareness *bool   `json:"azAwareness,omitempty"`
	AutoWeight    *bool   `json:"autoWeight,omitempty"`
	// contains filtered or unexported fields
}

func (LoadBalancer) MarshalJSON

func (o LoadBalancer) MarshalJSON() ([]byte, error)

func (*LoadBalancer) SetArn

func (o *LoadBalancer) SetArn(v *string) *LoadBalancer

func (*LoadBalancer) SetAutoWeight

func (o *LoadBalancer) SetAutoWeight(v *bool) *LoadBalancer

func (*LoadBalancer) SetBalancerId

func (o *LoadBalancer) SetBalancerId(v *string) *LoadBalancer

func (*LoadBalancer) SetName

func (o *LoadBalancer) SetName(v *string) *LoadBalancer

func (*LoadBalancer) SetTargetSetId

func (o *LoadBalancer) SetTargetSetId(v *string) *LoadBalancer

func (*LoadBalancer) SetType

func (o *LoadBalancer) SetType(v *string) *LoadBalancer

func (*LoadBalancer) SetZoneAwareness

func (o *LoadBalancer) SetZoneAwareness(v *bool) *LoadBalancer

type LoadBalancersConfig

type LoadBalancersConfig struct {
	LoadBalancers []*LoadBalancer `json:"loadBalancers,omitempty"`
	// contains filtered or unexported fields
}

func (LoadBalancersConfig) MarshalJSON

func (o LoadBalancersConfig) MarshalJSON() ([]byte, error)

func (*LoadBalancersConfig) SetLoadBalancers

func (o *LoadBalancersConfig) SetLoadBalancers(v []*LoadBalancer) *LoadBalancersConfig

type Matcher added in v1.100.0

type Matcher struct {
	HTTPCode *string `json:"httpCode,omitempty"`
	GRPCCode *string `json:"grpcCode,omitempty"`
	// contains filtered or unexported fields
}

func (Matcher) MarshalJSON added in v1.100.0

func (o Matcher) MarshalJSON() ([]byte, error)

func (*Matcher) SetGRPCCode added in v1.101.0

func (o *Matcher) SetGRPCCode(v *string) *Matcher

func (*Matcher) SetHTTPCode added in v1.100.0

func (o *Matcher) SetHTTPCode(v *string) *Matcher

type MesosphereIntegration

type MesosphereIntegration struct {
	Server *string `json:"apiServer,omitempty"`
	// contains filtered or unexported fields
}

func (MesosphereIntegration) MarshalJSON

func (o MesosphereIntegration) MarshalJSON() ([]byte, error)

func (*MesosphereIntegration) SetServer

type MetadataOptions added in v1.64.0

type MetadataOptions struct {
	HTTPTokens              *string `json:"httpTokens,omitempty"`
	HTTPPutResponseHopLimit *int    `json:"httpPutResponseHopLimit,omitempty"`
	// contains filtered or unexported fields
}

func (MetadataOptions) MarshalJSON added in v1.64.0

func (o MetadataOptions) MarshalJSON() ([]byte, error)

func (*MetadataOptions) SetHTTPPutResponseHopLimit added in v1.64.0

func (o *MetadataOptions) SetHTTPPutResponseHopLimit(v *int) *MetadataOptions

func (*MetadataOptions) SetHTTPTokens added in v1.64.0

func (o *MetadataOptions) SetHTTPTokens(v *string) *MetadataOptions

type Metrics added in v1.99.0

type Metrics struct {
	Name              *string      `json:"name,omitempty"`
	MetricName        *string      `json:"metricName,omitempty"`
	Namespace         *string      `json:"namespace,omitempty"`
	Dimensions        []*Dimension `json:"dimensions,omitempty"`
	ExtendedStatistic *string      `json:"extendedStatistic,omitempty"`
	Statistic         *string      `json:"statistic,omitempty"`
	Unit              *string      `json:"unit,omitempty"`
	// contains filtered or unexported fields
}

func (Metrics) MarshalJSON added in v1.99.0

func (o Metrics) MarshalJSON() ([]byte, error)

func (*Metrics) SetDimensions added in v1.99.0

func (o *Metrics) SetDimensions(v []*Dimension) *Metrics

func (*Metrics) SetExtendedStatistic added in v1.99.0

func (o *Metrics) SetExtendedStatistic(v *string) *Metrics

func (*Metrics) SetMetricName added in v1.99.0

func (o *Metrics) SetMetricName(v *string) *Metrics

func (*Metrics) SetName added in v1.99.0

func (o *Metrics) SetName(v *string) *Metrics

func (*Metrics) SetNamespace added in v1.99.0

func (o *Metrics) SetNamespace(v *string) *Metrics

func (*Metrics) SetStatistic added in v1.99.0

func (o *Metrics) SetStatistic(v *string) *Metrics

func (*Metrics) SetUnit added in v1.99.0

func (o *Metrics) SetUnit(v *string) *Metrics

type MultaiIntegration

type MultaiIntegration struct {
	DeploymentID *string `json:"deploymentId,omitempty"`
	// contains filtered or unexported fields
}

func (MultaiIntegration) MarshalJSON

func (o MultaiIntegration) MarshalJSON() ([]byte, error)

func (*MultaiIntegration) SetDeploymentId

func (o *MultaiIntegration) SetDeploymentId(v *string) *MultaiIntegration

type MultipleMetrics added in v1.99.0

type MultipleMetrics struct {
	Metrics     []*Metrics     `json:"metrics,omitempty"`
	Expressions []*Expressions `json:"expressions,omitempty"`
	// contains filtered or unexported fields
}

func (MultipleMetrics) MarshalJSON added in v1.99.0

func (o MultipleMetrics) MarshalJSON() ([]byte, error)

func (*MultipleMetrics) SetExpressions added in v1.99.0

func (o *MultipleMetrics) SetExpressions(v []*Expressions) *MultipleMetrics

func (*MultipleMetrics) SetMetrics added in v1.99.0

func (o *MultipleMetrics) SetMetrics(v []*Metrics) *MultipleMetrics

type NetworkInterface

type NetworkInterface struct {
	ID                             *string  `json:"networkInterfaceId,omitempty"`
	Description                    *string  `json:"description,omitempty"`
	DeviceIndex                    *int     `json:"deviceIndex,omitempty"`
	SecondaryPrivateIPAddressCount *int     `json:"secondaryPrivateIpAddressCount,omitempty"`
	AssociatePublicIPAddress       *bool    `json:"associatePublicIpAddress,omitempty"`
	AssociateIPV6Address           *bool    `json:"associateIpv6Address,omitempty"`
	DeleteOnTermination            *bool    `json:"deleteOnTermination,omitempty"`
	SecurityGroupsIDs              []string `json:"groups,omitempty"`
	PrivateIPAddress               *string  `json:"privateIpAddress,omitempty"`
	SubnetID                       *string  `json:"subnetId,omitempty"`
	// contains filtered or unexported fields
}

func (NetworkInterface) MarshalJSON

func (o NetworkInterface) MarshalJSON() ([]byte, error)

func (*NetworkInterface) SetAssociateIPV6Address

func (o *NetworkInterface) SetAssociateIPV6Address(v *bool) *NetworkInterface

func (*NetworkInterface) SetAssociatePublicIPAddress

func (o *NetworkInterface) SetAssociatePublicIPAddress(v *bool) *NetworkInterface

func (*NetworkInterface) SetDeleteOnTermination

func (o *NetworkInterface) SetDeleteOnTermination(v *bool) *NetworkInterface

func (*NetworkInterface) SetDescription

func (o *NetworkInterface) SetDescription(v *string) *NetworkInterface

func (*NetworkInterface) SetDeviceIndex

func (o *NetworkInterface) SetDeviceIndex(v *int) *NetworkInterface

func (*NetworkInterface) SetId

func (*NetworkInterface) SetPrivateIPAddress

func (o *NetworkInterface) SetPrivateIPAddress(v *string) *NetworkInterface

func (*NetworkInterface) SetSecondaryPrivateIPAddressCount

func (o *NetworkInterface) SetSecondaryPrivateIPAddressCount(v *int) *NetworkInterface

func (*NetworkInterface) SetSecurityGroupsIDs

func (o *NetworkInterface) SetSecurityGroupsIDs(v []string) *NetworkInterface

func (*NetworkInterface) SetSubnetId

func (o *NetworkInterface) SetSubnetId(v *string) *NetworkInterface

type NewInstance

type NewInstance struct {
}

type NomadIntegration

type NomadIntegration struct {
	MasterHost *string         `json:"masterHost,omitempty"`
	MasterPort *int            `json:"masterPort,omitempty"`
	ACLToken   *string         `json:"aclToken,omitempty"`
	AutoScale  *AutoScaleNomad `json:"autoScale,omitempty"`
	// contains filtered or unexported fields
}

func (NomadIntegration) MarshalJSON

func (o NomadIntegration) MarshalJSON() ([]byte, error)

func (*NomadIntegration) SetAclToken

func (o *NomadIntegration) SetAclToken(v *string) *NomadIntegration

func (*NomadIntegration) SetAutoScale

func (o *NomadIntegration) SetAutoScale(v *AutoScaleNomad) *NomadIntegration

func (*NomadIntegration) SetMasterHost

func (o *NomadIntegration) SetMasterHost(v *string) *NomadIntegration

func (*NomadIntegration) SetMasterPort

func (o *NomadIntegration) SetMasterPort(v *int) *NomadIntegration

type OnFailure added in v1.43.0

type OnFailure struct {
	ActionType                    *string `json:"actionType,omitempty"`
	ShouldHandleAllBatches        *bool   `json:"shouldHandleAllBatches,omitempty"`
	BatchNum                      *int    `json:"batchNum,omitempty"`
	DrainingTimeout               *int    `json:"drainingTimeout,omitempty"`
	ShouldDecrementTargetCapacity *bool   `json:"shouldDecrementTargetCapacity,omitempty"`
	// contains filtered or unexported fields
}

func (OnFailure) MarshalJSON added in v1.43.0

func (o OnFailure) MarshalJSON() ([]byte, error)

func (*OnFailure) SetActionType added in v1.43.0

func (o *OnFailure) SetActionType(v *string) *OnFailure

func (*OnFailure) SetBatchNum added in v1.43.0

func (o *OnFailure) SetBatchNum(v *int) *OnFailure

func (*OnFailure) SetDrainingTimeout added in v1.43.0

func (o *OnFailure) SetDrainingTimeout(v *int) *OnFailure

func (*OnFailure) SetShouldDecrementTargetCapacity added in v1.43.0

func (o *OnFailure) SetShouldDecrementTargetCapacity(v *bool) *OnFailure

func (*OnFailure) SetShouldHandleAllBatches added in v1.43.0

func (o *OnFailure) SetShouldHandleAllBatches(v *bool) *OnFailure

type OpsWorksIntegration

type OpsWorksIntegration struct {
	LayerID   *string `json:"layerId,omitempty"`
	StackType *string `json:"stackType,omitempty"`
	// contains filtered or unexported fields
}

func (OpsWorksIntegration) MarshalJSON

func (o OpsWorksIntegration) MarshalJSON() ([]byte, error)

func (*OpsWorksIntegration) SetLayerId

func (o *OpsWorksIntegration) SetLayerId(v *string) *OpsWorksIntegration

func (*OpsWorksIntegration) SetStackType

func (o *OpsWorksIntegration) SetStackType(v *string) *OpsWorksIntegration

type PauseStatefulInstanceInput added in v1.82.0

type PauseStatefulInstanceInput struct {
	GroupID            *string `json:"groupId,omitempty"`
	StatefulInstanceID *string `json:"statefulInstanceId,omitempty"`
}

type PauseStatefulInstanceOutput added in v1.82.0

type PauseStatefulInstanceOutput struct{}

type Persistence

type Persistence struct {
	ShouldPersistPrivateIP    *bool   `json:"shouldPersistPrivateIp,omitempty"`
	ShouldPersistBlockDevices *bool   `json:"shouldPersistBlockDevices,omitempty"`
	ShouldPersistRootDevice   *bool   `json:"shouldPersistRootDevice,omitempty"`
	BlockDevicesMode          *string `json:"blockDevicesMode,omitempty"`
	// contains filtered or unexported fields
}

func (Persistence) MarshalJSON

func (o Persistence) MarshalJSON() ([]byte, error)

func (*Persistence) SetBlockDevicesMode

func (o *Persistence) SetBlockDevicesMode(v *string) *Persistence

func (*Persistence) SetShouldPersistBlockDevices

func (o *Persistence) SetShouldPersistBlockDevices(v *bool) *Persistence

func (*Persistence) SetShouldPersistPrivateIP

func (o *Persistence) SetShouldPersistPrivateIP(v *bool) *Persistence

func (*Persistence) SetShouldPersistRootDevice

func (o *Persistence) SetShouldPersistRootDevice(v *bool) *Persistence

type Predictive

type Predictive struct {
	Mode *string `json:"mode,omitempty"`
	// contains filtered or unexported fields
}

func (*Predictive) MarshalJSON

func (o *Predictive) MarshalJSON() ([]byte, error)

func (*Predictive) SetMode

func (o *Predictive) SetMode(v *string) *Predictive

type Product

type Product int

A Product represents the type of an operating system.

const (
	// ProductWindows represents the Windows product.
	ProductWindows Product = iota

	// ProductWindowsVPC represents the Windows (Amazon VPC) product.
	ProductWindowsVPC

	// ProductLinuxUnix represents the Linux/Unix product.
	ProductLinuxUnix

	// ProductLinuxUnixVPC represents the Linux/Unix (Amazon VPC) product.
	ProductLinuxUnixVPC

	// ProductSUSELinux represents the SUSE Linux product.
	ProductSUSELinux

	// ProductSUSELinuxVPC represents the SUSE Linux (Amazon VPC) product.
	ProductSUSELinuxVPC
)

func (Product) String

func (p Product) String() string

type Progress

type Progress struct {
	Unit  *string  `json:"unit,omitempty"`
	Value *float64 `json:"value,omitempty"`
}

type RancherIntegration

type RancherIntegration struct {
	MasterHost *string `json:"masterHost,omitempty"`
	AccessKey  *string `json:"accessKey,omitempty"`
	SecretKey  *string `json:"secretKey,omitempty"`
	Version    *string `json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (RancherIntegration) MarshalJSON

func (o RancherIntegration) MarshalJSON() ([]byte, error)

func (*RancherIntegration) SetAccessKey

func (o *RancherIntegration) SetAccessKey(v *string) *RancherIntegration

func (*RancherIntegration) SetMasterHost

func (o *RancherIntegration) SetMasterHost(v *string) *RancherIntegration

func (*RancherIntegration) SetSecretKey

func (o *RancherIntegration) SetSecretKey(v *string) *RancherIntegration

func (*RancherIntegration) SetVersion

func (o *RancherIntegration) SetVersion(v *string) *RancherIntegration

type ReadGroupInput

type ReadGroupInput struct {
	GroupID *string `json:"groupId,omitempty"`
}

type ReadGroupOutput

type ReadGroupOutput struct {
	Group *Group `json:"group,omitempty"`
}

type RecordSet

type RecordSet struct {
	Name         *string `json:"name,omitempty"`
	UsePublicIP  *bool   `json:"usePublicIp,omitempty"`
	UsePublicDNS *bool   `json:"usePublicDns,omitempty"`
	// contains filtered or unexported fields
}

func (RecordSet) MarshalJSON

func (o RecordSet) MarshalJSON() ([]byte, error)

func (*RecordSet) SetName

func (o *RecordSet) SetName(v *string) *RecordSet

func (*RecordSet) SetUsePublicDNS added in v1.57.0

func (o *RecordSet) SetUsePublicDNS(v *bool) *RecordSet

func (*RecordSet) SetUsePublicIP

func (o *RecordSet) SetUsePublicIP(v *bool) *RecordSet

type RecycleStatefulInstanceInput added in v1.82.0

type RecycleStatefulInstanceInput struct {
	GroupID            *string `json:"groupId,omitempty"`
	StatefulInstanceID *string `json:"statefulInstanceId,omitempty"`
}

type RecycleStatefulInstanceOutput added in v1.82.0

type RecycleStatefulInstanceOutput struct{}

type ResourceTagSpecification added in v1.96.0

type ResourceTagSpecification struct {
	Volumes   *Volumes   `json:"volumes,omitempty"`
	Snapshots *Snapshots `json:"snapshots,omitempty"`
	ENIs      *ENIs      `json:"enis,omitempty"`
	AMIs      *AMIs      `json:"amis,omitempty"`
	// contains filtered or unexported fields
}

func (ResourceTagSpecification) MarshalJSON added in v1.96.0

func (o ResourceTagSpecification) MarshalJSON() ([]byte, error)

func (*ResourceTagSpecification) SetAMIs added in v1.96.0

func (*ResourceTagSpecification) SetENIs added in v1.96.0

func (*ResourceTagSpecification) SetSnapshots added in v1.96.0

func (*ResourceTagSpecification) SetVolumes added in v1.96.0

type ResumeStatefulInstanceInput added in v1.82.0

type ResumeStatefulInstanceInput struct {
	GroupID            *string `json:"groupId,omitempty"`
	StatefulInstanceID *string `json:"statefulInstanceId,omitempty"`
}

type ResumeStatefulInstanceOutput added in v1.82.0

type ResumeStatefulInstanceOutput struct{}

type RevertToSpot

type RevertToSpot struct {
	PerformAt   *string  `json:"performAt,omitempty"`
	TimeWindows []string `json:"timeWindows,omitempty"`
	// contains filtered or unexported fields
}

func (RevertToSpot) MarshalJSON

func (o RevertToSpot) MarshalJSON() ([]byte, error)

func (*RevertToSpot) SetPerformAt

func (o *RevertToSpot) SetPerformAt(v *string) *RevertToSpot

func (*RevertToSpot) SetTimeWindows

func (o *RevertToSpot) SetTimeWindows(v []string) *RevertToSpot

type Roll

type Roll struct {
	Status *string `json:"status,omitempty"`
}

type RollECSGroupInput

type RollECSGroupInput struct {
	GroupID *string         `json:"groupId,omitempty"`
	Roll    *RollECSWrapper `json:"roll,omitempty"`
}

type RollECSWrapper

type RollECSWrapper struct {
	BatchSizePercentage *int    `json:"batchSizePercentage,omitempty"`
	Comment             *string `json:"comment,omitempty"`
}

type RollGroupInput

type RollGroupInput struct {
	GroupID             *string       `json:"groupId,omitempty"`
	BatchSizePercentage *int          `json:"batchSizePercentage,omitempty"`
	GracePeriod         *int          `json:"gracePeriod,omitempty"`
	HealthCheckType     *string       `json:"healthCheckType,omitempty"`
	Strategy            *RollStrategy `json:"strategy,omitempty"`
}

type RollGroupOutput

type RollGroupOutput struct {
	RollGroupStatus []*RollGroupStatus `json:"groupDeploymentStatus,omitempty"`
}

type RollGroupStatus

type RollGroupStatus struct {
	RollID     *string   `json:"id,omitempty"`
	RollStatus *string   `json:"status,omitempty"`
	Progress   *Progress `json:"progress,omitempty"`
	CreatedAt  *string   `json:"createdAt,omitempty"`
	UpdatedAt  *string   `json:"updatedAt,omitempty"`
}

type RollStrategy

type RollStrategy struct {
	Action                    *string    `json:"action,omitempty"`
	ShouldDrainInstances      *bool      `json:"shouldDrainInstances,omitempty"`
	BatchMinHealthyPercentage *int       `json:"batchMinHealthyPercentage,omitempty"`
	OnFailure                 *OnFailure `json:"onFailure,omitempty"`
	// contains filtered or unexported fields
}

func (RollStrategy) MarshalJSON

func (o RollStrategy) MarshalJSON() ([]byte, error)

func (*RollStrategy) SetAction

func (o *RollStrategy) SetAction(v *string) *RollStrategy

func (*RollStrategy) SetOnFailure added in v1.43.0

func (o *RollStrategy) SetOnFailure(v *OnFailure) *RollStrategy

func (*RollStrategy) SetShouldDrainInstances

func (o *RollStrategy) SetShouldDrainInstances(v *bool) *RollStrategy

type Route53Integration

type Route53Integration struct {
	Domains []*Domain `json:"domains,omitempty"`
	// contains filtered or unexported fields
}

func (Route53Integration) MarshalJSON

func (o Route53Integration) MarshalJSON() ([]byte, error)

func (*Route53Integration) SetDomains

func (o *Route53Integration) SetDomains(v []*Domain) *Route53Integration

type ScaleDownOnDemandItem

type ScaleDownOnDemandItem struct {
	InstanceID *string `json:"instanceId,omitempty"`
}

type ScaleDownSpotItem

type ScaleDownSpotItem struct {
	SpotInstanceRequestID *string `json:"spotInstanceRequestId,omitempty"`
}

type ScaleGroupInput

type ScaleGroupInput struct {
	GroupID    *string `json:"groupId,omitempty"`
	ScaleType  *string `json:"type,omitempty"`
	Adjustment *int    `json:"adjustment,omitempty"`
}

type ScaleGroupOutput

type ScaleGroupOutput struct {
	Items []*ScaleItem `json:"items"`
}

type ScaleItem

type ScaleItem struct {
	NewSpotRequests    []*ScaleUpSpotItem       `json:"newSpotRequests,omitempty"`
	NewInstances       []*ScaleUpOnDemandItem   `json:"newInstances,omitempty"`
	VictimSpotRequests []*ScaleDownSpotItem     `json:"victimSpotRequests,omitempty"`
	VictimInstances    []*ScaleDownOnDemandItem `json:"victimInstances,omitempty"`
}

type ScaleUpOnDemandItem

type ScaleUpOnDemandItem struct {
	InstanceID       *string `json:"instanceId,omitempty"`
	AvailabilityZone *string `json:"availabilityZone,omitempty"`
	InstanceType     *string `json:"instanceType,omitempty"`
}

type ScaleUpSpotItem

type ScaleUpSpotItem struct {
	SpotInstanceRequestID *string `json:"spotInstanceRequestId,omitempty"`
	AvailabilityZone      *string `json:"availabilityZone,omitempty"`
	InstanceType          *string `json:"instanceType,omitempty"`
}

type Scaling

type Scaling struct {
	Up              []*ScalingPolicy `json:"up,omitempty"`
	Down            []*ScalingPolicy `json:"down,omitempty"`
	Target          []*ScalingPolicy `json:"target,omitempty"`
	MultipleMetrics *MultipleMetrics `json:"multipleMetrics,omitempty"`
	// contains filtered or unexported fields
}

func (Scaling) MarshalJSON

func (o Scaling) MarshalJSON() ([]byte, error)

func (*Scaling) SetDown

func (o *Scaling) SetDown(v []*ScalingPolicy) *Scaling

func (*Scaling) SetMultipleMetrics added in v1.99.0

func (o *Scaling) SetMultipleMetrics(v *MultipleMetrics) *Scaling

func (*Scaling) SetTarget

func (o *Scaling) SetTarget(v []*ScalingPolicy) *Scaling

func (*Scaling) SetUp

func (o *Scaling) SetUp(v []*ScalingPolicy) *Scaling

type ScalingPolicy

type ScalingPolicy struct {
	PolicyName          *string           `json:"policyName,omitempty"`
	MetricName          *string           `json:"metricName,omitempty"`
	Namespace           *string           `json:"namespace,omitempty"`
	Source              *string           `json:"source,omitempty"`
	Statistic           *string           `json:"statistic,omitempty"`
	Unit                *string           `json:"unit,omitempty"`
	Threshold           *float64          `json:"threshold,omitempty"`
	Adjustment          *int              `json:"adjustment,omitempty"`
	MinTargetCapacity   *int              `json:"minTargetCapacity,omitempty"`
	MaxTargetCapacity   *int              `json:"maxTargetCapacity,omitempty"`
	EvaluationPeriods   *int              `json:"evaluationPeriods,omitempty"`
	Period              *int              `json:"period,omitempty"`
	Cooldown            *int              `json:"cooldown,omitempty"`
	Operator            *string           `json:"operator,omitempty"`
	Dimensions          []*Dimension      `json:"dimensions,omitempty"`
	Action              *Action           `json:"action,omitempty"`
	Target              *float64          `json:"target,omitempty"`
	IsEnabled           *bool             `json:"isEnabled,omitempty"`
	MaxCapacityPerScale *string           `json:"maxCapacityPerScale,omitempty"`
	Predictive          *Predictive       `json:"predictive,omitempty"`
	StepAdjustments     []*StepAdjustment `json:"stepAdjustments,omitempty"`
	// contains filtered or unexported fields
}

func (ScalingPolicy) MarshalJSON

func (o ScalingPolicy) MarshalJSON() ([]byte, error)

func (*ScalingPolicy) SetAction

func (o *ScalingPolicy) SetAction(v *Action) *ScalingPolicy

func (*ScalingPolicy) SetAdjustment

func (o *ScalingPolicy) SetAdjustment(v *int) *ScalingPolicy

func (*ScalingPolicy) SetCooldown

func (o *ScalingPolicy) SetCooldown(v *int) *ScalingPolicy

func (*ScalingPolicy) SetDimensions

func (o *ScalingPolicy) SetDimensions(v []*Dimension) *ScalingPolicy

func (*ScalingPolicy) SetEvaluationPeriods

func (o *ScalingPolicy) SetEvaluationPeriods(v *int) *ScalingPolicy

func (*ScalingPolicy) SetIsEnabled

func (o *ScalingPolicy) SetIsEnabled(v *bool) *ScalingPolicy

func (*ScalingPolicy) SetMaxCapacityPerScale added in v1.52.1

func (o *ScalingPolicy) SetMaxCapacityPerScale(v *string) *ScalingPolicy

func (*ScalingPolicy) SetMaxTargetCapacity

func (o *ScalingPolicy) SetMaxTargetCapacity(v *int) *ScalingPolicy

func (*ScalingPolicy) SetMetricName

func (o *ScalingPolicy) SetMetricName(v *string) *ScalingPolicy

func (*ScalingPolicy) SetMinTargetCapacity

func (o *ScalingPolicy) SetMinTargetCapacity(v *int) *ScalingPolicy

func (*ScalingPolicy) SetNamespace

func (o *ScalingPolicy) SetNamespace(v *string) *ScalingPolicy

func (*ScalingPolicy) SetOperator

func (o *ScalingPolicy) SetOperator(v *string) *ScalingPolicy

func (*ScalingPolicy) SetPeriod

func (o *ScalingPolicy) SetPeriod(v *int) *ScalingPolicy

func (*ScalingPolicy) SetPolicyName

func (o *ScalingPolicy) SetPolicyName(v *string) *ScalingPolicy

func (*ScalingPolicy) SetPredictive

func (o *ScalingPolicy) SetPredictive(v *Predictive) *ScalingPolicy

func (*ScalingPolicy) SetSource

func (o *ScalingPolicy) SetSource(v *string) *ScalingPolicy

func (*ScalingPolicy) SetStatistic

func (o *ScalingPolicy) SetStatistic(v *string) *ScalingPolicy

func (*ScalingPolicy) SetStepAdjustments added in v1.99.0

func (o *ScalingPolicy) SetStepAdjustments(v []*StepAdjustment) *ScalingPolicy

func (*ScalingPolicy) SetTarget

func (o *ScalingPolicy) SetTarget(v *float64) *ScalingPolicy

func (*ScalingPolicy) SetThreshold

func (o *ScalingPolicy) SetThreshold(v *float64) *ScalingPolicy

func (*ScalingPolicy) SetUnit

func (o *ScalingPolicy) SetUnit(v *string) *ScalingPolicy

type ScalingStrategy

type ScalingStrategy struct {
	TerminateAtEndOfBillingHour *bool   `json:"terminateAtEndOfBillingHour,omitempty"`
	TerminationPolicy           *string `json:"terminationPolicy,omitempty"`
	// contains filtered or unexported fields
}

func (ScalingStrategy) MarshalJSON

func (o ScalingStrategy) MarshalJSON() ([]byte, error)

func (*ScalingStrategy) SetTerminateAtEndOfBillingHour

func (o *ScalingStrategy) SetTerminateAtEndOfBillingHour(v *bool) *ScalingStrategy

func (*ScalingStrategy) SetTerminationPolicy

func (o *ScalingStrategy) SetTerminationPolicy(v *string) *ScalingStrategy

type Scheduling

type Scheduling struct {
	Tasks []*Task `json:"tasks,omitempty"`
	// contains filtered or unexported fields
}

func (Scheduling) MarshalJSON

func (o Scheduling) MarshalJSON() ([]byte, error)

func (*Scheduling) SetTasks

func (o *Scheduling) SetTasks(v []*Task) *Scheduling

type Service

type Service interface {
	List(context.Context, *ListGroupsInput) (*ListGroupsOutput, error)
	Create(context.Context, *CreateGroupInput) (*CreateGroupOutput, error)
	Read(context.Context, *ReadGroupInput) (*ReadGroupOutput, error)
	Update(context.Context, *UpdateGroupInput) (*UpdateGroupOutput, error)
	Delete(context.Context, *DeleteGroupInput) (*DeleteGroupOutput, error)
	Status(context.Context, *StatusGroupInput) (*StatusGroupOutput, error)
	Scale(context.Context, *ScaleGroupInput) (*ScaleGroupOutput, error)
	Detach(context.Context, *DetachGroupInput) (*DetachGroupOutput, error)

	DeploymentStatus(context.Context, *DeploymentStatusInput) (*RollGroupOutput, error)
	DeploymentStatusECS(context.Context, *DeploymentStatusInput) (*RollGroupOutput, error)
	StopDeployment(context.Context, *StopDeploymentInput) (*StopDeploymentOutput, error)

	Roll(context.Context, *RollGroupInput) (*RollGroupOutput, error)
	RollECS(context.Context, *RollECSGroupInput) (*RollGroupOutput, error)

	GetInstanceHealthiness(context.Context, *GetInstanceHealthinessInput) (*GetInstanceHealthinessOutput, error)
	GetGroupEvents(context.Context, *GetGroupEventsInput) (*GetGroupEventsOutput, error)

	ImportBeanstalkEnv(context.Context, *ImportBeanstalkInput) (*ImportBeanstalkOutput, error)
	StartBeanstalkMaintenance(context.Context, *BeanstalkMaintenanceInput) (*BeanstalkMaintenanceOutput, error)
	FinishBeanstalkMaintenance(context.Context, *BeanstalkMaintenanceInput) (*BeanstalkMaintenanceOutput, error)
	GetBeanstalkMaintenanceStatus(context.Context, *BeanstalkMaintenanceInput) (*string, error)

	CreateSuspensions(context.Context, *CreateSuspensionsInput) (*CreateSuspensionsOutput, error)
	ListSuspensions(context.Context, *ListSuspensionsInput) (*ListSuspensionsOutput, error)
	DeleteSuspensions(context.Context, *DeleteSuspensionsInput) (*DeleteSuspensionsOutput, error)

	ListStatefulInstances(context.Context, *ListStatefulInstancesInput) (*ListStatefulInstancesOutput, error)
	PauseStatefulInstance(context.Context, *PauseStatefulInstanceInput) (*PauseStatefulInstanceOutput, error)
	ResumeStatefulInstance(context.Context, *ResumeStatefulInstanceInput) (*ResumeStatefulInstanceOutput, error)
	RecycleStatefulInstance(context.Context, *RecycleStatefulInstanceInput) (*RecycleStatefulInstanceOutput, error)
	DeallocateStatefulInstance(context.Context, *DeallocateStatefulInstanceInput) (*DeallocateStatefulInstanceOutput, error)
}

Service provides the API operation methods for making requests to endpoints of the Spotinst API. See this package's package overview docs for details on the service.

type ServiceOp

type ServiceOp struct {
	Client *client.Client
}

func New

func New(sess *session.Session, cfgs ...*spotinst.Config) *ServiceOp

func (*ServiceOp) Create

func (s *ServiceOp) Create(ctx context.Context, input *CreateGroupInput) (*CreateGroupOutput, error)

func (*ServiceOp) CreateSuspensions added in v1.61.0

func (s *ServiceOp) CreateSuspensions(ctx context.Context, input *CreateSuspensionsInput) (*CreateSuspensionsOutput, error)

func (*ServiceOp) DeallocateStatefulInstance added in v1.82.0

func (s *ServiceOp) DeallocateStatefulInstance(ctx context.Context, input *DeallocateStatefulInstanceInput) (*DeallocateStatefulInstanceOutput, error)

func (*ServiceOp) Delete

func (s *ServiceOp) Delete(ctx context.Context, input *DeleteGroupInput) (*DeleteGroupOutput, error)

func (*ServiceOp) DeleteSuspensions added in v1.61.0

func (s *ServiceOp) DeleteSuspensions(ctx context.Context, input *DeleteSuspensionsInput) (*DeleteSuspensionsOutput, error)

func (*ServiceOp) DeploymentStatus

func (s *ServiceOp) DeploymentStatus(ctx context.Context, input *DeploymentStatusInput) (*RollGroupOutput, error)

func (*ServiceOp) DeploymentStatusECS added in v1.38.1

func (s *ServiceOp) DeploymentStatusECS(ctx context.Context, input *DeploymentStatusInput) (*RollGroupOutput, error)

func (*ServiceOp) Detach

func (s *ServiceOp) Detach(ctx context.Context, input *DetachGroupInput) (*DetachGroupOutput, error)

func (*ServiceOp) FinishBeanstalkMaintenance

func (s *ServiceOp) FinishBeanstalkMaintenance(ctx context.Context, input *BeanstalkMaintenanceInput) (*BeanstalkMaintenanceOutput, error)

func (*ServiceOp) GetBeanstalkMaintenanceStatus

func (s *ServiceOp) GetBeanstalkMaintenanceStatus(ctx context.Context, input *BeanstalkMaintenanceInput) (*string, error)

func (*ServiceOp) GetGroupEvents

func (s *ServiceOp) GetGroupEvents(ctx context.Context, input *GetGroupEventsInput) (*GetGroupEventsOutput, error)

func (*ServiceOp) GetInstanceHealthiness

func (s *ServiceOp) GetInstanceHealthiness(ctx context.Context, input *GetInstanceHealthinessInput) (*GetInstanceHealthinessOutput, error)

func (*ServiceOp) ImportBeanstalkEnv

func (s *ServiceOp) ImportBeanstalkEnv(ctx context.Context, input *ImportBeanstalkInput) (*ImportBeanstalkOutput, error)

func (*ServiceOp) List

func (*ServiceOp) ListStatefulInstances added in v1.82.0

func (s *ServiceOp) ListStatefulInstances(ctx context.Context, input *ListStatefulInstancesInput) (*ListStatefulInstancesOutput, error)

func (*ServiceOp) ListSuspensions added in v1.61.0

func (s *ServiceOp) ListSuspensions(ctx context.Context, input *ListSuspensionsInput) (*ListSuspensionsOutput, error)

func (*ServiceOp) PauseStatefulInstance added in v1.82.0

func (s *ServiceOp) PauseStatefulInstance(ctx context.Context, input *PauseStatefulInstanceInput) (*PauseStatefulInstanceOutput, error)

func (*ServiceOp) Read

func (s *ServiceOp) Read(ctx context.Context, input *ReadGroupInput) (*ReadGroupOutput, error)

func (*ServiceOp) RecycleStatefulInstance added in v1.82.0

func (s *ServiceOp) RecycleStatefulInstance(ctx context.Context, input *RecycleStatefulInstanceInput) (*RecycleStatefulInstanceOutput, error)

func (*ServiceOp) ResumeStatefulInstance added in v1.82.0

func (s *ServiceOp) ResumeStatefulInstance(ctx context.Context, input *ResumeStatefulInstanceInput) (*ResumeStatefulInstanceOutput, error)

func (*ServiceOp) Roll

func (s *ServiceOp) Roll(ctx context.Context, input *RollGroupInput) (*RollGroupOutput, error)

func (*ServiceOp) RollECS

func (s *ServiceOp) RollECS(ctx context.Context, input *RollECSGroupInput) (*RollGroupOutput, error)

func (*ServiceOp) Scale

func (s *ServiceOp) Scale(ctx context.Context, input *ScaleGroupInput) (*ScaleGroupOutput, error)

func (*ServiceOp) StartBeanstalkMaintenance

func (s *ServiceOp) StartBeanstalkMaintenance(ctx context.Context, input *BeanstalkMaintenanceInput) (*BeanstalkMaintenanceOutput, error)

func (*ServiceOp) Status

func (s *ServiceOp) Status(ctx context.Context, input *StatusGroupInput) (*StatusGroupOutput, error)

func (*ServiceOp) StopDeployment

func (s *ServiceOp) StopDeployment(ctx context.Context, input *StopDeploymentInput) (*StopDeploymentOutput, error)

func (*ServiceOp) Update

func (s *ServiceOp) Update(ctx context.Context, input *UpdateGroupInput) (*UpdateGroupOutput, error)

type Signal

type Signal struct {
	Name    *string `json:"name,omitempty"`
	Timeout *int    `json:"timeout,omitempty"`
	// contains filtered or unexported fields
}

func (Signal) MarshalJSON

func (o Signal) MarshalJSON() ([]byte, error)

func (*Signal) SetName

func (o *Signal) SetName(v *string) *Signal

func (*Signal) SetTimeout

func (o *Signal) SetTimeout(v *int) *Signal

type Snapshots added in v1.96.0

type Snapshots struct {
	ShouldTag *bool `json:"shouldTag,omitempty"`
	// contains filtered or unexported fields
}

func (Snapshots) MarshalJSON added in v1.96.0

func (o Snapshots) MarshalJSON() ([]byte, error)

func (*Snapshots) SetShouldTag added in v1.96.0

func (o *Snapshots) SetShouldTag(v *bool) *Snapshots

type Spot

type Spot struct {
	SpotInstanceRequestID *string `json:"spotInstanceRequestId,omitempty"`
}

type StatefulDeallocation

type StatefulDeallocation struct {
	ShouldDeleteImages            *bool `json:"shouldDeleteImages,omitempty"`
	ShouldDeleteNetworkInterfaces *bool `json:"shouldDeleteNetworkInterfaces,omitempty"`
	ShouldDeleteVolumes           *bool `json:"shouldDeleteVolumes,omitempty"`
	ShouldDeleteSnapshots         *bool `json:"shouldDeleteSnapshots,omitempty"`
}

type StatefulInstance added in v1.82.0

type StatefulInstance struct {
	StatefulInstanceID *string   `json:"id,omitempty"`
	InstanceID         *string   `json:"instanceId,omitempty"`
	State              *string   `json:"state,omitempty"`
	PrivateIP          *string   `json:"privateIp,omitempty"`
	ImageID            *string   `json:"imageId,omitempty"`
	Devices            []*Device `json:"devices,omitempty"`
	CreatedAt          *string   `json:"createdAt,omitempty"`
	LaunchedAt         *string   `json:"launchedAt,omitempty"`
	// contains filtered or unexported fields
}

func StatefulInstanceFromJSON added in v1.82.0

func StatefulInstanceFromJSON(in []byte) (*StatefulInstance, error)

func (StatefulInstance) MarshalJSON added in v1.82.0

func (o StatefulInstance) MarshalJSON() ([]byte, error)

func (*StatefulInstance) SetDevices added in v1.82.0

func (o *StatefulInstance) SetDevices(v []*Device) *StatefulInstance

func (*StatefulInstance) SetImageID added in v1.82.0

func (o *StatefulInstance) SetImageID(v *string) *StatefulInstance

func (*StatefulInstance) SetInstanceID added in v1.82.0

func (o *StatefulInstance) SetInstanceID(v *string) *StatefulInstance

func (*StatefulInstance) SetPrivateIP added in v1.82.0

func (o *StatefulInstance) SetPrivateIP(v *string) *StatefulInstance

func (*StatefulInstance) SetState added in v1.82.0

func (o *StatefulInstance) SetState(v *string) *StatefulInstance

func (*StatefulInstance) SetStatefulInstanceID added in v1.82.0

func (o *StatefulInstance) SetStatefulInstanceID(v *string) *StatefulInstance

type StatusGroupInput

type StatusGroupInput struct {
	GroupID *string `json:"groupId,omitempty"`
}

type StatusGroupOutput

type StatusGroupOutput struct {
	Instances []*Instance `json:"instances,omitempty"`
}

type StepAdjustment added in v1.99.0

type StepAdjustment struct {
	Action    *Action `json:"action,omitempty"`
	Threshold *int    `json:"threshold,omitempty"`
	// contains filtered or unexported fields
}

func (StepAdjustment) MarshalJSON added in v1.99.0

func (o StepAdjustment) MarshalJSON() ([]byte, error)

func (*StepAdjustment) SetAction added in v1.99.0

func (o *StepAdjustment) SetAction(v *Action) *StepAdjustment

func (*StepAdjustment) SetThreshold added in v1.99.0

func (o *StepAdjustment) SetThreshold(v *int) *StepAdjustment

type StopDeploymentInput

type StopDeploymentInput struct {
	GroupID *string `json:"groupId,omitempty"`
	RollID  *string `json:"id,omitempty"`
	Roll    *Roll   `json:"roll,omitempty"`
}

type StopDeploymentOutput

type StopDeploymentOutput struct{}

type Strategy

type Strategy struct {
	Risk                     *float64         `json:"risk,omitempty"`
	OnDemandCount            *int             `json:"onDemandCount,omitempty"`
	DrainingTimeout          *int             `json:"drainingTimeout,omitempty"`
	AvailabilityVsCost       *string          `json:"availabilityVsCost,omitempty"`
	LifetimePeriod           *string          `json:"lifetimePeriod,omitempty"`
	UtilizeReservedInstances *bool            `json:"utilizeReservedInstances,omitempty"`
	FallbackToOnDemand       *bool            `json:"fallbackToOd,omitempty"`
	SpinUpTime               *int             `json:"spinUpTime,omitempty"`
	Signals                  []*Signal        `json:"signals,omitempty"`
	Persistence              *Persistence     `json:"persistence,omitempty"`
	RevertToSpot             *RevertToSpot    `json:"revertToSpot,omitempty"`
	ScalingStrategy          *ScalingStrategy `json:"scalingStrategy,omitempty"`
	UtilizeCommitments       *bool            `json:"utilizeCommitments,omitempty"`
	MinimumInstanceLifetime  *int             `json:"minimumInstanceLifetime,omitempty"`
	// contains filtered or unexported fields
}

func (Strategy) MarshalJSON

func (o Strategy) MarshalJSON() ([]byte, error)

func (*Strategy) SetAvailabilityVsCost

func (o *Strategy) SetAvailabilityVsCost(v *string) *Strategy

func (*Strategy) SetDrainingTimeout

func (o *Strategy) SetDrainingTimeout(v *int) *Strategy

func (*Strategy) SetFallbackToOnDemand

func (o *Strategy) SetFallbackToOnDemand(v *bool) *Strategy

func (*Strategy) SetLifetimePeriod

func (o *Strategy) SetLifetimePeriod(v *string) *Strategy

func (*Strategy) SetMinimumInstanceLifetime added in v1.77.0

func (o *Strategy) SetMinimumInstanceLifetime(v *int) *Strategy

func (*Strategy) SetOnDemandCount

func (o *Strategy) SetOnDemandCount(v *int) *Strategy

func (*Strategy) SetPersistence

func (o *Strategy) SetPersistence(v *Persistence) *Strategy

func (*Strategy) SetRevertToSpot

func (o *Strategy) SetRevertToSpot(v *RevertToSpot) *Strategy

func (*Strategy) SetRisk

func (o *Strategy) SetRisk(v *float64) *Strategy

func (*Strategy) SetScalingStrategy

func (o *Strategy) SetScalingStrategy(v *ScalingStrategy) *Strategy

func (*Strategy) SetSignals

func (o *Strategy) SetSignals(v []*Signal) *Strategy

func (*Strategy) SetSpinUpTime

func (o *Strategy) SetSpinUpTime(v *int) *Strategy

func (*Strategy) SetUtilizeCommitments added in v1.72.0

func (o *Strategy) SetUtilizeCommitments(v *bool) *Strategy

func (*Strategy) SetUtilizeReservedInstances

func (o *Strategy) SetUtilizeReservedInstances(v *bool) *Strategy

type SubEvent

type SubEvent struct {
	// common fields
	Type *string `json:"type,omitempty"`

	// type scaleUp
	NewSpots     []*Spot        `json:"newSpots,omitempty"`
	NewInstances []*NewInstance `json:"newInstances,omitempty"`

	// type scaleDown
	TerminatedSpots     []*Spot               `json:"terminatedSpots,omitempty"`
	TerminatedInstances []*TerminatedInstance `json:"terminatedInstances,omitempty"`

	// type scaleReason
	ScalingPolicyName *string `json:"scalingPolicyName,omitempty"`
	Value             *int    `json:"value,omitempty"`
	Unit              *string `json:"unit,omitempty"`
	Threshold         *int    `json:"threshold,omitempty"`

	// type detachedInstance
	InstanceID *string `json:"instanceId,omitempty"`

	// type unhealthyInstances
	InstanceIDs []*string `json:"instanceIds,omitempty"`

	// type rollInfo
	ID              *string `json:"id,omitempty"`
	GroupID         *string `json:"groupId,omitempty"`
	CurrentBatch    *int    `json:"currentBatch,omitempty"`
	Status          *string `json:"status,omitempty"`
	CreatedAt       *string `json:"createdAt,omitempty"`
	NumberOfBatches *int    `json:"numOfBatches,omitempty"`
	GracePeriod     *int    `json:"gracePeriod,omitempty"`

	// type recoverInstances
	OldSpotRequestIDs []*string `json:"oldSpotRequestIDs,omitempty"`
	NewSpotRequestIDs []*string `json:"newSpotRequestIDs,omitempty"`
	OldInstanceIDs    []*string `json:"oldInstanceIDs,omitempty"`
	NewInstanceIDs    []*string `json:"newInstanceIDs,omitempty"`
}

type SuspendProcesses added in v1.60.0

type SuspendProcesses struct {
	Suspensions []*Suspension `json:"suspensions,omitempty"`
	Processes   []string      `json:"processes,omitempty"`
}

type Suspension added in v1.60.0

type Suspension struct {
	Name         *string `json:"name,omitempty"`
	TTLInMinutes *int    `json:"ttlInMinutes,omitempty"`

	// Read-only fields.
	ExpiresAt *time.Time `json:"expiresAt,omitempty"`
	// contains filtered or unexported fields
}

func (Suspension) MarshalJSON added in v1.60.0

func (o Suspension) MarshalJSON() ([]byte, error)

func (*Suspension) SetName added in v1.60.0

func (o *Suspension) SetName(v *string) *Suspension

func (*Suspension) SetTTLInMinutes added in v1.60.0

func (o *Suspension) SetTTLInMinutes(v *int) *Suspension

type Tag

type Tag struct {
	Key   *string `json:"tagKey,omitempty"`
	Value *string `json:"tagValue,omitempty"`
	// contains filtered or unexported fields
}

func (Tag) MarshalJSON

func (o Tag) MarshalJSON() ([]byte, error)

func (*Tag) SetKey

func (o *Tag) SetKey(v *string) *Tag

func (*Tag) SetValue

func (o *Tag) SetValue(v *string) *Tag

type TargetGroupConfig added in v1.100.0

type TargetGroupConfig struct {
	VPCID                      *string  `json:"vpcId,omitempty"`
	HealthCheckIntervalSeconds *int     `json:"healthCheckIntervalSeconds,omitempty"`
	HealthCheckPath            *string  `json:"healthCheckPath,omitempty"`
	HealthCheckPort            *string  `json:"healthCheckPort,omitempty"`
	HealthCheckProtocol        *string  `json:"healthCheckProtocol,omitempty"`
	HealthCheckTimeoutSeconds  *int     `json:"healthCheckTimeoutSeconds,omitempty"`
	HealthyThresholdCount      *int     `json:"healthyThresholdCount,omitempty"`
	UnhealthyThresholdCount    *int     `json:"unhealthyThresholdCount,omitempty"`
	Port                       *int     `json:"port,omitempty"`
	Protocol                   *string  `json:"protocol,omitempty"`
	ProtocolVersion            *string  `json:"protocolVersion,omitempty"`
	Matcher                    *Matcher `json:"matcher,omitempty"`
	Tags                       []*Tag   `json:"tags,omitempty"`
	// contains filtered or unexported fields
}

func (TargetGroupConfig) MarshalJSON added in v1.100.0

func (o TargetGroupConfig) MarshalJSON() ([]byte, error)

func (*TargetGroupConfig) SetHealthCheckIntervalSeconds added in v1.100.0

func (o *TargetGroupConfig) SetHealthCheckIntervalSeconds(v *int) *TargetGroupConfig

func (*TargetGroupConfig) SetHealthCheckPath added in v1.100.0

func (o *TargetGroupConfig) SetHealthCheckPath(v *string) *TargetGroupConfig

func (*TargetGroupConfig) SetHealthCheckPort added in v1.100.0

func (o *TargetGroupConfig) SetHealthCheckPort(v *string) *TargetGroupConfig

func (*TargetGroupConfig) SetHealthCheckProtocol added in v1.100.0

func (o *TargetGroupConfig) SetHealthCheckProtocol(v *string) *TargetGroupConfig

func (*TargetGroupConfig) SetHealthCheckTimeoutSeconds added in v1.100.0

func (o *TargetGroupConfig) SetHealthCheckTimeoutSeconds(v *int) *TargetGroupConfig

func (*TargetGroupConfig) SetHealthyThresholdCount added in v1.100.0

func (o *TargetGroupConfig) SetHealthyThresholdCount(v *int) *TargetGroupConfig

func (*TargetGroupConfig) SetMatcher added in v1.100.0

func (o *TargetGroupConfig) SetMatcher(v *Matcher) *TargetGroupConfig

func (*TargetGroupConfig) SetPort added in v1.100.0

func (o *TargetGroupConfig) SetPort(v *int) *TargetGroupConfig

func (*TargetGroupConfig) SetProtocol added in v1.100.0

func (o *TargetGroupConfig) SetProtocol(v *string) *TargetGroupConfig

func (*TargetGroupConfig) SetProtocolVersion added in v1.100.0

func (o *TargetGroupConfig) SetProtocolVersion(v *string) *TargetGroupConfig

func (*TargetGroupConfig) SetTags added in v1.100.0

func (o *TargetGroupConfig) SetTags(v []*Tag) *TargetGroupConfig

func (*TargetGroupConfig) SetUnhealthyThresholdCount added in v1.100.0

func (o *TargetGroupConfig) SetUnhealthyThresholdCount(v *int) *TargetGroupConfig

func (*TargetGroupConfig) SetVPCId added in v1.100.0

func (o *TargetGroupConfig) SetVPCId(v *string) *TargetGroupConfig

type Task

type Task struct {
	IsEnabled            *bool   `json:"isEnabled,omitempty"`
	Type                 *string `json:"taskType,omitempty"`
	Frequency            *string `json:"frequency,omitempty"`
	CronExpression       *string `json:"cronExpression,omitempty"`
	StartTime            *string `json:"startTime,omitempty"`
	ScaleTargetCapacity  *int    `json:"scaleTargetCapacity,omitempty"`
	ScaleMinCapacity     *int    `json:"scaleMinCapacity,omitempty"`
	ScaleMaxCapacity     *int    `json:"scaleMaxCapacity,omitempty"`
	BatchSizePercentage  *int    `json:"batchSizePercentage,omitempty"`
	GracePeriod          *int    `json:"gracePeriod,omitempty"`
	TargetCapacity       *int    `json:"targetCapacity,omitempty"`
	MinCapacity          *int    `json:"minCapacity,omitempty"`
	MaxCapacity          *int    `json:"maxCapacity,omitempty"`
	Adjustment           *int    `json:"adjustment,omitempty"`
	AdjustmentPercentage *int    `json:"adjustmentPercentage,omitempty"`
	// contains filtered or unexported fields
}

func (Task) MarshalJSON

func (o Task) MarshalJSON() ([]byte, error)

func (*Task) SetAdjustment

func (o *Task) SetAdjustment(v *int) *Task

func (*Task) SetAdjustmentPercentage

func (o *Task) SetAdjustmentPercentage(v *int) *Task

func (*Task) SetBatchSizePercentage

func (o *Task) SetBatchSizePercentage(v *int) *Task

func (*Task) SetCronExpression

func (o *Task) SetCronExpression(v *string) *Task

func (*Task) SetFrequency

func (o *Task) SetFrequency(v *string) *Task

func (*Task) SetGracePeriod

func (o *Task) SetGracePeriod(v *int) *Task

func (*Task) SetIsEnabled

func (o *Task) SetIsEnabled(v *bool) *Task

func (*Task) SetMaxCapacity

func (o *Task) SetMaxCapacity(v *int) *Task

func (*Task) SetMinCapacity

func (o *Task) SetMinCapacity(v *int) *Task

func (*Task) SetScaleMaxCapacity

func (o *Task) SetScaleMaxCapacity(v *int) *Task

func (*Task) SetScaleMinCapacity

func (o *Task) SetScaleMinCapacity(v *int) *Task

func (*Task) SetScaleTargetCapacity

func (o *Task) SetScaleTargetCapacity(v *int) *Task

func (*Task) SetStartTime

func (o *Task) SetStartTime(v *string) *Task

func (*Task) SetTargetCapacity

func (o *Task) SetTargetCapacity(v *int) *Task

func (*Task) SetType

func (o *Task) SetType(v *string) *Task

type TerminatedInstance

type TerminatedInstance struct {
}

type UpdateGroupInput

type UpdateGroupInput struct {
	Group                *Group `json:"group,omitempty"`
	ShouldResumeStateful *bool  `json:"-"`
	AutoApplyTags        *bool  `json:"-"`
}

type UpdateGroupOutput

type UpdateGroupOutput struct {
	Group *Group `json:"group,omitempty"`
}

type Volumes added in v1.96.0

type Volumes struct {
	ShouldTag *bool `json:"shouldTag,omitempty"`
	// contains filtered or unexported fields
}

func (Volumes) MarshalJSON added in v1.96.0

func (o Volumes) MarshalJSON() ([]byte, error)

func (*Volumes) SetShouldTag added in v1.96.0

func (o *Volumes) SetShouldTag(v *bool) *Volumes

Jump to

Keyboard shortcuts

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