Skip to content
v2.275.0

ManagedInstancesProviderProperty Struct ​

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_batch as batch } from 'aws-cdk-lib';
const managedInstancesProviderProperty: batch.CfnComputeEnvironment.ManagedInstancesProviderProperty = {
  infrastructureRoleArn: 'infrastructureRoleArn',
  instanceLaunchTemplate: {
    ec2InstanceProfileArn: 'ec2InstanceProfileArn',
    networkConfiguration: {
      securityGroups: ['securityGroups'],
      subnets: ['subnets'],
    },

    // the properties below are optional
    capacityOptionType: 'capacityOptionType',
    capacityReservations: {
      reservationGroupArn: 'reservationGroupArn',
      reservationPreference: 'reservationPreference',
    },
    fipsEnabled: false,
    instanceMetadataTagsPropagation: false,
    instanceRequirements: {
      allowedInstanceTypes: ['allowedInstanceTypes'],
    },
    localStorageConfiguration: {
      useLocalStorage: false,
    },
    monitoring: 'monitoring',
    storageConfiguration: {
      storageSizeGiB: 123,
    },
  },

  // the properties below are optional
  infrastructureOptimization: {
    scaleInAfter: 123,
  },
  propagateTags: 'propagateTags',
};

Properties ​

infrastructureOptimizationoptionalIResolvable | CfnComputeEnvironment.InfrastructureOptimizationPropertyinfrastructure_optimizationoptionaltyping.Union[IResolvable, InfrastructureOptimizationProperty]infrastructureOptimizationoptionalIResolvableInfrastructureOptimizationoptionalIResolvableInfrastructureOptimizationoptionalinterface{}#
infrastructureRoleArnstringinfrastructure_role_arnstrinfrastructureRoleArnStringInfrastructureRoleArnstringInfrastructureRoleArn*stringrequired#
instanceLaunchTemplateIResolvable | CfnComputeEnvironment.InstanceLaunchTemplatePropertyinstance_launch_templatetyping.Union[IResolvable, InstanceLaunchTemplateProperty]instanceLaunchTemplateIResolvableInstanceLaunchTemplateIResolvableInstanceLaunchTemplateinterface{}required#
propagateTagsoptionalstringpropagate_tagsoptionalstrpropagateTagsoptionalStringPropagateTagsoptionalstringPropagateTagsoptional*string#