Interface CfnComputeEnvironmentPropsMixin.ManagedInstancesProviderProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnComputeEnvironmentPropsMixin.ManagedInstancesProviderProperty.Jsii$Proxy
- Enclosing class:
CfnComputeEnvironmentPropsMixin
@Stability(Stable)
public static interface CfnComputeEnvironmentPropsMixin.ManagedInstancesProviderProperty
extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.batch.*;
ManagedInstancesProviderProperty managedInstancesProviderProperty = ManagedInstancesProviderProperty.builder()
.infrastructureOptimization(InfrastructureOptimizationProperty.builder()
.scaleInAfter(123)
.build())
.infrastructureRoleArn("infrastructureRoleArn")
.instanceLaunchTemplate(InstanceLaunchTemplateProperty.builder()
.capacityOptionType("capacityOptionType")
.capacityReservations(CapacityReservationsProperty.builder()
.reservationGroupArn("reservationGroupArn")
.reservationPreference("reservationPreference")
.build())
.ec2InstanceProfileArn("ec2InstanceProfileArn")
.fipsEnabled(false)
.instanceMetadataTagsPropagation(false)
.instanceRequirements(InstanceRequirementsProperty.builder()
.allowedInstanceTypes(List.of("allowedInstanceTypes"))
.build())
.localStorageConfiguration(ManagedInstancesLocalStorageConfigurationProperty.builder()
.useLocalStorage(false)
.build())
.monitoring("monitoring")
.networkConfiguration(ManagedInstancesNetworkConfigurationProperty.builder()
.securityGroups(List.of("securityGroups"))
.subnets(List.of("subnets"))
.build())
.storageConfiguration(ManagedInstancesStorageConfigurationProperty.builder()
.storageSizeGiB(123)
.build())
.build())
.propagateTags("propagateTags")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnComputeEnvironmentPropsMixin.ManagedInstancesProviderProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectReturns union: eitherIResolvableorCfnComputeEnvironmentPropsMixin.InfrastructureOptimizationPropertydefault Stringdefault ObjectReturns union: eitherIResolvableorCfnComputeEnvironmentPropsMixin.InstanceLaunchTemplatePropertydefault StringMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getInfrastructureOptimization
Returns union: eitherIResolvableorCfnComputeEnvironmentPropsMixin.InfrastructureOptimizationProperty- See Also:
-
getInfrastructureRoleArn
- See Also:
-
getInstanceLaunchTemplate
Returns union: eitherIResolvableorCfnComputeEnvironmentPropsMixin.InstanceLaunchTemplateProperty- See Also:
-
getPropagateTags
- See Also:
-
builder
@Stability(Stable) static CfnComputeEnvironmentPropsMixin.ManagedInstancesProviderProperty.Builder builder()
-