Documentation ¶
Index ¶
- Variables
- type AMIs
- type Action
- func (o Action) MarshalJSON() ([]byte, error)
- func (o *Action) SetAdjustment(v *string) *Action
- func (o *Action) SetMaxTargetCapacity(v *string) *Action
- func (o *Action) SetMaximum(v *string) *Action
- func (o *Action) SetMinTargetCapacity(v *string) *Action
- func (o *Action) SetMinimum(v *string) *Action
- func (o *Action) SetTarget(v *string) *Action
- func (o *Action) SetType(v *string) *Action
- type AutoScale
- func (o AutoScale) MarshalJSON() ([]byte, error)
- func (o *AutoScale) SetCooldown(v *int) *AutoScale
- func (o *AutoScale) SetDown(v *AutoScaleDown) *AutoScale
- func (o *AutoScale) SetHeadroom(v *AutoScaleHeadroom) *AutoScale
- func (o *AutoScale) SetIsAutoConfig(v *bool) *AutoScale
- func (o *AutoScale) SetIsEnabled(v *bool) *AutoScale
- type AutoScaleAttributes
- type AutoScaleConstraint
- type AutoScaleDockerSwarm
- type AutoScaleDown
- type AutoScaleECS
- type AutoScaleHeadroom
- func (o AutoScaleHeadroom) MarshalJSON() ([]byte, error)
- func (o *AutoScaleHeadroom) SetCPUPerUnit(v *int) *AutoScaleHeadroom
- func (o *AutoScaleHeadroom) SetGPUPerUnit(v *int) *AutoScaleHeadroom
- func (o *AutoScaleHeadroom) SetMemoryPerUnit(v *int) *AutoScaleHeadroom
- func (o *AutoScaleHeadroom) SetNumOfUnits(v *int) *AutoScaleHeadroom
- type AutoScaleKubernetes
- type AutoScaleLabel
- type AutoScaleNomad
- type AvailabilityZone
- type Batch
- type BeanstalkDeploymentPreferences
- func (o BeanstalkDeploymentPreferences) MarshalJSON() ([]byte, error)
- func (o *BeanstalkDeploymentPreferences) SetAutomaticRoll(v *bool) *BeanstalkDeploymentPreferences
- func (o *BeanstalkDeploymentPreferences) SetBatchSizePercentage(v *int) *BeanstalkDeploymentPreferences
- func (o *BeanstalkDeploymentPreferences) SetGracePeriod(v *int) *BeanstalkDeploymentPreferences
- func (o *BeanstalkDeploymentPreferences) SetStrategy(v *BeanstalkDeploymentStrategy) *BeanstalkDeploymentPreferences
- type BeanstalkDeploymentStrategy
- type BeanstalkMaintenanceInput
- type BeanstalkMaintenanceItem
- type BeanstalkMaintenanceOutput
- type BeanstalkManagedActions
- type BeanstalkPlatformUpdate
- func (o BeanstalkPlatformUpdate) MarshalJSON() ([]byte, error)
- func (o *BeanstalkPlatformUpdate) SetPerformAt(v *string) *BeanstalkPlatformUpdate
- func (o *BeanstalkPlatformUpdate) SetTimeWindow(v *string) *BeanstalkPlatformUpdate
- func (o *BeanstalkPlatformUpdate) SetUpdateLevel(v *string) *BeanstalkPlatformUpdate
- type BlockDeviceMapping
- type CPUOptions
- type Capacity
- type ChefIntegration
- func (o ChefIntegration) MarshalJSON() ([]byte, error)
- func (o *ChefIntegration) SetOrganization(v *string) *ChefIntegration
- func (o *ChefIntegration) SetPEMKey(v *string) *ChefIntegration
- func (o *ChefIntegration) SetServer(v *string) *ChefIntegration
- func (o *ChefIntegration) SetUser(v *string) *ChefIntegration
- func (o *ChefIntegration) SetVersion(v *string) *ChefIntegration
- type CodeDeployIntegration
- func (o CodeDeployIntegration) MarshalJSON() ([]byte, error)
- func (o *CodeDeployIntegration) SetCleanUpOnFailure(v *bool) *CodeDeployIntegration
- func (o *CodeDeployIntegration) SetDeploymentGroups(v []*DeploymentGroup) *CodeDeployIntegration
- func (o *CodeDeployIntegration) SetTerminateInstanceOnFailure(v *bool) *CodeDeployIntegration
- type Compute
- func (o Compute) MarshalJSON() ([]byte, error)
- func (o *Compute) SetAvailabilityZones(v []*AvailabilityZone) *Compute
- func (o *Compute) SetEBSVolumePool(v []*EBSVolume) *Compute
- func (o *Compute) SetElasticIPs(v []string) *Compute
- func (o *Compute) SetInstanceTypes(v *InstanceTypes) *Compute
- func (o *Compute) SetLaunchSpecification(v *LaunchSpecification) *Compute
- func (o *Compute) SetPreferredAvailabilityZones(v []string) *Compute
- func (o *Compute) SetPrivateIPs(v []string) *Compute
- func (o *Compute) SetProduct(v *string) *Compute
- func (o *Compute) SetSubnetIDs(v []string) *Compute
- type CreateGroupInput
- type CreateGroupOutput
- type CreateSuspensionsInput
- type CreateSuspensionsOutput
- type CreditSpecification
- type DeallocateStatefulInstanceInput
- type DeallocateStatefulInstanceOutput
- type DeleteGroupInput
- type DeleteGroupOutput
- type DeleteSuspensionsInput
- type DeleteSuspensionsOutput
- type DeploymentGroup
- type DeploymentStatusInput
- type DetachGroupInput
- type DetachGroupOutput
- type Device
- type Dimension
- type DockerSwarmIntegration
- func (o DockerSwarmIntegration) MarshalJSON() ([]byte, error)
- func (o *DockerSwarmIntegration) SetAutoScale(v *AutoScaleDockerSwarm) *DockerSwarmIntegration
- func (o *DockerSwarmIntegration) SetMasterHost(v *string) *DockerSwarmIntegration
- func (o *DockerSwarmIntegration) SetMasterPort(v *int) *DockerSwarmIntegration
- type Domain
- type EBS
- func (o EBS) MarshalJSON() ([]byte, error)
- func (o *EBS) SetDeleteOnTermination(v *bool) *EBS
- func (o *EBS) SetEncrypted(v *bool) *EBS
- func (o *EBS) SetIOPS(v *int) *EBS
- func (o *EBS) SetKmsKeyId(v *string) *EBS
- func (o *EBS) SetSnapshotId(v *string) *EBS
- func (o *EBS) SetThroughput(v *int) *EBS
- func (o *EBS) SetVolumeSize(v *int) *EBS
- func (o *EBS) SetVolumeType(v *string) *EBS
- type EBSVolume
- type EC2ContainerServiceIntegration
- func (o EC2ContainerServiceIntegration) MarshalJSON() ([]byte, error)
- func (o *EC2ContainerServiceIntegration) SetAutoScale(v *AutoScaleECS) *EC2ContainerServiceIntegration
- func (o *EC2ContainerServiceIntegration) SetBatch(v *Batch) *EC2ContainerServiceIntegration
- func (o *EC2ContainerServiceIntegration) SetClusterName(v *string) *EC2ContainerServiceIntegration
- type ENIs
- type ElasticBeanstalkIntegration
- func (o ElasticBeanstalkIntegration) MarshalJSON() ([]byte, error)
- func (o *ElasticBeanstalkIntegration) SetDeploymentPreferences(v *BeanstalkDeploymentPreferences) *ElasticBeanstalkIntegration
- func (o *ElasticBeanstalkIntegration) SetEnvironmentID(v *string) *ElasticBeanstalkIntegration
- func (o *ElasticBeanstalkIntegration) SetManagedActions(v *BeanstalkManagedActions) *ElasticBeanstalkIntegration
- type Expressions
- type GetGroupEventsInput
- type GetGroupEventsOutput
- type GetInstanceHealthinessInput
- type GetInstanceHealthinessOutput
- type GitlabIntegration
- type GitlabRunner
- type Group
- func (o Group) MarshalJSON() ([]byte, error)
- func (o *Group) SetCapacity(v *Capacity) *Group
- func (o *Group) SetCompute(v *Compute) *Group
- func (o *Group) SetDescription(v *string) *Group
- func (o *Group) SetId(v *string) *Group
- func (o *Group) SetIntegration(v *Integration) *Group
- func (o *Group) SetName(v *string) *Group
- func (o *Group) SetRegion(v *string) *Group
- func (o *Group) SetScaling(v *Scaling) *Group
- func (o *Group) SetScheduling(v *Scheduling) *Group
- func (o *Group) SetStrategy(v *Strategy) *Group
- type GroupEvent
- type IAMInstanceProfile
- type ITF
- func (o ITF) MarshalJSON() ([]byte, error)
- func (o *ITF) SetDefaultStaticTargetGroups(v []*StaticTargetGroup) *ITF
- func (o *ITF) SetFixedTargetGroups(v *bool) *ITF
- func (o *ITF) SetLoadBalancers(v []*ITFLoadBalancer) *ITF
- func (o *ITF) SetMigrationHealthinessThreshold(v *int) *ITF
- func (o *ITF) SetTargetGroupConfig(v *TargetGroupConfig) *ITF
- func (o *ITF) SetWeightStrategy(v *string) *ITF
- type ITFLoadBalancer
- type Image
- type ImportBeanstalkInput
- type ImportBeanstalkOutput
- type Instance
- type InstanceHealth
- type InstanceTypeWeight
- type InstanceTypes
- func (o InstanceTypes) MarshalJSON() ([]byte, error)
- func (o *InstanceTypes) SetOnDemand(v *string) *InstanceTypes
- func (o *InstanceTypes) SetPreferredSpot(v []string) *InstanceTypes
- func (o *InstanceTypes) SetSpot(v []string) *InstanceTypes
- func (o *InstanceTypes) SetWeights(v []*InstanceTypeWeight) *InstanceTypes
- type Integration
- func (o Integration) MarshalJSON() ([]byte, error)
- func (o *Integration) SetChef(v *ChefIntegration) *Integration
- func (o *Integration) SetCodeDeploy(v *CodeDeployIntegration) *Integration
- func (o *Integration) SetDockerSwarm(v *DockerSwarmIntegration) *Integration
- func (o *Integration) SetEC2ContainerService(v *EC2ContainerServiceIntegration) *Integration
- func (o *Integration) SetElasticBeanstalk(v *ElasticBeanstalkIntegration) *Integration
- func (o *Integration) SetGitlab(v *GitlabIntegration) *Integration
- func (o *Integration) SetKubernetes(v *KubernetesIntegration) *Integration
- func (o *Integration) SetMesosphere(v *MesosphereIntegration) *Integration
- func (o *Integration) SetMultai(v *MultaiIntegration) *Integration
- func (o *Integration) SetNomad(v *NomadIntegration) *Integration
- func (o *Integration) SetOpsWorks(v *OpsWorksIntegration) *Integration
- func (o *Integration) SetRancher(v *RancherIntegration) *Integration
- func (o *Integration) SetRoute53(v *Route53Integration) *Integration
- type KubernetesIntegration
- func (o KubernetesIntegration) MarshalJSON() ([]byte, error)
- func (o *KubernetesIntegration) SetAutoScale(v *AutoScaleKubernetes) *KubernetesIntegration
- func (o *KubernetesIntegration) SetClusterIdentifier(v *string) *KubernetesIntegration
- func (o *KubernetesIntegration) SetIntegrationMode(v *string) *KubernetesIntegration
- func (o *KubernetesIntegration) SetServer(v *string) *KubernetesIntegration
- func (o *KubernetesIntegration) SetToken(v *string) *KubernetesIntegration
- type LaunchSpecification
- func (o LaunchSpecification) MarshalJSON() ([]byte, error)
- func (o *LaunchSpecification) SetBlockDeviceMappings(v []*BlockDeviceMapping) *LaunchSpecification
- func (o *LaunchSpecification) SetCPUOptions(v *CPUOptions) *LaunchSpecification
- func (o *LaunchSpecification) SetCreditSpecification(v *CreditSpecification) *LaunchSpecification
- func (o *LaunchSpecification) SetEBSOptimized(v *bool) *LaunchSpecification
- func (o *LaunchSpecification) SetHealthCheckGracePeriod(v *int) *LaunchSpecification
- func (o *LaunchSpecification) SetHealthCheckType(v *string) *LaunchSpecification
- func (o *LaunchSpecification) SetHealthCheckUnhealthyDurationBeforeReplacement(v *int) *LaunchSpecification
- func (o *LaunchSpecification) SetIAMInstanceProfile(v *IAMInstanceProfile) *LaunchSpecification
- func (o *LaunchSpecification) SetITF(v *ITF) *LaunchSpecification
- func (o *LaunchSpecification) SetImageId(v *string) *LaunchSpecification
- func (o *LaunchSpecification) SetImages(v []*Image) *LaunchSpecification
- func (o *LaunchSpecification) SetKeyPair(v *string) *LaunchSpecification
- func (o *LaunchSpecification) SetLoadBalancerNames(v []string) *LaunchSpecification
- func (o *LaunchSpecification) SetLoadBalancersConfig(v *LoadBalancersConfig) *LaunchSpecification
- func (o *LaunchSpecification) SetMetadataOptions(v *MetadataOptions) *LaunchSpecification
- func (o *LaunchSpecification) SetMonitoring(v *bool) *LaunchSpecification
- func (o *LaunchSpecification) SetNetworkInterfaces(v []*NetworkInterface) *LaunchSpecification
- func (o *LaunchSpecification) SetResourceTagSpecification(v *ResourceTagSpecification) *LaunchSpecification
- func (o *LaunchSpecification) SetSecurityGroupIDs(v []string) *LaunchSpecification
- func (o *LaunchSpecification) SetShutdownScript(v *string) *LaunchSpecification
- func (o *LaunchSpecification) SetTags(v []*Tag) *LaunchSpecification
- func (o *LaunchSpecification) SetTenancy(v *string) *LaunchSpecification
- func (o *LaunchSpecification) SetUserData(v *string) *LaunchSpecification
- type ListGroupsInput
- type ListGroupsOutput
- type ListStatefulInstancesInput
- type ListStatefulInstancesOutput
- type ListSuspensionsInput
- type ListSuspensionsOutput
- type ListenerRule
- type LoadBalancer
- func (o LoadBalancer) MarshalJSON() ([]byte, error)
- func (o *LoadBalancer) SetArn(v *string) *LoadBalancer
- func (o *LoadBalancer) SetAutoWeight(v *bool) *LoadBalancer
- func (o *LoadBalancer) SetBalancerId(v *string) *LoadBalancer
- func (o *LoadBalancer) SetName(v *string) *LoadBalancer
- func (o *LoadBalancer) SetTargetSetId(v *string) *LoadBalancer
- func (o *LoadBalancer) SetType(v *string) *LoadBalancer
- func (o *LoadBalancer) SetZoneAwareness(v *bool) *LoadBalancer
- type LoadBalancersConfig
- type Matcher
- type MesosphereIntegration
- type MetadataOptions
- type Metrics
- func (o Metrics) MarshalJSON() ([]byte, error)
- func (o *Metrics) SetDimensions(v []*Dimension) *Metrics
- func (o *Metrics) SetExtendedStatistic(v *string) *Metrics
- func (o *Metrics) SetMetricName(v *string) *Metrics
- func (o *Metrics) SetName(v *string) *Metrics
- func (o *Metrics) SetNamespace(v *string) *Metrics
- func (o *Metrics) SetStatistic(v *string) *Metrics
- func (o *Metrics) SetUnit(v *string) *Metrics
- type MultaiIntegration
- type MultipleMetrics
- type NetworkInterface
- func (o NetworkInterface) MarshalJSON() ([]byte, error)
- func (o *NetworkInterface) SetAssociateIPV6Address(v *bool) *NetworkInterface
- func (o *NetworkInterface) SetAssociatePublicIPAddress(v *bool) *NetworkInterface
- func (o *NetworkInterface) SetDeleteOnTermination(v *bool) *NetworkInterface
- func (o *NetworkInterface) SetDescription(v *string) *NetworkInterface
- func (o *NetworkInterface) SetDeviceIndex(v *int) *NetworkInterface
- func (o *NetworkInterface) SetId(v *string) *NetworkInterface
- func (o *NetworkInterface) SetPrivateIPAddress(v *string) *NetworkInterface
- func (o *NetworkInterface) SetSecondaryPrivateIPAddressCount(v *int) *NetworkInterface
- func (o *NetworkInterface) SetSecurityGroupsIDs(v []string) *NetworkInterface
- func (o *NetworkInterface) SetSubnetId(v *string) *NetworkInterface
- type NewInstance
- type NomadIntegration
- func (o NomadIntegration) MarshalJSON() ([]byte, error)
- func (o *NomadIntegration) SetAclToken(v *string) *NomadIntegration
- func (o *NomadIntegration) SetAutoScale(v *AutoScaleNomad) *NomadIntegration
- func (o *NomadIntegration) SetMasterHost(v *string) *NomadIntegration
- func (o *NomadIntegration) SetMasterPort(v *int) *NomadIntegration
- type OnFailure
- func (o OnFailure) MarshalJSON() ([]byte, error)
- func (o *OnFailure) SetActionType(v *string) *OnFailure
- func (o *OnFailure) SetBatchNum(v *int) *OnFailure
- func (o *OnFailure) SetDrainingTimeout(v *int) *OnFailure
- func (o *OnFailure) SetShouldDecrementTargetCapacity(v *bool) *OnFailure
- func (o *OnFailure) SetShouldHandleAllBatches(v *bool) *OnFailure
- type OpsWorksIntegration
- type PauseStatefulInstanceInput
- type PauseStatefulInstanceOutput
- type Persistence
- func (o Persistence) MarshalJSON() ([]byte, error)
- func (o *Persistence) SetBlockDevicesMode(v *string) *Persistence
- func (o *Persistence) SetShouldPersistBlockDevices(v *bool) *Persistence
- func (o *Persistence) SetShouldPersistPrivateIP(v *bool) *Persistence
- func (o *Persistence) SetShouldPersistRootDevice(v *bool) *Persistence
- type Predictive
- type Product
- type Progress
- type RancherIntegration
- func (o RancherIntegration) MarshalJSON() ([]byte, error)
- func (o *RancherIntegration) SetAccessKey(v *string) *RancherIntegration
- func (o *RancherIntegration) SetMasterHost(v *string) *RancherIntegration
- func (o *RancherIntegration) SetSecretKey(v *string) *RancherIntegration
- func (o *RancherIntegration) SetVersion(v *string) *RancherIntegration
- type ReadGroupInput
- type ReadGroupOutput
- type RecordSet
- type RecycleStatefulInstanceInput
- type RecycleStatefulInstanceOutput
- type ResourceTagSpecification
- func (o ResourceTagSpecification) MarshalJSON() ([]byte, error)
- func (o *ResourceTagSpecification) SetAMIs(v *AMIs) *ResourceTagSpecification
- func (o *ResourceTagSpecification) SetENIs(v *ENIs) *ResourceTagSpecification
- func (o *ResourceTagSpecification) SetSnapshots(v *Snapshots) *ResourceTagSpecification
- func (o *ResourceTagSpecification) SetVolumes(v *Volumes) *ResourceTagSpecification
- type ResumeStatefulInstanceInput
- type ResumeStatefulInstanceOutput
- type RevertToSpot
- type Roll
- type RollECSGroupInput
- type RollECSWrapper
- type RollGroupInput
- type RollGroupOutput
- type RollGroupStatus
- type RollStrategy
- type Route53Integration
- type ScaleDownOnDemandItem
- type ScaleDownSpotItem
- type ScaleGroupInput
- type ScaleGroupOutput
- type ScaleItem
- type ScaleUpOnDemandItem
- type ScaleUpSpotItem
- type Scaling
- type ScalingPolicy
- func (o ScalingPolicy) MarshalJSON() ([]byte, error)
- func (o *ScalingPolicy) SetAction(v *Action) *ScalingPolicy
- func (o *ScalingPolicy) SetAdjustment(v *int) *ScalingPolicy
- func (o *ScalingPolicy) SetCooldown(v *int) *ScalingPolicy
- func (o *ScalingPolicy) SetDimensions(v []*Dimension) *ScalingPolicy
- func (o *ScalingPolicy) SetEvaluationPeriods(v *int) *ScalingPolicy
- func (o *ScalingPolicy) SetIsEnabled(v *bool) *ScalingPolicy
- func (o *ScalingPolicy) SetMaxCapacityPerScale(v *string) *ScalingPolicy
- func (o *ScalingPolicy) SetMaxTargetCapacity(v *int) *ScalingPolicy
- func (o *ScalingPolicy) SetMetricName(v *string) *ScalingPolicy
- func (o *ScalingPolicy) SetMinTargetCapacity(v *int) *ScalingPolicy
- func (o *ScalingPolicy) SetNamespace(v *string) *ScalingPolicy
- func (o *ScalingPolicy) SetOperator(v *string) *ScalingPolicy
- func (o *ScalingPolicy) SetPeriod(v *int) *ScalingPolicy
- func (o *ScalingPolicy) SetPolicyName(v *string) *ScalingPolicy
- func (o *ScalingPolicy) SetPredictive(v *Predictive) *ScalingPolicy
- func (o *ScalingPolicy) SetSource(v *string) *ScalingPolicy
- func (o *ScalingPolicy) SetStatistic(v *string) *ScalingPolicy
- func (o *ScalingPolicy) SetStepAdjustments(v []*StepAdjustment) *ScalingPolicy
- func (o *ScalingPolicy) SetTarget(v *float64) *ScalingPolicy
- func (o *ScalingPolicy) SetThreshold(v *float64) *ScalingPolicy
- func (o *ScalingPolicy) SetUnit(v *string) *ScalingPolicy
- type ScalingStrategy
- type Scheduling
- type Service
- type ServiceOp
- func (s *ServiceOp) Create(ctx context.Context, input *CreateGroupInput) (*CreateGroupOutput, error)
- func (s *ServiceOp) CreateSuspensions(ctx context.Context, input *CreateSuspensionsInput) (*CreateSuspensionsOutput, error)
- func (s *ServiceOp) DeallocateStatefulInstance(ctx context.Context, input *DeallocateStatefulInstanceInput) (*DeallocateStatefulInstanceOutput, error)
- func (s *ServiceOp) Delete(ctx context.Context, input *DeleteGroupInput) (*DeleteGroupOutput, error)
- func (s *ServiceOp) DeleteSuspensions(ctx context.Context, input *DeleteSuspensionsInput) (*DeleteSuspensionsOutput, error)
- func (s *ServiceOp) DeploymentStatus(ctx context.Context, input *DeploymentStatusInput) (*RollGroupOutput, error)
- func (s *ServiceOp) DeploymentStatusECS(ctx context.Context, input *DeploymentStatusInput) (*RollGroupOutput, error)
- func (s *ServiceOp) Detach(ctx context.Context, input *DetachGroupInput) (*DetachGroupOutput, error)
- func (s *ServiceOp) FinishBeanstalkMaintenance(ctx context.Context, input *BeanstalkMaintenanceInput) (*BeanstalkMaintenanceOutput, error)
- func (s *ServiceOp) GetBeanstalkMaintenanceStatus(ctx context.Context, input *BeanstalkMaintenanceInput) (*string, error)
- func (s *ServiceOp) GetGroupEvents(ctx context.Context, input *GetGroupEventsInput) (*GetGroupEventsOutput, error)
- func (s *ServiceOp) GetInstanceHealthiness(ctx context.Context, input *GetInstanceHealthinessInput) (*GetInstanceHealthinessOutput, error)
- func (s *ServiceOp) ImportBeanstalkEnv(ctx context.Context, input *ImportBeanstalkInput) (*ImportBeanstalkOutput, error)
- func (s *ServiceOp) List(ctx context.Context, input *ListGroupsInput) (*ListGroupsOutput, error)
- func (s *ServiceOp) ListStatefulInstances(ctx context.Context, input *ListStatefulInstancesInput) (*ListStatefulInstancesOutput, error)
- func (s *ServiceOp) ListSuspensions(ctx context.Context, input *ListSuspensionsInput) (*ListSuspensionsOutput, error)
- func (s *ServiceOp) PauseStatefulInstance(ctx context.Context, input *PauseStatefulInstanceInput) (*PauseStatefulInstanceOutput, error)
- func (s *ServiceOp) Read(ctx context.Context, input *ReadGroupInput) (*ReadGroupOutput, error)
- func (s *ServiceOp) RecycleStatefulInstance(ctx context.Context, input *RecycleStatefulInstanceInput) (*RecycleStatefulInstanceOutput, error)
- func (s *ServiceOp) ResumeStatefulInstance(ctx context.Context, input *ResumeStatefulInstanceInput) (*ResumeStatefulInstanceOutput, error)
- func (s *ServiceOp) Roll(ctx context.Context, input *RollGroupInput) (*RollGroupOutput, error)
- func (s *ServiceOp) RollECS(ctx context.Context, input *RollECSGroupInput) (*RollGroupOutput, error)
- func (s *ServiceOp) Scale(ctx context.Context, input *ScaleGroupInput) (*ScaleGroupOutput, error)
- func (s *ServiceOp) StartBeanstalkMaintenance(ctx context.Context, input *BeanstalkMaintenanceInput) (*BeanstalkMaintenanceOutput, error)
- func (s *ServiceOp) Status(ctx context.Context, input *StatusGroupInput) (*StatusGroupOutput, error)
- func (s *ServiceOp) StopDeployment(ctx context.Context, input *StopDeploymentInput) (*StopDeploymentOutput, error)
- func (s *ServiceOp) Update(ctx context.Context, input *UpdateGroupInput) (*UpdateGroupOutput, error)
- type Signal
- type Snapshots
- type Spot
- type StatefulDeallocation
- type StatefulInstance
- func (o StatefulInstance) MarshalJSON() ([]byte, error)
- func (o *StatefulInstance) SetDevices(v []*Device) *StatefulInstance
- func (o *StatefulInstance) SetImageID(v *string) *StatefulInstance
- func (o *StatefulInstance) SetInstanceID(v *string) *StatefulInstance
- func (o *StatefulInstance) SetPrivateIP(v *string) *StatefulInstance
- func (o *StatefulInstance) SetState(v *string) *StatefulInstance
- func (o *StatefulInstance) SetStatefulInstanceID(v *string) *StatefulInstance
- type StaticTargetGroup
- type StatusGroupInput
- type StatusGroupOutput
- type StepAdjustment
- type StopDeploymentInput
- type StopDeploymentOutput
- type Strategy
- func (o Strategy) MarshalJSON() ([]byte, error)
- func (o *Strategy) SetAvailabilityVsCost(v *string) *Strategy
- func (o *Strategy) SetConsiderODPricing(v *bool) *Strategy
- func (o *Strategy) SetDrainingTimeout(v *int) *Strategy
- func (o *Strategy) SetFallbackToOnDemand(v *bool) *Strategy
- func (o *Strategy) SetImmediateODRecoverThreshold(v *int) *Strategy
- func (o *Strategy) SetLifetimePeriod(v *string) *Strategy
- func (o *Strategy) SetMinimumInstanceLifetime(v *int) *Strategy
- func (o *Strategy) SetOnDemandCount(v *int) *Strategy
- func (o *Strategy) SetPersistence(v *Persistence) *Strategy
- func (o *Strategy) SetRevertToSpot(v *RevertToSpot) *Strategy
- func (o *Strategy) SetRisk(v *float64) *Strategy
- func (o *Strategy) SetScalingStrategy(v *ScalingStrategy) *Strategy
- func (o *Strategy) SetSignals(v []*Signal) *Strategy
- func (o *Strategy) SetSpinUpTime(v *int) *Strategy
- func (o *Strategy) SetUtilizeCommitments(v *bool) *Strategy
- func (o *Strategy) SetUtilizeReservedInstances(v *bool) *Strategy
- type SubEvent
- type SuspendProcesses
- type Suspension
- type Tag
- type TargetGroupConfig
- func (o TargetGroupConfig) MarshalJSON() ([]byte, error)
- func (o *TargetGroupConfig) SetHealthCheckIntervalSeconds(v *int) *TargetGroupConfig
- func (o *TargetGroupConfig) SetHealthCheckPath(v *string) *TargetGroupConfig
- func (o *TargetGroupConfig) SetHealthCheckPort(v *string) *TargetGroupConfig
- func (o *TargetGroupConfig) SetHealthCheckProtocol(v *string) *TargetGroupConfig
- func (o *TargetGroupConfig) SetHealthCheckTimeoutSeconds(v *int) *TargetGroupConfig
- func (o *TargetGroupConfig) SetHealthyThresholdCount(v *int) *TargetGroupConfig
- func (o *TargetGroupConfig) SetMatcher(v *Matcher) *TargetGroupConfig
- func (o *TargetGroupConfig) SetPort(v *int) *TargetGroupConfig
- func (o *TargetGroupConfig) SetProtocol(v *string) *TargetGroupConfig
- func (o *TargetGroupConfig) SetProtocolVersion(v *string) *TargetGroupConfig
- func (o *TargetGroupConfig) SetTags(v []*Tag) *TargetGroupConfig
- func (o *TargetGroupConfig) SetUnhealthyThresholdCount(v *int) *TargetGroupConfig
- func (o *TargetGroupConfig) SetVPCId(v *string) *TargetGroupConfig
- type Task
- func (o Task) MarshalJSON() ([]byte, error)
- func (o *Task) SetAdjustment(v *int) *Task
- func (o *Task) SetAdjustmentPercentage(v *int) *Task
- func (o *Task) SetBatchSizePercentage(v *int) *Task
- func (o *Task) SetCronExpression(v *string) *Task
- func (o *Task) SetFrequency(v *string) *Task
- func (o *Task) SetGracePeriod(v *int) *Task
- func (o *Task) SetIsEnabled(v *bool) *Task
- func (o *Task) SetMaxCapacity(v *int) *Task
- func (o *Task) SetMinCapacity(v *int) *Task
- func (o *Task) SetScaleMaxCapacity(v *int) *Task
- func (o *Task) SetScaleMinCapacity(v *int) *Task
- func (o *Task) SetScaleTargetCapacity(v *int) *Task
- func (o *Task) SetStartTime(v *string) *Task
- func (o *Task) SetTargetCapacity(v *int) *Task
- func (o *Task) SetType(v *string) *Task
- type TerminatedInstance
- type UpdateGroupInput
- type UpdateGroupOutput
- type Volumes
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 (*AMIs) SetShouldTag ¶ added in v1.96.0
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 (*Action) SetAdjustment ¶
func (*Action) SetMaxTargetCapacity ¶
func (*Action) SetMaximum ¶
func (*Action) SetMinTargetCapacity ¶
func (*Action) SetMinimum ¶
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 (*AutoScale) SetCooldown ¶
func (*AutoScale) SetDown ¶
func (o *AutoScale) SetDown(v *AutoScaleDown) *AutoScale
func (*AutoScale) SetHeadroom ¶
func (o *AutoScale) SetHeadroom(v *AutoScaleHeadroom) *AutoScale
func (*AutoScale) SetIsAutoConfig ¶
func (*AutoScale) SetIsEnabled ¶
type AutoScaleAttributes ¶
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 (o *AutoScaleConstraint) SetKey(v *string) *AutoScaleConstraint
func (*AutoScaleConstraint) SetValue ¶
func (o *AutoScaleConstraint) SetValue(v *string) *AutoScaleConstraint
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 ¶
func (o *AutoScaleKubernetes) SetLabels(v []*AutoScaleLabel) *AutoScaleKubernetes
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 (*Batch) SetJobQueueNames ¶ added in v1.62.0
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 (o *BeanstalkDeploymentPreferences) SetAutomaticRoll(v *bool) *BeanstalkDeploymentPreferences
func (*BeanstalkDeploymentPreferences) SetBatchSizePercentage ¶
func (o *BeanstalkDeploymentPreferences) SetBatchSizePercentage(v *int) *BeanstalkDeploymentPreferences
func (*BeanstalkDeploymentPreferences) SetGracePeriod ¶
func (o *BeanstalkDeploymentPreferences) SetGracePeriod(v *int) *BeanstalkDeploymentPreferences
func (*BeanstalkDeploymentPreferences) SetStrategy ¶
func (o *BeanstalkDeploymentPreferences) SetStrategy(v *BeanstalkDeploymentStrategy) *BeanstalkDeploymentPreferences
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 (o *BeanstalkDeploymentStrategy) SetAction(v *string) *BeanstalkDeploymentStrategy
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 ¶
func (o *BeanstalkManagedActions) SetPlatformUpdate(v *BeanstalkPlatformUpdate) *BeanstalkManagedActions
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 (o *BeanstalkPlatformUpdate) SetPerformAt(v *string) *BeanstalkPlatformUpdate
func (*BeanstalkPlatformUpdate) SetTimeWindow ¶
func (o *BeanstalkPlatformUpdate) SetTimeWindow(v *string) *BeanstalkPlatformUpdate
func (*BeanstalkPlatformUpdate) SetUpdateLevel ¶
func (o *BeanstalkPlatformUpdate) SetUpdateLevel(v *string) *BeanstalkPlatformUpdate
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 (*Capacity) SetMaximum ¶
func (*Capacity) SetMinimum ¶
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 (*Compute) SetAvailabilityZones ¶
func (o *Compute) SetAvailabilityZones(v []*AvailabilityZone) *Compute
func (*Compute) SetEBSVolumePool ¶
func (*Compute) SetElasticIPs ¶
func (*Compute) SetInstanceTypes ¶
func (o *Compute) SetInstanceTypes(v *InstanceTypes) *Compute
func (*Compute) SetLaunchSpecification ¶
func (o *Compute) SetLaunchSpecification(v *LaunchSpecification) *Compute
func (*Compute) SetPreferredAvailabilityZones ¶
func (*Compute) SetPrivateIPs ¶
func (*Compute) SetProduct ¶
func (*Compute) SetSubnetIDs ¶
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 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 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 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 (*Device) SetDeviceName ¶ added in v1.82.0
func (*Device) SetSnapshotID ¶ added in v1.82.0
func (*Device) SetVolumeID ¶ added in v1.82.0
type Dimension ¶
type Dimension struct { Name *string `json:"name,omitempty"` Value *string `json:"value,omitempty"` // contains filtered or unexported fields }
func (Dimension) MarshalJSON ¶
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 (o *DockerSwarmIntegration) SetAutoScale(v *AutoScaleDockerSwarm) *DockerSwarmIntegration
func (*DockerSwarmIntegration) SetMasterHost ¶
func (o *DockerSwarmIntegration) SetMasterHost(v *string) *DockerSwarmIntegration
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 (*Domain) SetHostedZoneID ¶
func (*Domain) SetRecordSetType ¶ added in v1.57.0
func (*Domain) SetRecordSets ¶
func (*Domain) SetSpotinstAccountID ¶
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 (*EBS) SetDeleteOnTermination ¶
func (*EBS) SetEncrypted ¶
func (*EBS) SetKmsKeyId ¶
func (*EBS) SetSnapshotId ¶
func (*EBS) SetThroughput ¶ added in v1.72.0
func (*EBS) SetVolumeSize ¶
func (*EBS) SetVolumeType ¶
type EBSVolume ¶
type EBSVolume struct { DeviceName *string `json:"deviceName,omitempty"` VolumeIDs []string `json:"volumeIds,omitempty"` // contains filtered or unexported fields }
func (EBSVolume) MarshalJSON ¶
func (*EBSVolume) SetDeviceName ¶
func (*EBSVolume) SetVolumeIDs ¶
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 (o *EC2ContainerServiceIntegration) SetAutoScale(v *AutoScaleECS) *EC2ContainerServiceIntegration
func (*EC2ContainerServiceIntegration) SetBatch ¶ added in v1.62.0
func (o *EC2ContainerServiceIntegration) SetBatch(v *Batch) *EC2ContainerServiceIntegration
func (*EC2ContainerServiceIntegration) SetClusterName ¶
func (o *EC2ContainerServiceIntegration) SetClusterName(v *string) *EC2ContainerServiceIntegration
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 (*ENIs) SetShouldTag ¶ added in v1.96.0
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 (o *ElasticBeanstalkIntegration) SetDeploymentPreferences(v *BeanstalkDeploymentPreferences) *ElasticBeanstalkIntegration
func (*ElasticBeanstalkIntegration) SetEnvironmentID ¶
func (o *ElasticBeanstalkIntegration) SetEnvironmentID(v *string) *ElasticBeanstalkIntegration
func (*ElasticBeanstalkIntegration) SetManagedActions ¶
func (o *ElasticBeanstalkIntegration) SetManagedActions(v *BeanstalkManagedActions) *ElasticBeanstalkIntegration
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 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 ¶
func (o *GitlabIntegration) SetRunner(v *GitlabRunner) *GitlabIntegration
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 (*Group) SetCapacity ¶
func (*Group) SetCompute ¶
func (*Group) SetDescription ¶
func (*Group) SetIntegration ¶
func (o *Group) SetIntegration(v *Integration) *Group
func (*Group) SetScaling ¶
func (*Group) SetScheduling ¶
func (o *Group) SetScheduling(v *Scheduling) *Group
func (*Group) SetStrategy ¶
type GroupEvent ¶
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 (o *IAMInstanceProfile) SetArn(v *string) *IAMInstanceProfile
func (*IAMInstanceProfile) SetName ¶
func (o *IAMInstanceProfile) SetName(v *string) *IAMInstanceProfile
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"` DefaultStaticTargetGroups []*StaticTargetGroup `json:"defaultStaticTargetGroups,omitempty"` // contains filtered or unexported fields }
func (ITF) MarshalJSON ¶ added in v1.100.0
func (*ITF) SetDefaultStaticTargetGroups ¶ added in v1.109.0
func (o *ITF) SetDefaultStaticTargetGroups(v []*StaticTargetGroup) *ITF
func (*ITF) SetFixedTargetGroups ¶ added in v1.100.0
func (*ITF) SetLoadBalancers ¶ added in v1.100.0
func (o *ITF) SetLoadBalancers(v []*ITFLoadBalancer) *ITF
func (*ITF) SetMigrationHealthinessThreshold ¶ added in v1.100.0
func (*ITF) SetTargetGroupConfig ¶ added in v1.100.0
func (o *ITF) SetTargetGroupConfig(v *TargetGroupConfig) *ITF
func (*ITF) SetWeightStrategy ¶ added in v1.100.0
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 Image ¶ added in v1.127.0
type Image struct { Id *string `json:"id,omitempty"` // contains filtered or unexported fields }
func (Image) MarshalJSON ¶ added in v1.127.0
type ImportBeanstalkInput ¶
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"` IPv6Address *string `json:"ipv6Address,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 (o *KubernetesIntegration) SetAutoScale(v *AutoScaleKubernetes) *KubernetesIntegration
func (*KubernetesIntegration) SetClusterIdentifier ¶
func (o *KubernetesIntegration) SetClusterIdentifier(v *string) *KubernetesIntegration
func (*KubernetesIntegration) SetIntegrationMode ¶
func (o *KubernetesIntegration) SetIntegrationMode(v *string) *KubernetesIntegration
func (*KubernetesIntegration) SetServer ¶
func (o *KubernetesIntegration) SetServer(v *string) *KubernetesIntegration
func (*KubernetesIntegration) SetToken ¶
func (o *KubernetesIntegration) SetToken(v *string) *KubernetesIntegration
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"` Images []*Image `json:"images,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 (o *LaunchSpecification) SetITF(v *ITF) *LaunchSpecification
func (*LaunchSpecification) SetImageId ¶
func (o *LaunchSpecification) SetImageId(v *string) *LaunchSpecification
func (*LaunchSpecification) SetImages ¶ added in v1.127.0
func (o *LaunchSpecification) SetImages(v []*Image) *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"` StaticTargetGroups []*StaticTargetGroup `json:"staticTargetGroups,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
func (*ListenerRule) SetStaticTargetGroups ¶ added in v1.109.0
func (o *ListenerRule) SetStaticTargetGroups(v []*StaticTargetGroup) *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 (*Matcher) SetGRPCCode ¶ added in v1.101.0
func (*Matcher) SetHTTPCode ¶ added in v1.100.0
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 ¶
func (o *MesosphereIntegration) SetServer(v *string) *MesosphereIntegration
type MetadataOptions ¶ added in v1.64.0
type MetadataOptions struct { HTTPTokens *string `json:"httpTokens,omitempty"` HTTPPutResponseHopLimit *int `json:"httpPutResponseHopLimit,omitempty"` InstanceMetadataTags *string `json:"instanceMetadataTags,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
func (*MetadataOptions) SetInstanceMetadataTags ¶ added in v1.153.0
func (o *MetadataOptions) SetInstanceMetadataTags(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 (*Metrics) SetDimensions ¶ added in v1.99.0
func (*Metrics) SetExtendedStatistic ¶ added in v1.99.0
func (*Metrics) SetMetricName ¶ added in v1.99.0
func (*Metrics) SetNamespace ¶ added in v1.99.0
func (*Metrics) SetStatistic ¶ added in v1.99.0
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 (o *NetworkInterface) SetId(v *string) *NetworkInterface
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 (*OnFailure) SetActionType ¶ added in v1.43.0
func (*OnFailure) SetBatchNum ¶ added in v1.43.0
func (*OnFailure) SetDrainingTimeout ¶ added in v1.43.0
func (*OnFailure) SetShouldDecrementTargetCapacity ¶ added in v1.43.0
func (*OnFailure) SetShouldHandleAllBatches ¶ added in v1.43.0
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 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 )
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 (*RecordSet) SetUsePublicDNS ¶ added in v1.57.0
func (*RecordSet) SetUsePublicIP ¶
type RecycleStatefulInstanceInput ¶ added in v1.82.0
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 (o *ResourceTagSpecification) SetAMIs(v *AMIs) *ResourceTagSpecification
func (*ResourceTagSpecification) SetENIs ¶ added in v1.96.0
func (o *ResourceTagSpecification) SetENIs(v *ENIs) *ResourceTagSpecification
func (*ResourceTagSpecification) SetSnapshots ¶ added in v1.96.0
func (o *ResourceTagSpecification) SetSnapshots(v *Snapshots) *ResourceTagSpecification
func (*ResourceTagSpecification) SetVolumes ¶ added in v1.96.0
func (o *ResourceTagSpecification) SetVolumes(v *Volumes) *ResourceTagSpecification
type ResumeStatefulInstanceInput ¶ added in v1.82.0
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 RollECSGroupInput ¶
type RollECSGroupInput struct { GroupID *string `json:"groupId,omitempty"` Roll *RollECSWrapper `json:"roll,omitempty"` }
type RollECSWrapper ¶
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 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 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 ScaleUpSpotItem ¶
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 (*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 ¶
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 (*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 (s *ServiceOp) List(ctx context.Context, input *ListGroupsInput) (*ListGroupsOutput, error)
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 (*Signal) SetTimeout ¶
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 (*Snapshots) SetShouldTag ¶ added in v1.96.0
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 StaticTargetGroup ¶ added in v1.109.0
type StaticTargetGroup struct { StaticTargetGroupARN *string `json:"arn,omitempty"` Percentage *float64 `json:"percentage,omitempty"` // contains filtered or unexported fields }
func (StaticTargetGroup) MarshalJSON ¶ added in v1.109.0
func (o StaticTargetGroup) MarshalJSON() ([]byte, error)
func (*StaticTargetGroup) SetPercentage ¶ added in v1.109.0
func (o *StaticTargetGroup) SetPercentage(v *float64) *StaticTargetGroup
func (*StaticTargetGroup) SetStaticTargetGroupARN ¶ added in v1.109.0
func (o *StaticTargetGroup) SetStaticTargetGroupARN(v *string) *StaticTargetGroup
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 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"` ConsiderODPricing *bool `json:"considerODPricing,omitempty"` ImmediateODRecoverThreshold *int `json:"immediateODRecoverThreshold,omitempty"` // contains filtered or unexported fields }
func (Strategy) MarshalJSON ¶
func (*Strategy) SetAvailabilityVsCost ¶
func (*Strategy) SetConsiderODPricing ¶ added in v1.135.0
func (*Strategy) SetDrainingTimeout ¶
func (*Strategy) SetFallbackToOnDemand ¶
func (*Strategy) SetImmediateODRecoverThreshold ¶ added in v1.138.0
func (*Strategy) SetLifetimePeriod ¶
func (*Strategy) SetMinimumInstanceLifetime ¶ added in v1.77.0
func (*Strategy) SetOnDemandCount ¶
func (*Strategy) SetPersistence ¶
func (o *Strategy) SetPersistence(v *Persistence) *Strategy
func (*Strategy) SetRevertToSpot ¶
func (o *Strategy) SetRevertToSpot(v *RevertToSpot) *Strategy
func (*Strategy) SetScalingStrategy ¶
func (o *Strategy) SetScalingStrategy(v *ScalingStrategy) *Strategy
func (*Strategy) SetSignals ¶
func (*Strategy) SetSpinUpTime ¶
func (*Strategy) SetUtilizeCommitments ¶ added in v1.72.0
func (*Strategy) SetUtilizeReservedInstances ¶
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 ¶
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 (*Task) SetAdjustment ¶
func (*Task) SetAdjustmentPercentage ¶
func (*Task) SetBatchSizePercentage ¶
func (*Task) SetCronExpression ¶
func (*Task) SetFrequency ¶
func (*Task) SetGracePeriod ¶
func (*Task) SetIsEnabled ¶
func (*Task) SetMaxCapacity ¶
func (*Task) SetMinCapacity ¶
func (*Task) SetScaleMaxCapacity ¶
func (*Task) SetScaleMinCapacity ¶
func (*Task) SetScaleTargetCapacity ¶
func (*Task) SetStartTime ¶
func (*Task) SetTargetCapacity ¶
type TerminatedInstance ¶
type TerminatedInstance struct { }
type UpdateGroupInput ¶
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 (*Volumes) SetShouldTag ¶ added in v1.96.0
Click to show internal directories.
Click to hide internal directories.