Skip to content
v2.278.0

CustomerManagedWorkerCapabilitiesProperty Struct ​

The worker capabilities for a customer managed workflow.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_deadline as deadline } from 'aws-cdk-lib';
const customerManagedWorkerCapabilitiesProperty: deadline.CfnFleet.CustomerManagedWorkerCapabilitiesProperty = {
  cpuArchitectureType: 'cpuArchitectureType',
  memoryMiB: {
    min: 123,

    // the properties below are optional
    max: 123,
  },
  osFamily: 'osFamily',
  vCpuCount: {
    min: 123,

    // the properties below are optional
    max: 123,
  },

  // the properties below are optional
  acceleratorCount: {
    min: 123,

    // the properties below are optional
    max: 123,
  },
  acceleratorTotalMemoryMiB: {
    min: 123,

    // the properties below are optional
    max: 123,
  },
  acceleratorTypes: ['acceleratorTypes'],
  customAmounts: [{
    min: 123,
    name: 'name',

    // the properties below are optional
    max: 123,
  }],
  customAttributes: [{
    name: 'name',
    values: ['values'],
  }],
};
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_deadline as deadline

customer_managed_worker_capabilities_property = deadline.CfnFleet.CustomerManagedWorkerCapabilitiesProperty(
    cpu_architecture_type="cpuArchitectureType",
    memory_mi_b=deadline.CfnFleet.MemoryMiBRangeProperty(
        min=123,

        # the properties below are optional
        max=123
    ),
    os_family="osFamily",
    v_cpu_count=deadline.CfnFleet.VCpuCountRangeProperty(
        min=123,

        # the properties below are optional
        max=123
    ),

    # the properties below are optional
    accelerator_count=deadline.CfnFleet.AcceleratorCountRangeProperty(
        min=123,

        # the properties below are optional
        max=123
    ),
    accelerator_total_memory_mi_b=deadline.CfnFleet.AcceleratorTotalMemoryMiBRangeProperty(
        min=123,

        # the properties below are optional
        max=123
    ),
    accelerator_types=["acceleratorTypes"],
    custom_amounts=[deadline.CfnFleet.FleetAmountCapabilityProperty(
        min=123,
        name="name",

        # the properties below are optional
        max=123
    )],
    custom_attributes=[deadline.CfnFleet.FleetAttributeCapabilityProperty(
        name="name",
        values=["values"]
    )]
)
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.deadline.*;

