Package-level declarations

Types

Link copied to clipboard
class Alarm : KotlinCustomResource

Provides a ESS alarm task resource. For information about ess alarm, see CreateAlarm.

Link copied to clipboard
data class AlarmArgs(val alarmActions: Output<List<String>>? = null, val cloudMonitorGroupId: Output<Int>? = null, val comparisonOperator: Output<String>? = null, val description: Output<String>? = null, val dimensions: Output<Map<String, Any>>? = null, val enable: Output<Boolean>? = null, val evaluationCount: Output<Int>? = null, val metricName: Output<String>? = null, val metricType: Output<String>? = null, val name: Output<String>? = null, val period: Output<Int>? = null, val scalingGroupId: Output<String>? = null, val statistics: Output<String>? = null, val threshold: Output<String>? = null) : ConvertibleToJava<AlarmArgs>

Provides a ESS alarm task resource. For information about ess alarm, see CreateAlarm.

Link copied to clipboard

Builder for AlarmArgs.

Link copied to clipboard
object AlarmMapper : ResourceMapper<Alarm>
Link copied to clipboard

Builder for Alarm.

Link copied to clipboard
class AlbServerGroupAttachment : KotlinCustomResource

Attaches/Detaches alb server group to a specified scaling group. For information about alb server group attachment, see AttachAlbServerGroups.

Link copied to clipboard
data class AlbServerGroupAttachmentArgs(val albServerGroupId: Output<String>? = null, val forceAttach: Output<Boolean>? = null, val port: Output<Int>? = null, val scalingGroupId: Output<String>? = null, val weight: Output<Int>? = null) : ConvertibleToJava<AlbServerGroupAttachmentArgs>

Attaches/Detaches alb server group to a specified scaling group. For information about alb server group attachment, see AttachAlbServerGroups.

Link copied to clipboard
class Attachment : KotlinCustomResource

Attaches several ECS instances to a specified scaling group or remove them from it.

Link copied to clipboard
data class AttachmentArgs(val force: Output<Boolean>? = null, val instanceIds: Output<List<String>>? = null, val scalingGroupId: Output<String>? = null) : ConvertibleToJava<AttachmentArgs>

Attaches several ECS instances to a specified scaling group or remove them from it.

Link copied to clipboard
Link copied to clipboard
object AttachmentMapper : ResourceMapper<Attachment>
Link copied to clipboard
Link copied to clipboard
class EciScalingConfiguration : KotlinCustomResource

Provides a ESS eci scaling configuration resource. For information about ess eci scaling configuration, see CreateEciScalingConfiguration.

Link copied to clipboard
data class EciScalingConfigurationArgs(val acrRegistryInfos: Output<List<EciScalingConfigurationAcrRegistryInfoArgs>>? = null, val active: Output<Boolean>? = null, val autoCreateEip: Output<Boolean>? = null, val containerGroupName: Output<String>? = null, val containers: Output<List<EciScalingConfigurationContainerArgs>>? = null, val cpu: Output<Double>? = null, val description: Output<String>? = null, val dnsPolicy: Output<String>? = null, val egressBandwidth: Output<Int>? = null, val eipBandwidth: Output<Int>? = null, val enableSls: Output<Boolean>? = null, val forceDelete: Output<Boolean>? = null, val hostAliases: Output<List<EciScalingConfigurationHostAliasArgs>>? = null, val hostName: Output<String>? = null, val imageRegistryCredentials: Output<List<EciScalingConfigurationImageRegistryCredentialArgs>>? = null, val ingressBandwidth: Output<Int>? = null, val initContainers: Output<List<EciScalingConfigurationInitContainerArgs>>? = null, val memory: Output<Double>? = null, val ramRoleName: Output<String>? = null, val resourceGroupId: Output<String>? = null, val restartPolicy: Output<String>? = null, val scalingConfigurationName: Output<String>? = null, val scalingGroupId: Output<String>? = null, val securityGroupId: Output<String>? = null, val spotPriceLimit: Output<Double>? = null, val spotStrategy: Output<String>? = null, val tags: Output<Map<String, Any>>? = null, val volumes: Output<List<EciScalingConfigurationVolumeArgs>>? = null) : ConvertibleToJava<EciScalingConfigurationArgs>

Provides a ESS eci scaling configuration resource. For information about ess eci scaling configuration, see CreateEciScalingConfiguration.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class LifecycleHook : KotlinCustomResource

Provides a ESS lifecycle hook resource. More about Ess lifecycle hook, see LifecycleHook.

Link copied to clipboard
data class LifecycleHookArgs(val defaultResult: Output<String>? = null, val heartbeatTimeout: Output<Int>? = null, val lifecycleTransition: Output<String>? = null, val name: Output<String>? = null, val notificationArn: Output<String>? = null, val notificationMetadata: Output<String>? = null, val scalingGroupId: Output<String>? = null) : ConvertibleToJava<LifecycleHookArgs>

