Skip to content
v2.278.0

CapacityProviderVolumeConfigurationProperty ​

Struct External

Configuration for a CapacityProvider-managed volume to mount into the agent runtime.

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 capacityProviderVolumeConfigurationProperty: bedrockagentcore.CfnRuntime.CapacityProviderVolumeConfigurationProperty = {
  mountPath: 'mountPath',
  volumeName: 'volumeName',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_bedrockagentcore as bedrockagentcore

capacity_provider_volume_configuration_property = bedrockagentcore.CfnRuntime.CapacityProviderVolumeConfigurationProperty(
    mount_path="mountPath",
    volume_name="volumeName"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.bedrockagentcore.*;

CapacityProviderVolumeConfigurationProperty capacityProviderVolumeConfigurationProperty = CapacityProviderVolumeConfigurationProperty.builder()
        .mountPath("mountPath")
        .volumeName("volumeName")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.BedrockAgentCore;

var capacityProviderVolumeConfigurationProperty = new CapacityProviderVolumeConfigurationProperty {
    MountPath = "mountPath",
    VolumeName = "volumeName"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

capacityProviderVolumeConfigurationProperty := &CapacityProviderVolumeConfigurationProperty{
	MountPath: jsii.String("mountPath"),
	VolumeName: jsii.String("volumeName"),
}

Properties ​

mountPathstringmount_pathstrmountPathStringMountPathstringMountPath*string required #
Mount path for filesystem configuration.
volumeNamestringvolume_namestrvolumeNameStringVolumeNamestringVolumeName*string required #
Name of the capacity provider volume.