CustomerManagedWorkerCapabilitiesProperty customerManagedWorkerCapabilitiesProperty = CustomerManagedWorkerCapabilitiesProperty.builder()
        .cpuArchitectureType("cpuArchitectureType")
        .memoryMiB(MemoryMiBRangeProperty.builder()
                .min(123)

                // the properties below are optional
                .max(123)
                .build())
        .osFamily("osFamily")
        .vCpuCount(VCpuCountRangeProperty.builder()
                .min(123)

                // the properties below are optional
                .max(123)
                .build())

        // the properties below are optional
        .acceleratorCount(AcceleratorCountRangeProperty.builder()
                .min(123)

                // the properties below are optional
                .max(123)
                .build())
        .acceleratorTotalMemoryMiB(AcceleratorTotalMemoryMiBRangeProperty.builder()
                .min(123)

                // the properties below are optional
                .max(123)
                .build())
        .acceleratorTypes(List.of("acceleratorTypes"))
        .customAmounts(List.of(FleetAmountCapabilityProperty.builder()
                .min(123)
                .name("name")

                // the properties below are optional
                .max(123)
                .build()))
        .customAttributes(List.of(FleetAttributeCapabilityProperty.builder()
                .name("name")
                .values(List.of("values"))
                .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.Deadline;

var customerManagedWorkerCapabilitiesProperty = new CustomerManagedWorkerCapabilitiesProperty {
    CpuArchitectureType = "cpuArchitectureType",
    MemoryMiB = new MemoryMiBRangeProperty {
        Min = 123,

        // the properties below are optional
        Max = 123
    },
    OsFamily = "osFamily",
    VCpuCount = new VCpuCountRangeProperty {
        Min = 123,

        // the properties below are optional
        Max = 123
    },

    // the properties below are optional
    AcceleratorCount = new AcceleratorCountRangeProperty {
        Min = 123,

        // the properties below are optional
        Max = 123
    },
    AcceleratorTotalMemoryMiB = new AcceleratorTotalMemoryMiBRangeProperty {
        Min = 123,

        // the properties below are optional
        Max = 123
    },
    AcceleratorTypes = new [] { "acceleratorTypes" },
    CustomAmounts = new [] { new FleetAmountCapabilityProperty {
        Min = 123,
        Name = "name",

        // the properties below are optional
        Max = 123
    } },
    CustomAttributes = new [] { new FleetAttributeCapabilityProperty {
        Name = "name",
        Values = new [] { "values" }
    } }
};
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"

customerManagedWorkerCapabilitiesProperty := &CustomerManagedWorkerCapabilitiesProperty{
	CpuArchitectureType: jsii.String("cpuArchitectureType"),
	MemoryMiB: &MemoryMiBRangeProperty{
		Min: jsii.Number(123),

		// the properties below are optional
		Max: jsii.Number(123),
	},
	OsFamily: jsii.String("osFamily"),
	VCpuCount: &VCpuCountRangeProperty{
		Min: jsii.Number(123),

		// the properties below are optional
		Max: jsii.Number(123),
	},

	// the properties below are optional
	AcceleratorCount: &AcceleratorCountRangeProperty{
		Min: jsii.Number(123),

		// the properties below are optional
		Max: jsii.Number(123),
	},
	AcceleratorTotalMemoryMiB: &AcceleratorTotalMemoryMiBRangeProperty{
		Min: jsii.Number(123),

		// the properties below are optional
		Max: jsii.Number(123),
	},
	AcceleratorTypes: []*string{
		jsii.String("acceleratorTypes"),
	},
	CustomAmounts: []interface{}{
		&FleetAmountCapabilityProperty{
			Min: jsii.Number(123),
			Name: jsii.String("name"),

			// the properties below are optional
			Max: jsii.Number(123),
		},
	},
	CustomAttributes: []interface{}{
		&FleetAttributeCapabilityProperty{
			Name: jsii.String("name"),
			Values: []*string{
				jsii.String("values"),
			},
		},
	},
}

Properties ​

acceleratorCountoptionalIResolvable | CfnFleet.AcceleratorCountRangePropertyaccelerator_countoptionaltyping.Union[IResolvable, AcceleratorCountRangeProperty]acceleratorCountoptionalIResolvableAcceleratorCountoptionalIResolvableAcceleratorCountoptionalinterface{} #
The range of the accelerator.
acceleratorTotalMemoryMiBoptionalIResolvable | CfnFleet.AcceleratorTotalMemoryMiBRangePropertyaccelerator_total_memory_mi_boptionaltyping.Union[IResolvable, AcceleratorTotalMemoryMiBRangeProperty]acceleratorTotalMemoryMiBoptionalIResolvableAcceleratorTotalMemoryMiBoptionalIResolvableAcceleratorTotalMemoryMiBoptionalinterface{} #
The total memory (MiB) for the customer managed worker capabilities.
acceleratorTypesoptionalstring[]accelerator_typesoptionaltyping.List[str]acceleratorTypesoptionalList<String>AcceleratorTypesoptionalstring[]AcceleratorTypesoptional*[]*string #
The accelerator types for the customer managed worker capabilities.
cpuArchitectureTypestringcpu_architecture_typestrcpuArchitectureTypeStringCpuArchitectureTypestringCpuArchitectureType*string required #
The CPU architecture type for the customer managed worker capabilities.
customAmountsoptionalIResolvable | IResolvable | CfnFleet.FleetAmountCapabilityProperty[]custom_amountsoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, FleetAmountCapabilityProperty]]]customAmountsoptionalIResolvableCustomAmountsoptionalIResolvableCustomAmountsoptionalinterface{} #
Custom requirement ranges for customer managed worker capabilities.
customAttributesoptionalIResolvable | IResolvable | CfnFleet.FleetAttributeCapabilityProperty[]custom_attributesoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, FleetAttributeCapabilityProperty]]]customAttributesoptionalIResolvableCustomAttributesoptionalIResolvableCustomAttributesoptionalinterface{} #
Custom attributes for the customer manged worker capabilities.
memoryMiBIResolvable | CfnFleet.MemoryMiBRangePropertymemory_mi_btyping.Union[IResolvable, MemoryMiBRangeProperty]memoryMiBIResolvableMemoryMiBIResolvableMemoryMiBinterface{} required #
The memory (MiB).
osFamilystringos_familystrosFamilyStringOsFamilystringOsFamily*string required #
The operating system (OS) family.
vCpuCountIResolvable | CfnFleet.VCpuCountRangePropertyv_cpu_counttyping.Union[IResolvable, VCpuCountRangeProperty]vCpuCountIResolvableVCpuCountIResolvableVCpuCountinterface{} required #
The vCPU count for the customer manged worker capabilities.