Provides a ESS lifecycle hook resource. More about Ess lifecycle hook, see LifecycleHook.

Link copied to clipboard
Link copied to clipboard
object LifecycleHookMapper : ResourceMapper<LifecycleHook>
Link copied to clipboard
Link copied to clipboard
class Notification : KotlinCustomResource

Provides a ESS notification resource. More about Ess notification, see Autoscaling Notification.

Link copied to clipboard
data class NotificationArgs(val notificationArn: Output<String>? = null, val notificationTypes: Output<List<String>>? = null, val scalingGroupId: Output<String>? = null) : ConvertibleToJava<NotificationArgs>

Provides a ESS notification resource. More about Ess notification, see Autoscaling Notification.

Link copied to clipboard
Link copied to clipboard
object NotificationMapper : ResourceMapper<Notification>
Link copied to clipboard
Link copied to clipboard
class ScalingConfiguration : KotlinCustomResource

Provides a ESS scaling configuration resource.

Link copied to clipboard
data class ScalingConfigurationArgs(val active: Output<Boolean>? = null, val creditSpecification: Output<String>? = null, val dataDisks: Output<List<ScalingConfigurationDataDiskArgs>>? = null, val enable: Output<Boolean>? = null, val forceDelete: Output<Boolean>? = null, val hostName: Output<String>? = null, val imageId: Output<String>? = null, val imageName: Output<String>? = null, val instanceIds: Output<List<String>>? = null, val instanceName: Output<String>? = null, val instancePatternInfos: Output<List<ScalingConfigurationInstancePatternInfoArgs>>? = null, val instanceType: Output<String>? = null, val instanceTypes: Output<List<String>>? = null, val internetChargeType: Output<String>? = null, val internetMaxBandwidthIn: Output<Int>? = null, val internetMaxBandwidthOut: Output<Int>? = null, val ioOptimized: Output<String>? = null, val isOutdated: Output<Boolean>? = null, val keyName: Output<String>? = null, val kmsEncryptedPassword: Output<String>? = null, val kmsEncryptionContext: Output<Map<String, Any>>? = null, val override: Output<Boolean>? = null, val password: Output<String>? = null, val passwordInherit: Output<Boolean>? = null, val resourceGroupId: Output<String>? = null, val roleName: Output<String>? = null, val scalingConfigurationName: Output<String>? = null, val scalingGroupId: Output<String>? = null, val securityGroupId: Output<String>? = null, val securityGroupIds: Output<List<String>>? = null, val spotPriceLimits: Output<List<ScalingConfigurationSpotPriceLimitArgs>>? = null, val spotStrategy: Output<String>? = null, val substitute: Output<String>? = null, val systemDiskAutoSnapshotPolicyId: Output<String>? = null, val systemDiskCategory: Output<String>? = null, val systemDiskDescription: Output<String>? = null, val systemDiskEncrypted: Output<Boolean>? = null, val systemDiskName: Output<String>? = null, val systemDiskPerformanceLevel: Output<String>? = null, val systemDiskSize: Output<Int>? = null, val tags: Output<Map<String, Any>>? = null, val userData: Output<String>? = null) : ConvertibleToJava<ScalingConfigurationArgs>

Provides a ESS scaling configuration resource.

Link copied to clipboard
Link copied to clipboard
class ScalingGroup : KotlinCustomResource

Provides a ESS scaling group resource which is a collection of ECS instances with the same application scenarios. It defines the maximum and minimum numbers of ECS instances in the group, and their associated Server Load Balancer instances, RDS instances, and other attributes.

Link copied to clipboard
data class ScalingGroupArgs(val dbInstanceIds: Output<List<String>>? = null, val defaultCooldown: Output<Int>? = null, val desiredCapacity: Output<Int>? = null, val groupDeletionProtection: Output<Boolean>? = null, val groupType: Output<String>? = null, val healthCheckType: Output<String>? = null, val launchTemplateId: Output<String>? = null, val launchTemplateVersion: Output<String>? = null, val loadbalancerIds: Output<List<String>>? = null, val maxSize: Output<Int>? = null, val minSize: Output<Int>? = null, val multiAzPolicy: Output<String>? = null, val onDemandBaseCapacity: Output<Int>? = null, val onDemandPercentageAboveBaseCapacity: Output<Int>? = null, val protectedInstances: Output<List<String>>? = null, val removalPolicies: Output<List<String>>? = null, val scalingGroupName: Output<String>? = null, val spotInstancePools: Output<Int>? = null, val spotInstanceRemedy: Output<Boolean>? = null, val tags: Output<Map<String, Any>>? = null, val vswitchId: Output<String>? = null, val vswitchIds: Output<List<String>>? = null) : ConvertibleToJava<ScalingGroupArgs>

Provides a ESS scaling group resource which is a collection of ECS instances with the same application scenarios. It defines the maximum and minimum numbers of ECS instances in the group, and their associated Server Load Balancer instances, RDS instances, and other attributes.

