Skip to content
v2.278.0

LustreConfigurationProperty Struct ​

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_fsx as fsx } from 'aws-cdk-lib';
const lustreConfigurationProperty: fsx.CfnFileCache.LustreConfigurationProperty = {
  deploymentType: 'deploymentType',
  metadataConfiguration: {
    storageCapacity: 123,
  },
  perUnitStorageThroughput: 123,

  // the properties below are optional
  logConfiguration: {
    level: 'level',

    // the properties below are optional
    destination: 'destination',
  },
  mountName: 'mountName',
  weeklyMaintenanceStartTime: 'weeklyMaintenanceStartTime',
};
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_fsx as fsx

lustre_configuration_property = fsx.CfnFileCache.LustreConfigurationProperty(
    deployment_type="deploymentType",
    metadata_configuration=fsx.CfnFileCache.MetadataConfigurationProperty(
        storage_capacity=123
    ),
    per_unit_storage_throughput=123,

    # the properties below are optional
    log_configuration=fsx.CfnFileCache.LogConfigurationProperty(
        level="level",

        # the properties below are optional
        destination="destination"
    ),
    mount_name="mountName",
    weekly_maintenance_start_time="weeklyMaintenanceStartTime"
)
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.fsx.*;

LustreConfigurationProperty lustreConfigurationProperty = LustreConfigurationProperty.builder()
        .deploymentType("deploymentType")
        .metadataConfiguration(MetadataConfigurationProperty.builder()
                .storageCapacity(123)
                .build())
        .perUnitStorageThroughput(123)

        // the properties below are optional
        .logConfiguration(LogConfigurationProperty.builder()
                .level("level")

                // the properties below are optional
                .destination("destination")
                .build())
        .mountName("mountName")
        .weeklyMaintenanceStartTime("weeklyMaintenanceStartTime")
        .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.FSx;

var lustreConfigurationProperty = new LustreConfigurationProperty {
    DeploymentType = "deploymentType",
    MetadataConfiguration = new MetadataConfigurationProperty {
        StorageCapacity = 123
    },
    PerUnitStorageThroughput = 123,

    // the properties below are optional
    LogConfiguration = new LogConfigurationProperty {
        Level = "level",

        // the properties below are optional
        Destination = "destination"
    },
    MountName = "mountName",
    WeeklyMaintenanceStartTime = "weeklyMaintenanceStartTime"
};
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"

lustreConfigurationProperty := &LustreConfigurationProperty{
	DeploymentType: jsii.String("deploymentType"),
	MetadataConfiguration: &MetadataConfigurationProperty{
		StorageCapacity: jsii.Number(123),
	},
	PerUnitStorageThroughput: jsii.Number(123),

	// the properties below are optional
	LogConfiguration: &LogConfigurationProperty{
		Level: jsii.String("level"),

		// the properties below are optional
		Destination: jsii.String("destination"),
	},
	MountName: jsii.String("mountName"),
	WeeklyMaintenanceStartTime: jsii.String("weeklyMaintenanceStartTime"),
}

Properties ​

deploymentTypestringdeployment_typestrdeploymentTypeStringDeploymentTypestringDeploymentType*string required #
logConfigurationoptionalIResolvable | CfnFileCache.LogConfigurationPropertylog_configurationoptionaltyping.Union[IResolvable, LogConfigurationProperty]logConfigurationoptionalIResolvableLogConfigurationoptionalIResolvableLogConfigurationoptionalinterface{} #
metadataConfigurationIResolvable | CfnFileCache.MetadataConfigurationPropertymetadata_configurationtyping.Union[IResolvable, MetadataConfigurationProperty]metadataConfigurationIResolvableMetadataConfigurationIResolvableMetadataConfigurationinterface{} required #
mountNameoptionalstringmount_nameoptionalstrmountNameoptionalStringMountNameoptionalstringMountNameoptional*string #
perUnitStorageThroughputnumberper_unit_storage_throughputint | floatperUnitStorageThroughputNumberPerUnitStorageThroughputdoublePerUnitStorageThroughput*float64 required #
weeklyMaintenanceStartTimeoptionalstringweekly_maintenance_start_timeoptionalstrweeklyMaintenanceStartTimeoptionalStringWeeklyMaintenanceStartTimeoptionalstringWeeklyMaintenanceStartTimeoptional*string #