interface LaunchParametersProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.BedrockAgentCore.CfnCapacityProvider.LaunchParametersProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsbedrockagentcore#CfnCapacityProvider_LaunchParametersProperty |
Java | software.amazon.awscdk.services.bedrockagentcore.CfnCapacityProvider.LaunchParametersProperty |
Python | aws_cdk.aws_bedrockagentcore.CfnCapacityProvider.LaunchParametersProperty |
TypeScript | aws-cdk-lib » aws_bedrockagentcore » CfnCapacityProvider » LaunchParametersProperty |
Parameters for launching EC2 instances.
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 launchParametersProperty: bedrockagentcore.CfnCapacityProvider.LaunchParametersProperty = {
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 |
|---|---|---|
| instance | IResolvable | Instance | Requirements for EC2 instance types. |
| operating | string | The operating system and CPU architecture for the instances. |
| capacity | IResolvable | Capacity | The Capacity Reservation targeting option. |
| ephemeral | IResolvable | (IResolvable | Ephemeral)[] | The block device mapping for ephemeral (instance store) volumes. |
| instance | string | The ARN of the IAM instance profile to associate with launched instances. |
| license | IResolvable | (IResolvable | License)[] | The license configurations. |
| monitoring? | string | The monitoring level for the instance. |
| propagated | IResolvable | { [string]: string } | Tags to apply to all EC2 resources (instances, volumes, and network interfaces) created by this capacity provider. |
| ssh | string | The name of the SSH key pair to configure on instances for SSH connectivity. |
instanceRequirements
Type:
IResolvable | Instance
Requirements for EC2 instance types.
operatingSystem
Type:
string
The operating system and CPU architecture for the instances.
capacityReservationSpecification?
Type:
IResolvable | Capacity
(optional)
The Capacity Reservation targeting option.
ephemeralVolumes?
Type:
IResolvable | (IResolvable | Ephemeral)[]
(optional)
The block device mapping for ephemeral (instance store) volumes.
instanceProfileArn?
Type:
string
(optional)
The ARN of the IAM instance profile to associate with launched instances.
licenseSpecifications?
Type:
IResolvable | (IResolvable | License)[]
(optional)
The license configurations.
monitoring?
Type:
string
(optional)
The monitoring level for the instance.
propagatedTags?
Type:
IResolvable | { [string]: string }
(optional)
Tags to apply to all EC2 resources (instances, volumes, and network interfaces) created by this capacity provider.
sshKeyName?
Type:
string
(optional)
The name of the SSH key pair to configure on instances for SSH connectivity.

.NET
Go
Java
Python
TypeScript