Link copied to clipboard
Link copied to clipboard
object ScalingGroupMapper : ResourceMapper<ScalingGroup>
Link copied to clipboard
Link copied to clipboard
class ScalingGroupVServerGroups : KotlinCustomResource

Attaches/Detaches vserver groups to a specified scaling group.

Link copied to clipboard
data class ScalingGroupVServerGroupsArgs(val force: Output<Boolean>? = null, val scalingGroupId: Output<String>? = null, val vserverGroups: Output<List<ScalingGroupVServerGroupsVserverGroupArgs>>? = null) : ConvertibleToJava<ScalingGroupVServerGroupsArgs>

Attaches/Detaches vserver groups to a specified scaling group.

Link copied to clipboard
class ScalingRule : KotlinCustomResource

Provides a ESS scaling rule resource. For information about ess scaling rule, see CreateScalingRule.

Link copied to clipboard
data class ScalingRuleArgs(val adjustmentType: Output<String>? = null, val adjustmentValue: Output<Int>? = null, val cooldown: Output<Int>? = null, val disableScaleIn: Output<Boolean>? = null, val estimatedInstanceWarmup: Output<Int>? = null, val metricName: Output<String>? = null, val scalingGroupId: Output<String>? = null, val scalingRuleName: Output<String>? = null, val scalingRuleType: Output<String>? = null, val stepAdjustments: Output<List<ScalingRuleStepAdjustmentArgs>>? = null, val targetValue: Output<Double>? = null) : ConvertibleToJava<ScalingRuleArgs>

Provides a ESS scaling rule resource. For information about ess scaling rule, see CreateScalingRule.

Link copied to clipboard
Link copied to clipboard
object ScalingRuleMapper : ResourceMapper<ScalingRule>
Link copied to clipboard
Link copied to clipboard
class Schedule : KotlinCustomResource
Link copied to clipboard
data class ScheduleArgs(val description: Output<String>? = null, val desiredCapacity: Output<Int>? = null, val launchExpirationTime: Output<Int>? = null, val launchTime: Output<String>? = null, val maxValue: Output<Int>? = null, val minValue: Output<Int>? = null, val recurrenceEndTime: Output<String>? = null, val recurrenceType: Output<String>? = null, val recurrenceValue: Output<String>? = null, val scalingGroupId: Output<String>? = null, val scheduledAction: Output<String>? = null, val scheduledTaskName: Output<String>? = null, val taskEnabled: Output<Boolean>? = null) : ConvertibleToJava<ScheduleArgs>
Link copied to clipboard
Link copied to clipboard
class ScheduledTask : KotlinCustomResource

Provides a ESS schedule resource. For information about ess schedule task, see Scheduled Tasks.

Link copied to clipboard
data class ScheduledTaskArgs(val description: Output<String>? = null, val desiredCapacity: Output<Int>? = null, val launchExpirationTime: Output<Int>? = null, val launchTime: Output<String>? = null, val maxValue: Output<Int>? = null, val minValue: Output<Int>? = null, val recurrenceEndTime: Output<String>? = null, val recurrenceType: Output<String>? = null, val recurrenceValue: Output<String>? = null, val scalingGroupId: Output<String>? = null, val scheduledAction: Output<String>? = null, val scheduledTaskName: Output<String>? = null, val taskEnabled: Output<Boolean>? = null) : ConvertibleToJava<ScheduledTaskArgs>

Provides a ESS schedule resource. For information about ess schedule task, see Scheduled Tasks.

Link copied to clipboard
Link copied to clipboard
object ScheduledTaskMapper : ResourceMapper<ScheduledTask>
Link copied to clipboard
Link copied to clipboard
object ScheduleMapper : ResourceMapper<Schedule>
Link copied to clipboard
Link copied to clipboard
class SuspendProcess : KotlinCustomResource

Suspend/Resume processes to a specified scaling group. For information about scaling group suspend process, see SuspendProcesses.

Link copied to clipboard
data class SuspendProcessArgs(val process: Output<String>? = null, val scalingGroupId: Output<String>? = null) : ConvertibleToJava<SuspendProcessArgs>

Suspend/Resume processes to a specified scaling group. For information about scaling group suspend process, see SuspendProcesses.

Link copied to clipboard
Link copied to clipboard
object SuspendProcessMapper : ResourceMapper<SuspendProcess>

Functions

Link copied to clipboard
fun alarm(name: String): Alarm
suspend fun alarm(name: String, block: suspend AlarmResourceBuilder.() -> Unit): Alarm
Link copied to clipboard
suspend fun attachment(name: String, block: suspend AttachmentResourceBuilder.() -> Unit): Attachment
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
suspend fun scalingRule(name: String, block: suspend ScalingRuleResourceBuilder.() -> Unit): ScalingRule
Link copied to clipboard
suspend fun schedule(name: String, block: suspend ScheduleResourceBuilder.() -> Unit): Schedule
Link copied to clipboard
Link copied to clipboard