Skip to content
v2.278.0

FilesystemConfigurationProperty ​

Struct External

Filesystem configuration for the 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 filesystemConfigurationProperty: bedrockagentcore.CfnRuntime.FilesystemConfigurationProperty = {
  capacityProviderVolume: {
    mountPath: 'mountPath',
    volumeName: 'volumeName',
  },
  efsAccessPoint: {
    accessPointArn: 'accessPointArn',
    mountPath: 'mountPath',
  },
  s3FilesAccessPoint: {
    accessPointArn: 'accessPointArn',
    mountPath: 'mountPath',
  },
  sessionStorage: {
    mountPath: 'mountPath',
  },
};
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

filesystem_configuration_property = bedrockagentcore.CfnRuntime.FilesystemConfigurationProperty(
    capacity_provider_volume=bedrockagentcore.CfnRuntime.CapacityProviderVolumeConfigurationProperty(
        mount_path="mountPath",
        volume_name="volumeName"
    ),
    efs_access_point=bedrockagentcore.CfnRuntime.EfsAccessPointConfigurationProperty(
        access_point_arn="accessPointArn",
        mount_path="mountPath"
    ),
    s3_files_access_point=bedrockagentcore.CfnRuntime.S3FilesAccessPointConfigurationProperty(
        access_point_arn="accessPointArn",
        mount_path="mountPath"
    ),
    session_storage=bedrockagentcore.CfnRuntime.SessionStorageConfigurationProperty(
        mount_path="mountPath"
    )
)
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.*;

FilesystemConfigurationProperty filesystemConfigurationProperty = FilesystemConfigurationProperty.builder()
        .capacityProviderVolume(CapacityProviderVolumeConfigurationProperty.builder()
                .mountPath("mountPath")
                .volumeName("volumeName")
                .build())
        .efsAccessPoint(EfsAccessPointConfigurationProperty.builder()
                .accessPointArn("accessPointArn")
                .mountPath("mountPath")
                .build())
        .s3FilesAccessPoint(S3FilesAccessPointConfigurationProperty.builder()
                .accessPointArn("accessPointArn")
                .mountPath("mountPath")
                .build())
        .sessionStorage(SessionStorageConfigurationProperty.builder()
                .mountPath("mountPath")
                .build())
        .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 filesystemConfigurationProperty = new FilesystemConfigurationProperty {
    CapacityProviderVolume = new CapacityProviderVolumeConfigurationProperty {
        MountPath = "mountPath",
        VolumeName = "volumeName"
    },
    EfsAccessPoint = new EfsAccessPointConfigurationProperty {
        AccessPointArn = "accessPointArn",
        MountPath = "mountPath"
    },
    S3FilesAccessPoint = new S3FilesAccessPointConfigurationProperty {
        AccessPointArn = "accessPointArn",
        MountPath = "mountPath"
    },
    SessionStorage = new SessionStorageConfigurationProperty {
        MountPath = "mountPath"
    }
};
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"

filesystemConfigurationProperty := &FilesystemConfigurationProperty{
	CapacityProviderVolume: &CapacityProviderVolumeConfigurationProperty{
		MountPath: jsii.String("mountPath"),
		VolumeName: jsii.String("volumeName"),
	},
	EfsAccessPoint: &EfsAccessPointConfigurationProperty{
		AccessPointArn: jsii.String("accessPointArn"),
		MountPath: jsii.String("mountPath"),
	},
	S3FilesAccessPoint: &S3FilesAccessPointConfigurationProperty{
		AccessPointArn: jsii.String("accessPointArn"),
		MountPath: jsii.String("mountPath"),
	},
	SessionStorage: &SessionStorageConfigurationProperty{
		MountPath: jsii.String("mountPath"),
	},
}

Properties ​

capacityProviderVolumeoptionalIResolvable | CfnRuntime.CapacityProviderVolumeConfigurationPropertycapacity_provider_volumeoptionaltyping.Union[IResolvable, CapacityProviderVolumeConfigurationProperty]capacityProviderVolumeoptionalIResolvableCapacityProviderVolumeoptionalIResolvableCapacityProviderVolumeoptionalinterface{} #
Configuration for a CapacityProvider-managed volume to mount into the agent runtime.
efsAccessPointoptionalIResolvable | CfnRuntime.EfsAccessPointConfigurationPropertyefs_access_pointoptionaltyping.Union[IResolvable, EfsAccessPointConfigurationProperty]efsAccessPointoptionalIResolvableEfsAccessPointoptionalIResolvableEfsAccessPointoptionalinterface{} #
Configuration for EFS access point filesystem.
s3FilesAccessPointoptionalIResolvable | CfnRuntime.S3FilesAccessPointConfigurationPropertys3_files_access_pointoptionaltyping.Union[IResolvable, S3FilesAccessPointConfigurationProperty]s3FilesAccessPointoptionalIResolvableS3FilesAccessPointoptionalIResolvableS3FilesAccessPointoptionalinterface{} #
Configuration for S3 Files access point filesystem.
sessionStorageoptionalIResolvable | CfnRuntime.SessionStorageConfigurationPropertysession_storageoptionaltyping.Union[IResolvable, SessionStorageConfigurationProperty]sessionStorageoptionalIResolvableSessionStorageoptionalIResolvableSessionStorageoptionalinterface{} #
Configuration for session storage.