Interface CfnComputeEnvironment.ManagedInstancesProviderProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnComputeEnvironment.ManagedInstancesProviderProperty.Jsii$Proxy
Enclosing class:
CfnComputeEnvironment

@Stability(Stable) public static interface CfnComputeEnvironment.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.services.batch.*;
 ManagedInstancesProviderProperty managedInstancesProviderProperty = ManagedInstancesProviderProperty.builder()
         .infrastructureRoleArn("infrastructureRoleArn")
         .instanceLaunchTemplate(InstanceLaunchTemplateProperty.builder()
                 .ec2InstanceProfileArn("ec2InstanceProfileArn")
                 .networkConfiguration(ManagedInstancesNetworkConfigurationProperty.builder()
                         .securityGroups(List.of("securityGroups"))
                         .subnets(List.of("subnets"))
                         .build())
                 // the properties below are optional
                 .capacityOptionType("capacityOptionType")
                 .capacityReservations(CapacityReservationsProperty.builder()
                         .reservationGroupArn("reservationGroupArn")
                         .reservationPreference("reservationPreference")
                         .build())
                 .fipsEnabled(false)
                 .instanceMetadataTagsPropagation(false)
                 .instanceRequirements(InstanceRequirementsProperty.builder()
                         .allowedInstanceTypes(List.of("allowedInstanceTypes"))
                         .build())
                 .localStorageConfiguration(ManagedInstancesLocalStorageConfigurationProperty.builder()
                         .useLocalStorage(false)
                         .build())
                 .monitoring("monitoring")
                 .storageConfiguration(ManagedInstancesStorageConfigurationProperty.builder()
                         .storageSizeGiB(123)
                         .build())
                 .build())
         // the properties below are optional
         .infrastructureOptimization(InfrastructureOptimizationProperty.builder()
                 .scaleInAfter(123)
                 .build())
         .propagateTags("propagateTags")
         .build();
 

See Also: