# LaunchTemplateSourceProperty

How the launch template is specified.

- Source: Generated code
- Type last changed: v2.268.0 · 2 Sep 2026

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bedrockagentcore as bedrockagentcore } from 'aws-cdk-lib';
const launchTemplateSourceProperty: bedrockagentcore.CfnCapacityProvider.LaunchTemplateSourceProperty = {
  launchParameters: {
    instanceRequirements: {
      allowedInstanceTypes: ['allowedInstanceTypes'],
    },
    operatingSystem: 'operatingSystem',

    // the properties below are optional
    capacityReservationSpecification: {
      capacityReservationPreference: 'capacityReservationPreference',
      capacityReservationTarget: {
        capacityReservationId: 'capacityReservationId',
        capacityReservationResourceGroupArn: 'capacityReservationResourceGroupArn',
      },
    },
    ephemeralVolumes: [{
      deviceName: 'deviceName',
      ebs: {
        ebsCardIndex: 123,
        encrypted: false,
        iops: 123,
        kmsKeyId: 'kmsKeyId',
        snapshotId: 'snapshotId',
        throughput: 123,
        volumeInitializationRate: 123,
        volumeSize: 123,
        volumeType: 'volumeType',
      },
      virtualName: 'virtualName',
    }],
    instanceProfileArn: 'instanceProfileArn',
    licenseSpecifications: [{
      licenseConfigurationArn: 'licenseConfigurationArn',
    }],
    monitoring: 'monitoring',
    propagatedTags: {
      propagatedTagsKey: 'propagatedTags',
    },
    sshKeyName: 'sshKeyName',
  },
};
```

## Properties

- `launchParameters`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnCapacityProvider.LaunchParametersProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_bedrockagentcore.CfnCapacityProvider.LaunchParametersProperty.html) (required) — Parameters for launching EC2 instances.
