

This is the new *Amazon CloudFormation Template Reference Guide*. Please update your bookmarks and links. For help getting started with CloudFormation, see the [Amazon CloudFormation User Guide](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/Welcome.html).

# AWS::BedrockAgentCore::CapacityProvider Ec2Configuration
<a name="aws-properties-bedrockagentcore-capacityprovider-ec2configuration"></a>

<a name="aws-properties-bedrockagentcore-capacityprovider-ec2configuration-description"></a>The `Ec2Configuration` property type specifies Property description not available. for an [AWS::BedrockAgentCore::CapacityProvider](aws-resource-bedrockagentcore-capacityprovider.md).

## Syntax
<a name="aws-properties-bedrockagentcore-capacityprovider-ec2configuration-syntax"></a>

To declare this entity in your Amazon CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-bedrockagentcore-capacityprovider-ec2configuration-syntax.json"></a>

```
{
  "[LaunchTemplateSource](#cfn-bedrockagentcore-capacityprovider-ec2configuration-launchtemplatesource)" : {{LaunchTemplateSource}},
  "[LifecycleConfiguration](#cfn-bedrockagentcore-capacityprovider-ec2configuration-lifecycleconfiguration)" : {{InstanceLifecycleConfiguration}},
  "[RootVolume](#cfn-bedrockagentcore-capacityprovider-ec2configuration-rootvolume)" : {{RootVolumeConfiguration}},
  "[Volumes](#cfn-bedrockagentcore-capacityprovider-ec2configuration-volumes)" : {{[ VolumeConfiguration, ... ]}},
  "[VpcConfiguration](#cfn-bedrockagentcore-capacityprovider-ec2configuration-vpcconfiguration)" : {{VpcConfiguration}}
}
```

### YAML
<a name="aws-properties-bedrockagentcore-capacityprovider-ec2configuration-syntax.yaml"></a>

```
  [LaunchTemplateSource](#cfn-bedrockagentcore-capacityprovider-ec2configuration-launchtemplatesource): {{
    LaunchTemplateSource}}
  [LifecycleConfiguration](#cfn-bedrockagentcore-capacityprovider-ec2configuration-lifecycleconfiguration): {{
    InstanceLifecycleConfiguration}}
  [RootVolume](#cfn-bedrockagentcore-capacityprovider-ec2configuration-rootvolume): {{
    RootVolumeConfiguration}}
  [Volumes](#cfn-bedrockagentcore-capacityprovider-ec2configuration-volumes): {{
    - VolumeConfiguration}}
  [VpcConfiguration](#cfn-bedrockagentcore-capacityprovider-ec2configuration-vpcconfiguration): {{
    VpcConfiguration}}
```

## Properties
<a name="aws-properties-bedrockagentcore-capacityprovider-ec2configuration-properties"></a>

`LaunchTemplateSource`  <a name="cfn-bedrockagentcore-capacityprovider-ec2configuration-launchtemplatesource"></a>
Property description not available.  
*Required*: Yes  
*Type*: [LaunchTemplateSource](aws-properties-bedrockagentcore-capacityprovider-launchtemplatesource.md)  
*Update requires*: [Replacement](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)

`LifecycleConfiguration`  <a name="cfn-bedrockagentcore-capacityprovider-ec2configuration-lifecycleconfiguration"></a>
Property description not available.  
*Required*: No  
*Type*: [InstanceLifecycleConfiguration](aws-properties-bedrockagentcore-capacityprovider-instancelifecycleconfiguration.md)  
*Update requires*: [Replacement](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)

`RootVolume`  <a name="cfn-bedrockagentcore-capacityprovider-ec2configuration-rootvolume"></a>
Property description not available.  
*Required*: No  
*Type*: [RootVolumeConfiguration](aws-properties-bedrockagentcore-capacityprovider-rootvolumeconfiguration.md)  
*Update requires*: [Replacement](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)

`Volumes`  <a name="cfn-bedrockagentcore-capacityprovider-ec2configuration-volumes"></a>
Property description not available.  
*Required*: No  
*Type*: Array of [VolumeConfiguration](aws-properties-bedrockagentcore-capacityprovider-volumeconfiguration.md)  
*Maximum*: `5`  
*Update requires*: [Replacement](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)

`VpcConfiguration`  <a name="cfn-bedrockagentcore-capacityprovider-ec2configuration-vpcconfiguration"></a>
Property description not available.  
*Required*: Yes  
*Type*: [VpcConfiguration](aws-properties-bedrockagentcore-capacityprovider-vpcconfiguration.md)  
*Update requires*: [Replacement](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)