@Stability(value=Stable)
public static interface CfnAutoScalingGroup.LaunchTemplateOverridesProperty
extends software.amazon.jsii.JsiiSerializable
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.autoscaling.*;
LaunchTemplateOverridesProperty launchTemplateOverridesProperty = LaunchTemplateOverridesProperty.builder()
.instanceRequirements(InstanceRequirementsProperty.builder()
.acceleratorCount(AcceleratorCountRequestProperty.builder()
.max(123)
.min(123)
.build())
.acceleratorManufacturers(List.of("acceleratorManufacturers"))
.acceleratorNames(List.of("acceleratorNames"))
.acceleratorTotalMemoryMiB(AcceleratorTotalMemoryMiBRequestProperty.builder()
.max(123)
.min(123)
.build())
.acceleratorTypes(List.of("acceleratorTypes"))
.bareMetal("bareMetal")
.baselineEbsBandwidthMbps(BaselineEbsBandwidthMbpsRequestProperty.builder()
.max(123)
.min(123)
.build())
.burstablePerformance("burstablePerformance")
.cpuManufacturers(List.of("cpuManufacturers"))
.excludedInstanceTypes(List.of("excludedInstanceTypes"))
.instanceGenerations(List.of("instanceGenerations"))
.localStorage("localStorage")
.localStorageTypes(List.of("localStorageTypes"))
.memoryGiBPerVCpu(MemoryGiBPerVCpuRequestProperty.builder()
.max(123)
.min(123)
.build())
.memoryMiB(MemoryMiBRequestProperty.builder()
.max(123)
.min(123)
.build())
.networkInterfaceCount(NetworkInterfaceCountRequestProperty.builder()
.max(123)
.min(123)
.build())
.onDemandMaxPricePercentageOverLowestPrice(123)
.requireHibernateSupport(false)
.spotMaxPricePercentageOverLowestPrice(123)
.totalLocalStorageGb(TotalLocalStorageGBRequestProperty.builder()
.max(123)
.min(123)
.build())
.vCpuCount(VCpuCountRequestProperty.builder()
.max(123)
.min(123)
.build())
.build())
.instanceType("instanceType")
.launchTemplateSpecification(LaunchTemplateSpecificationProperty.builder()
.version("version")
// the properties below are optional
.launchTemplateId("launchTemplateId")
.launchTemplateName("launchTemplateName")
.build())
.weightedCapacity("weightedCapacity")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnAutoScalingGroup.LaunchTemplateOverridesProperty.Builder
A builder for
CfnAutoScalingGroup.LaunchTemplateOverridesProperty |
static class |
CfnAutoScalingGroup.LaunchTemplateOverridesProperty.Jsii$Proxy
An implementation for
CfnAutoScalingGroup.LaunchTemplateOverridesProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnAutoScalingGroup.LaunchTemplateOverridesProperty.Builder |
builder() |
default Object |
getInstanceRequirements()
`CfnAutoScalingGroup.LaunchTemplateOverridesProperty.InstanceRequirements`.
|
default String |
getInstanceType()
`CfnAutoScalingGroup.LaunchTemplateOverridesProperty.InstanceType`.
|
default Object |
getLaunchTemplateSpecification()
`CfnAutoScalingGroup.LaunchTemplateOverridesProperty.LaunchTemplateSpecification`.
|
default String |
getWeightedCapacity()
`CfnAutoScalingGroup.LaunchTemplateOverridesProperty.WeightedCapacity`.
|
@Stability(value=Stable) @Nullable default Object getInstanceRequirements()
@Stability(value=Stable) @Nullable default String getInstanceType()
@Stability(value=Stable) @Nullable default Object getLaunchTemplateSpecification()
@Stability(value=Stable) @Nullable default String getWeightedCapacity()
@Stability(value=Stable) static CfnAutoScalingGroup.LaunchTemplateOverridesProperty.Builder builder()
Copyright © 2021. All rights reserved.