interface LaunchTemplateSourceProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.BedrockAgentCore.CfnCapacityProvider.LaunchTemplateSourceProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsbedrockagentcore#CfnCapacityProvider_LaunchTemplateSourceProperty |
Java | software.amazon.awscdk.services.bedrockagentcore.CfnCapacityProvider.LaunchTemplateSourceProperty |
Python | aws_cdk.aws_bedrockagentcore.CfnCapacityProvider.LaunchTemplateSourceProperty |
TypeScript | aws-cdk-lib » aws_bedrockagentcore » CfnCapacityProvider » LaunchTemplateSourceProperty |
How the launch template is specified.
Example
// 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
| Name | Type | Description |
|---|---|---|
| launch | IResolvable | Launch | Parameters for launching EC2 instances. |
launchParameters
Type:
IResolvable | Launch
Parameters for launching EC2 instances.

.NET
Go
Java
Python
TypeScript