CfnFleetPropsMixin

class aws_cdk.mixins_preview.aws_deadline.mixins.CfnFleetPropsMixin(props, *, strategy=None)

Bases: Mixin

Creates a fleet.

Fleets gather information relating to compute, or capacity, for renders within your farms. You can choose to manage your own capacity or opt to have fleets fully managed by Deadline Cloud.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-deadline-fleet.html

CloudformationResource:

AWS::Deadline::Fleet

Mixin:

true

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview import mixins
from aws_cdk.mixins_preview.aws_deadline import mixins as deadline_mixins

cfn_fleet_props_mixin = deadline_mixins.CfnFleetPropsMixin(deadline_mixins.CfnFleetMixinProps(
    configuration=deadline_mixins.CfnFleetPropsMixin.FleetConfigurationProperty(
        customer_managed=deadline_mixins.CfnFleetPropsMixin.CustomerManagedFleetConfigurationProperty(
            mode="mode",
            storage_profile_id="storageProfileId",
            tag_propagation_mode="tagPropagationMode",
            worker_capabilities=deadline_mixins.CfnFleetPropsMixin.CustomerManagedWorkerCapabilitiesProperty(
                accelerator_count=deadline_mixins.CfnFleetPropsMixin.AcceleratorCountRangeProperty(
                    max=123,
                    min=123
                ),
                accelerator_total_memory_mi_b=deadline_mixins.CfnFleetPropsMixin.AcceleratorTotalMemoryMiBRangeProperty(
                    max=123,
                    min=123
                ),
                accelerator_types=["acceleratorTypes"],
                cpu_architecture_type="cpuArchitectureType",
                custom_amounts=[deadline_mixins.CfnFleetPropsMixin.FleetAmountCapabilityProperty(
                    max=123,
                    min=123,
                    name="name"
                )],
                custom_attributes=[deadline_mixins.CfnFleetPropsMixin.FleetAttributeCapabilityProperty(
                    name="name",
                    values=["values"]
                )],
                memory_mi_b=deadline_mixins.CfnFleetPropsMixin.MemoryMiBRangeProperty(
                    max=123,
                    min=123
                ),
                os_family="osFamily",
                v_cpu_count=deadline_mixins.CfnFleetPropsMixin.VCpuCountRangeProperty(
                    max=123,
                    min=123
                )
            )
        ),
        service_managed_ec2=deadline_mixins.CfnFleetPropsMixin.ServiceManagedEc2FleetConfigurationProperty(
            instance_capabilities=deadline_mixins.CfnFleetPropsMixin.ServiceManagedEc2InstanceCapabilitiesProperty(
                accelerator_capabilities=deadline_mixins.CfnFleetPropsMixin.AcceleratorCapabilitiesProperty(
                    count=deadline_mixins.CfnFleetPropsMixin.AcceleratorCountRangeProperty(
                        max=123,
                        min=123
                    ),
                    selections=[deadline_mixins.CfnFleetPropsMixin.AcceleratorSelectionProperty(
                        name="name",
                        runtime="runtime"
                    )]
                ),
                allowed_instance_types=["allowedInstanceTypes"],
                cpu_architecture_type="cpuArchitectureType",
                custom_amounts=[deadline_mixins.CfnFleetPropsMixin.FleetAmountCapabilityProperty(
                    max=123,
                    min=123,
                    name="name"
                )],
                custom_attributes=[deadline_mixins.CfnFleetPropsMixin.FleetAttributeCapabilityProperty(
                    name="name",
                    values=["values"]
                )],
                excluded_instance_types=["excludedInstanceTypes"],
                memory_mi_b=deadline_mixins.CfnFleetPropsMixin.MemoryMiBRangeProperty(
                    max=123,
                    min=123
                ),
                os_family="osFamily",
                root_ebs_volume=deadline_mixins.CfnFleetPropsMixin.Ec2EbsVolumeProperty(
                    iops=123,
                    size_gi_b=123,
                    throughput_mi_b=123
                ),
                v_cpu_count=deadline_mixins.CfnFleetPropsMixin.VCpuCountRangeProperty(
                    max=123,
                    min=123
                )
            ),
            instance_market_options=deadline_mixins.CfnFleetPropsMixin.ServiceManagedEc2InstanceMarketOptionsProperty(
                type="type"
            ),
            storage_profile_id="storageProfileId",
            vpc_configuration=deadline_mixins.CfnFleetPropsMixin.VpcConfigurationProperty(
                resource_configuration_arns=["resourceConfigurationArns"]
            )
        )
    ),
    description="description",
    display_name="displayName",
    farm_id="farmId",
    host_configuration=deadline_mixins.CfnFleetPropsMixin.HostConfigurationProperty(
        script_body="scriptBody",
        script_timeout_seconds=123
    ),
    max_worker_count=123,
    min_worker_count=123,
    role_arn="roleArn",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
),
    strategy=mixins.PropertyMergeStrategy.OVERRIDE
)

Create a mixin to apply properties to AWS::Deadline::Fleet.

Parameters:
  • props (Union[CfnFleetMixinProps, Dict[str, Any]]) – L1 properties to apply.

  • strategy (Optional[PropertyMergeStrategy]) – (experimental) Strategy for merging nested properties. Default: - PropertyMergeStrategy.MERGE

Methods

apply_to(construct)

Apply the mixin properties to the construct.

Parameters:

construct (IConstruct)

Return type:

IConstruct

supports(construct)

Check if this mixin supports the given construct.

Parameters:

construct (IConstruct)

Return type:

bool

Attributes

CFN_PROPERTY_KEYS = ['configuration', 'description', 'displayName', 'farmId', 'hostConfiguration', 'maxWorkerCount', 'minWorkerCount', 'roleArn', 'tags']

Static Methods

classmethod is_mixin(x)

(experimental) Checks if x is a Mixin.

Parameters:

x (Any) – Any object.

Return type:

bool

Returns:

true if x is an object created from a class which extends Mixin.

Stability:

experimental

AcceleratorCapabilitiesProperty

class CfnFleetPropsMixin.AcceleratorCapabilitiesProperty(*, count=None, selections=None)

Bases: object

Provides information about the GPU accelerators used for jobs processed by a fleet.

Parameters:
  • count (Union[IResolvable, AcceleratorCountRangeProperty, Dict[str, Any], None]) – The number of GPU accelerators specified for worker hosts in this fleet.

  • selections (Union[IResolvable, Sequence[Union[IResolvable, AcceleratorSelectionProperty, Dict[str, Any]]], None]) – A list of accelerator capabilities requested for this fleet. Only Amazon Elastic Compute Cloud instances that provide these capabilities will be used. For example, if you specify both L4 and T4 chips, AWS Deadline Cloud will use Amazon EC2 instances that have either the L4 or the T4 chip installed.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-acceleratorcapabilities.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_deadline import mixins as deadline_mixins

accelerator_capabilities_property = deadline_mixins.CfnFleetPropsMixin.AcceleratorCapabilitiesProperty(
    count=deadline_mixins.CfnFleetPropsMixin.AcceleratorCountRangeProperty(
        max=123,
        min=123
    ),
    selections=[deadline_mixins.CfnFleetPropsMixin.AcceleratorSelectionProperty(
        name="name",
        runtime="runtime"
    )]
)

Attributes

count

The number of GPU accelerators specified for worker hosts in this fleet.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-acceleratorcapabilities.html#cfn-deadline-fleet-acceleratorcapabilities-count

selections

A list of accelerator capabilities requested for this fleet.

Only Amazon Elastic Compute Cloud instances that provide these capabilities will be used. For example, if you specify both L4 and T4 chips, AWS Deadline Cloud will use Amazon EC2 instances that have either the L4 or the T4 chip installed.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-acceleratorcapabilities.html#cfn-deadline-fleet-acceleratorcapabilities-selections

AcceleratorCountRangeProperty

class CfnFleetPropsMixin.AcceleratorCountRangeProperty(*, max=None, min=None)

Bases: object

Defines the maximum and minimum number of GPU accelerators required for a worker instance..

Parameters:
  • max (Union[int, float, None]) – The maximum number of GPU accelerators in the worker host.

  • min (Union[int, float, None]) – The minimum number of GPU accelerators in the worker host.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-acceleratorcountrange.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_deadline import mixins as deadline_mixins

accelerator_count_range_property = deadline_mixins.CfnFleetPropsMixin.AcceleratorCountRangeProperty(
    max=123,
    min=123
)

Attributes

max

The maximum number of GPU accelerators in the worker host.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-acceleratorcountrange.html#cfn-deadline-fleet-acceleratorcountrange-max

min

The minimum number of GPU accelerators in the worker host.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-acceleratorcountrange.html#cfn-deadline-fleet-acceleratorcountrange-min

AcceleratorSelectionProperty

class CfnFleetPropsMixin.AcceleratorSelectionProperty(*, name=None, runtime=None)

Bases: object

Describes a specific GPU accelerator required for an Amazon Elastic Compute Cloud worker host.

Parameters:
  • name (Optional[str]) – The name of the chip used by the GPU accelerator. If you specify l4 as the name of the accelerator, you must specify latest or grid:r570 as the runtime. The available GPU accelerators are: - t4 - NVIDIA T4 Tensor Core GPU - a10g - NVIDIA A10G Tensor Core GPU - l4 - NVIDIA L4 Tensor Core GPU - l40s - NVIDIA L40S Tensor Core GPU

  • runtime (Optional[str]) – Specifies the runtime driver to use for the GPU accelerator. You must use the same runtime for all GPUs. You can choose from the following runtimes: - latest - Use the latest runtime available for the chip. If you specify latest and a new version of the runtime is released, the new version of the runtime is used. - grid:r570 - NVIDIA vGPU software 18 - grid:r535 - NVIDIA vGPU software 16 If you don’t specify a runtime, AWS Deadline Cloud uses latest as the default. However, if you have multiple accelerators and specify latest for some and leave others blank, AWS Deadline Cloud raises an exception.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-acceleratorselection.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_deadline import mixins as deadline_mixins

accelerator_selection_property = deadline_mixins.CfnFleetPropsMixin.AcceleratorSelectionProperty(
    name="name",
    runtime="runtime"
)

Attributes

name

The name of the chip used by the GPU accelerator.

If you specify l4 as the name of the accelerator, you must specify latest or grid:r570 as the runtime.

The available GPU accelerators are:

  • t4 - NVIDIA T4 Tensor Core GPU

  • a10g - NVIDIA A10G Tensor Core GPU

  • l4 - NVIDIA L4 Tensor Core GPU

  • l40s - NVIDIA L40S Tensor Core GPU

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-acceleratorselection.html#cfn-deadline-fleet-acceleratorselection-name

runtime

Specifies the runtime driver to use for the GPU accelerator. You must use the same runtime for all GPUs.

You can choose from the following runtimes:

  • latest - Use the latest runtime available for the chip. If you specify latest and a new version of the runtime is released, the new version of the runtime is used.

  • grid:r570 - NVIDIA vGPU software 18

  • grid:r535 - NVIDIA vGPU software 16

If you don’t specify a runtime, AWS Deadline Cloud uses latest as the default. However, if you have multiple accelerators and specify latest for some and leave others blank, AWS Deadline Cloud raises an exception.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-acceleratorselection.html#cfn-deadline-fleet-acceleratorselection-runtime

AcceleratorTotalMemoryMiBRangeProperty

class CfnFleetPropsMixin.AcceleratorTotalMemoryMiBRangeProperty(*, max=None, min=None)

Bases: object

Defines the maximum and minimum amount of memory, in MiB, to use for the accelerator.

Parameters:
  • max (Union[int, float, None]) – The maximum amount of memory to use for the accelerator, measured in MiB.

  • min (Union[int, float, None]) – The minimum amount of memory to use for the accelerator, measured in MiB.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-acceleratortotalmemorymibrange.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_deadline import mixins as deadline_mixins

accelerator_total_memory_mi_bRange_property = deadline_mixins.CfnFleetPropsMixin.AcceleratorTotalMemoryMiBRangeProperty(
    max=123,
    min=123
)

Attributes

max

The maximum amount of memory to use for the accelerator, measured in MiB.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-acceleratortotalmemorymibrange.html#cfn-deadline-fleet-acceleratortotalmemorymibrange-max

min

The minimum amount of memory to use for the accelerator, measured in MiB.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-acceleratortotalmemorymibrange.html#cfn-deadline-fleet-acceleratortotalmemorymibrange-min

CustomerManagedFleetConfigurationProperty

class CfnFleetPropsMixin.CustomerManagedFleetConfigurationProperty(*, mode=None, storage_profile_id=None, tag_propagation_mode=None, worker_capabilities=None)

Bases: object

The configuration details for a customer managed fleet.

Parameters:
  • mode (Optional[str]) – The Auto Scaling mode for the customer managed fleet.

  • storage_profile_id (Optional[str]) – The storage profile ID for the customer managed fleet.

  • tag_propagation_mode (Optional[str]) – The tag propagation mode for the customer managed fleet.

  • worker_capabilities (Union[IResolvable, CustomerManagedWorkerCapabilitiesProperty, Dict[str, Any], None]) – The worker capabilities for the customer managed fleet.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-customermanagedfleetconfiguration.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_deadline import mixins as deadline_mixins

customer_managed_fleet_configuration_property = deadline_mixins.CfnFleetPropsMixin.CustomerManagedFleetConfigurationProperty(
    mode="mode",
    storage_profile_id="storageProfileId",
    tag_propagation_mode="tagPropagationMode",
    worker_capabilities=deadline_mixins.CfnFleetPropsMixin.CustomerManagedWorkerCapabilitiesProperty(
        accelerator_count=deadline_mixins.CfnFleetPropsMixin.AcceleratorCountRangeProperty(
            max=123,
            min=123
        ),
        accelerator_total_memory_mi_b=deadline_mixins.CfnFleetPropsMixin.AcceleratorTotalMemoryMiBRangeProperty(
            max=123,
            min=123
        ),
        accelerator_types=["acceleratorTypes"],
        cpu_architecture_type="cpuArchitectureType",
        custom_amounts=[deadline_mixins.CfnFleetPropsMixin.FleetAmountCapabilityProperty(
            max=123,
            min=123,
            name="name"
        )],
        custom_attributes=[deadline_mixins.CfnFleetPropsMixin.FleetAttributeCapabilityProperty(
            name="name",
            values=["values"]
        )],
        memory_mi_b=deadline_mixins.CfnFleetPropsMixin.MemoryMiBRangeProperty(
            max=123,
            min=123
        ),
        os_family="osFamily",
        v_cpu_count=deadline_mixins.CfnFleetPropsMixin.VCpuCountRangeProperty(
            max=123,
            min=123
        )
    )
)

Attributes

mode

The Auto Scaling mode for the customer managed fleet.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-customermanagedfleetconfiguration.html#cfn-deadline-fleet-customermanagedfleetconfiguration-mode

storage_profile_id

The storage profile ID for the customer managed fleet.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-customermanagedfleetconfiguration.html#cfn-deadline-fleet-customermanagedfleetconfiguration-storageprofileid

tag_propagation_mode

The tag propagation mode for the customer managed fleet.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-customermanagedfleetconfiguration.html#cfn-deadline-fleet-customermanagedfleetconfiguration-tagpropagationmode

worker_capabilities

The worker capabilities for the customer managed fleet.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-customermanagedfleetconfiguration.html#cfn-deadline-fleet-customermanagedfleetconfiguration-workercapabilities

CustomerManagedWorkerCapabilitiesProperty

class CfnFleetPropsMixin.CustomerManagedWorkerCapabilitiesProperty(*, accelerator_count=None, accelerator_total_memory_mib=None, accelerator_types=None, cpu_architecture_type=None, custom_amounts=None, custom_attributes=None, memory_mib=None, os_family=None, v_cpu_count=None)

Bases: object

The worker capabilities for a customer managed workflow.

Parameters:
See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-customermanagedworkercapabilities.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_deadline import mixins as deadline_mixins

customer_managed_worker_capabilities_property = deadline_mixins.CfnFleetPropsMixin.CustomerManagedWorkerCapabilitiesProperty(
    accelerator_count=deadline_mixins.CfnFleetPropsMixin.AcceleratorCountRangeProperty(
        max=123,
        min=123
    ),
    accelerator_total_memory_mi_b=deadline_mixins.CfnFleetPropsMixin.AcceleratorTotalMemoryMiBRangeProperty(
        max=123,
        min=123
    ),
    accelerator_types=["acceleratorTypes"],
    cpu_architecture_type="cpuArchitectureType",
    custom_amounts=[deadline_mixins.CfnFleetPropsMixin.FleetAmountCapabilityProperty(
        max=123,
        min=123,
        name="name"
    )],
    custom_attributes=[deadline_mixins.CfnFleetPropsMixin.FleetAttributeCapabilityProperty(
        name="name",
        values=["values"]
    )],
    memory_mi_b=deadline_mixins.CfnFleetPropsMixin.MemoryMiBRangeProperty(
        max=123,
        min=123
    ),
    os_family="osFamily",
    v_cpu_count=deadline_mixins.CfnFleetPropsMixin.VCpuCountRangeProperty(
        max=123,
        min=123
    )
)

Attributes

accelerator_count

The range of the accelerator.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-customermanagedworkercapabilities.html#cfn-deadline-fleet-customermanagedworkercapabilities-acceleratorcount

accelerator_total_memory_mib

The total memory (MiB) for the customer managed worker capabilities.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-customermanagedworkercapabilities.html#cfn-deadline-fleet-customermanagedworkercapabilities-acceleratortotalmemorymib

accelerator_types

The accelerator types for the customer managed worker capabilities.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-customermanagedworkercapabilities.html#cfn-deadline-fleet-customermanagedworkercapabilities-acceleratortypes

cpu_architecture_type

The CPU architecture type for the customer managed worker capabilities.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-customermanagedworkercapabilities.html#cfn-deadline-fleet-customermanagedworkercapabilities-cpuarchitecturetype

custom_amounts

Custom requirement ranges for customer managed worker capabilities.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-customermanagedworkercapabilities.html#cfn-deadline-fleet-customermanagedworkercapabilities-customamounts

custom_attributes

Custom attributes for the customer manged worker capabilities.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-customermanagedworkercapabilities.html#cfn-deadline-fleet-customermanagedworkercapabilities-customattributes

memory_mib

The memory (MiB).

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-customermanagedworkercapabilities.html#cfn-deadline-fleet-customermanagedworkercapabilities-memorymib

os_family

The operating system (OS) family.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-customermanagedworkercapabilities.html#cfn-deadline-fleet-customermanagedworkercapabilities-osfamily

v_cpu_count

The vCPU count for the customer manged worker capabilities.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-customermanagedworkercapabilities.html#cfn-deadline-fleet-customermanagedworkercapabilities-vcpucount

Ec2EbsVolumeProperty

class CfnFleetPropsMixin.Ec2EbsVolumeProperty(*, iops=None, size_gib=None, throughput_mib=None)

Bases: object

Specifies the EBS volume.

Parameters:
  • iops (Union[int, float, None]) – The IOPS per volume. Default: - 3000

  • size_gib (Union[int, float, None]) – The EBS volume size in GiB. Default: - 250

  • throughput_mib (Union[int, float, None]) – The throughput per volume in MiB. Default: - 125

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-ec2ebsvolume.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_deadline import mixins as deadline_mixins

ec2_ebs_volume_property = deadline_mixins.CfnFleetPropsMixin.Ec2EbsVolumeProperty(
    iops=123,
    size_gi_b=123,
    throughput_mi_b=123
)

Attributes

iops

The IOPS per volume.

Default:
  • 3000

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-ec2ebsvolume.html#cfn-deadline-fleet-ec2ebsvolume-iops

size_gib

The EBS volume size in GiB.

Default:
  • 250

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-ec2ebsvolume.html#cfn-deadline-fleet-ec2ebsvolume-sizegib

throughput_mib

The throughput per volume in MiB.

Default:
  • 125

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-ec2ebsvolume.html#cfn-deadline-fleet-ec2ebsvolume-throughputmib

FleetAmountCapabilityProperty

class CfnFleetPropsMixin.FleetAmountCapabilityProperty(*, max=None, min=None, name=None)

Bases: object

The fleet amount and attribute capabilities.

Parameters:
  • max (Union[int, float, None]) – The maximum amount of the fleet worker capability.

  • min (Union[int, float, None]) – The minimum amount of fleet worker capability.

  • name (Optional[str]) – The name of the fleet capability.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-fleetamountcapability.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_deadline import mixins as deadline_mixins

fleet_amount_capability_property = deadline_mixins.CfnFleetPropsMixin.FleetAmountCapabilityProperty(
    max=123,
    min=123,
    name="name"
)

Attributes

max

The maximum amount of the fleet worker capability.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-fleetamountcapability.html#cfn-deadline-fleet-fleetamountcapability-max

min

The minimum amount of fleet worker capability.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-fleetamountcapability.html#cfn-deadline-fleet-fleetamountcapability-min

name

The name of the fleet capability.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-fleetamountcapability.html#cfn-deadline-fleet-fleetamountcapability-name

FleetAttributeCapabilityProperty

class CfnFleetPropsMixin.FleetAttributeCapabilityProperty(*, name=None, values=None)

Bases: object

Defines the fleet’s capability name, minimum, and maximum.

Parameters:
  • name (Optional[str]) – The name of the fleet attribute capability for the worker.

  • values (Optional[Sequence[str]]) – The number of fleet attribute capabilities.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-fleetattributecapability.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_deadline import mixins as deadline_mixins

fleet_attribute_capability_property = deadline_mixins.CfnFleetPropsMixin.FleetAttributeCapabilityProperty(
    name="name",
    values=["values"]
)

Attributes

name

The name of the fleet attribute capability for the worker.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-fleetattributecapability.html#cfn-deadline-fleet-fleetattributecapability-name

values

The number of fleet attribute capabilities.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-fleetattributecapability.html#cfn-deadline-fleet-fleetattributecapability-values

FleetCapabilitiesProperty

class CfnFleetPropsMixin.FleetCapabilitiesProperty(*, amounts=None, attributes=None)

Bases: object

The amounts and attributes of fleets.

Parameters:
See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-fleetcapabilities.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_deadline import mixins as deadline_mixins

fleet_capabilities_property = deadline_mixins.CfnFleetPropsMixin.FleetCapabilitiesProperty(
    amounts=[deadline_mixins.CfnFleetPropsMixin.FleetAmountCapabilityProperty(
        max=123,
        min=123,
        name="name"
    )],
    attributes=[deadline_mixins.CfnFleetPropsMixin.FleetAttributeCapabilityProperty(
        name="name",
        values=["values"]
    )]
)

Attributes

amounts

Amount capabilities of the fleet.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-fleetcapabilities.html#cfn-deadline-fleet-fleetcapabilities-amounts

attributes

Attribute capabilities of the fleet.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-fleetcapabilities.html#cfn-deadline-fleet-fleetcapabilities-attributes

FleetConfigurationProperty

class CfnFleetPropsMixin.FleetConfigurationProperty(*, customer_managed=None, service_managed_ec2=None)

Bases: object

Fleet configuration details.

Parameters:
See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-fleetconfiguration.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_deadline import mixins as deadline_mixins

fleet_configuration_property = deadline_mixins.CfnFleetPropsMixin.FleetConfigurationProperty(
    customer_managed=deadline_mixins.CfnFleetPropsMixin.CustomerManagedFleetConfigurationProperty(
        mode="mode",
        storage_profile_id="storageProfileId",
        tag_propagation_mode="tagPropagationMode",
        worker_capabilities=deadline_mixins.CfnFleetPropsMixin.CustomerManagedWorkerCapabilitiesProperty(
            accelerator_count=deadline_mixins.CfnFleetPropsMixin.AcceleratorCountRangeProperty(
                max=123,
                min=123
            ),
            accelerator_total_memory_mi_b=deadline_mixins.CfnFleetPropsMixin.AcceleratorTotalMemoryMiBRangeProperty(
                max=123,
                min=123
            ),
            accelerator_types=["acceleratorTypes"],
            cpu_architecture_type="cpuArchitectureType",
            custom_amounts=[deadline_mixins.CfnFleetPropsMixin.FleetAmountCapabilityProperty(
                max=123,
                min=123,
                name="name"
            )],
            custom_attributes=[deadline_mixins.CfnFleetPropsMixin.FleetAttributeCapabilityProperty(
                name="name",
                values=["values"]
            )],
            memory_mi_b=deadline_mixins.CfnFleetPropsMixin.MemoryMiBRangeProperty(
                max=123,
                min=123
            ),
            os_family="osFamily",
            v_cpu_count=deadline_mixins.CfnFleetPropsMixin.VCpuCountRangeProperty(
                max=123,
                min=123
            )
        )
    ),
    service_managed_ec2=deadline_mixins.CfnFleetPropsMixin.ServiceManagedEc2FleetConfigurationProperty(
        instance_capabilities=deadline_mixins.CfnFleetPropsMixin.ServiceManagedEc2InstanceCapabilitiesProperty(
            accelerator_capabilities=deadline_mixins.CfnFleetPropsMixin.AcceleratorCapabilitiesProperty(
                count=deadline_mixins.CfnFleetPropsMixin.AcceleratorCountRangeProperty(
                    max=123,
                    min=123
                ),
                selections=[deadline_mixins.CfnFleetPropsMixin.AcceleratorSelectionProperty(
                    name="name",
                    runtime="runtime"
                )]
            ),
            allowed_instance_types=["allowedInstanceTypes"],
            cpu_architecture_type="cpuArchitectureType",
            custom_amounts=[deadline_mixins.CfnFleetPropsMixin.FleetAmountCapabilityProperty(
                max=123,
                min=123,
                name="name"
            )],
            custom_attributes=[deadline_mixins.CfnFleetPropsMixin.FleetAttributeCapabilityProperty(
                name="name",
                values=["values"]
            )],
            excluded_instance_types=["excludedInstanceTypes"],
            memory_mi_b=deadline_mixins.CfnFleetPropsMixin.MemoryMiBRangeProperty(
                max=123,
                min=123
            ),
            os_family="osFamily",
            root_ebs_volume=deadline_mixins.CfnFleetPropsMixin.Ec2EbsVolumeProperty(
                iops=123,
                size_gi_b=123,
                throughput_mi_b=123
            ),
            v_cpu_count=deadline_mixins.CfnFleetPropsMixin.VCpuCountRangeProperty(
                max=123,
                min=123
            )
        ),
        instance_market_options=deadline_mixins.CfnFleetPropsMixin.ServiceManagedEc2InstanceMarketOptionsProperty(
            type="type"
        ),
        storage_profile_id="storageProfileId",
        vpc_configuration=deadline_mixins.CfnFleetPropsMixin.VpcConfigurationProperty(
            resource_configuration_arns=["resourceConfigurationArns"]
        )
    )
)

Attributes

customer_managed

The customer managed fleets within a fleet configuration.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-fleetconfiguration.html#cfn-deadline-fleet-fleetconfiguration-customermanaged

service_managed_ec2

The service managed Amazon EC2 instances for a fleet configuration.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-fleetconfiguration.html#cfn-deadline-fleet-fleetconfiguration-servicemanagedec2

HostConfigurationProperty

class CfnFleetPropsMixin.HostConfigurationProperty(*, script_body=None, script_timeout_seconds=None)

Bases: object

Provides a script that runs as a worker is starting up that you can use to provide additional configuration for workers in your fleet.

To remove a script from a fleet, use the UpdateFleet operation with the hostConfiguration scriptBody parameter set to an empty string (“”).

Parameters:
  • script_body (Optional[str]) – The text of the script that runs as a worker is starting up that you can use to provide additional configuration for workers in your fleet. The script runs after a worker enters the STARTING state and before the worker processes tasks. For more information about using the script, see Run scripts as an administrator to configure workers in the Deadline Cloud Developer Guide . .. epigraph:: The script runs as an administrative user ( sudo root on Linux, as an Administrator on Windows).

  • script_timeout_seconds (Union[int, float, None]) – The maximum time that the host configuration can run. If the timeout expires, the worker enters the NOT RESPONDING state and shuts down. You are charged for the time that the worker is running the host configuration script. .. epigraph:: You should configure your fleet for a maximum of one worker while testing your host configuration script to avoid starting additional workers. The default is 300 seconds (5 minutes). Default: - 300

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-hostconfiguration.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_deadline import mixins as deadline_mixins

host_configuration_property = deadline_mixins.CfnFleetPropsMixin.HostConfigurationProperty(
    script_body="scriptBody",
    script_timeout_seconds=123
)

Attributes

script_body

The text of the script that runs as a worker is starting up that you can use to provide additional configuration for workers in your fleet.

The script runs after a worker enters the STARTING state and before the worker processes tasks.

For more information about using the script, see Run scripts as an administrator to configure workers in the Deadline Cloud Developer Guide . .. epigraph:

The script runs as an administrative user ( ``sudo root`` on Linux, as an Administrator on Windows).
See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-hostconfiguration.html#cfn-deadline-fleet-hostconfiguration-scriptbody

script_timeout_seconds

The maximum time that the host configuration can run.

If the timeout expires, the worker enters the NOT RESPONDING state and shuts down. You are charged for the time that the worker is running the host configuration script. .. epigraph:

You should configure your fleet for a maximum of one worker while testing your host configuration script to avoid starting additional workers.

The default is 300 seconds (5 minutes).

Default:
  • 300

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-hostconfiguration.html#cfn-deadline-fleet-hostconfiguration-scripttimeoutseconds

MemoryMiBRangeProperty

class CfnFleetPropsMixin.MemoryMiBRangeProperty(*, max=None, min=None)

Bases: object

The range of memory in MiB.

Parameters:
  • max (Union[int, float, None]) – The maximum amount of memory (in MiB).

  • min (Union[int, float, None]) – The minimum amount of memory (in MiB).

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-memorymibrange.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_deadline import mixins as deadline_mixins

memory_mi_bRange_property = deadline_mixins.CfnFleetPropsMixin.MemoryMiBRangeProperty(
    max=123,
    min=123
)

Attributes

max

The maximum amount of memory (in MiB).

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-memorymibrange.html#cfn-deadline-fleet-memorymibrange-max

min

The minimum amount of memory (in MiB).

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-memorymibrange.html#cfn-deadline-fleet-memorymibrange-min

ServiceManagedEc2FleetConfigurationProperty

class CfnFleetPropsMixin.ServiceManagedEc2FleetConfigurationProperty(*, instance_capabilities=None, instance_market_options=None, storage_profile_id=None, vpc_configuration=None)

Bases: object

The configuration details for a service managed EC2 fleet.

Parameters:
See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-servicemanagedec2fleetconfiguration.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_deadline import mixins as deadline_mixins

service_managed_ec2_fleet_configuration_property = deadline_mixins.CfnFleetPropsMixin.ServiceManagedEc2FleetConfigurationProperty(
    instance_capabilities=deadline_mixins.CfnFleetPropsMixin.ServiceManagedEc2InstanceCapabilitiesProperty(
        accelerator_capabilities=deadline_mixins.CfnFleetPropsMixin.AcceleratorCapabilitiesProperty(
            count=deadline_mixins.CfnFleetPropsMixin.AcceleratorCountRangeProperty(
                max=123,
                min=123
            ),
            selections=[deadline_mixins.CfnFleetPropsMixin.AcceleratorSelectionProperty(
                name="name",
                runtime="runtime"
            )]
        ),
        allowed_instance_types=["allowedInstanceTypes"],
        cpu_architecture_type="cpuArchitectureType",
        custom_amounts=[deadline_mixins.CfnFleetPropsMixin.FleetAmountCapabilityProperty(
            max=123,
            min=123,
            name="name"
        )],
        custom_attributes=[deadline_mixins.CfnFleetPropsMixin.FleetAttributeCapabilityProperty(
            name="name",
            values=["values"]
        )],
        excluded_instance_types=["excludedInstanceTypes"],
        memory_mi_b=deadline_mixins.CfnFleetPropsMixin.MemoryMiBRangeProperty(
            max=123,
            min=123
        ),
        os_family="osFamily",
        root_ebs_volume=deadline_mixins.CfnFleetPropsMixin.Ec2EbsVolumeProperty(
            iops=123,
            size_gi_b=123,
            throughput_mi_b=123
        ),
        v_cpu_count=deadline_mixins.CfnFleetPropsMixin.VCpuCountRangeProperty(
            max=123,
            min=123
        )
    ),
    instance_market_options=deadline_mixins.CfnFleetPropsMixin.ServiceManagedEc2InstanceMarketOptionsProperty(
        type="type"
    ),
    storage_profile_id="storageProfileId",
    vpc_configuration=deadline_mixins.CfnFleetPropsMixin.VpcConfigurationProperty(
        resource_configuration_arns=["resourceConfigurationArns"]
    )
)

Attributes

instance_capabilities

The instance capabilities for the service managed EC2 fleet.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-servicemanagedec2fleetconfiguration.html#cfn-deadline-fleet-servicemanagedec2fleetconfiguration-instancecapabilities

instance_market_options

The instance market options for the service managed EC2 fleet.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-servicemanagedec2fleetconfiguration.html#cfn-deadline-fleet-servicemanagedec2fleetconfiguration-instancemarketoptions

storage_profile_id

The storage profile ID for the service managed EC2 fleet.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-servicemanagedec2fleetconfiguration.html#cfn-deadline-fleet-servicemanagedec2fleetconfiguration-storageprofileid

vpc_configuration

The VPC configuration for the service managed EC2 fleet.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-servicemanagedec2fleetconfiguration.html#cfn-deadline-fleet-servicemanagedec2fleetconfiguration-vpcconfiguration

ServiceManagedEc2InstanceCapabilitiesProperty

class CfnFleetPropsMixin.ServiceManagedEc2InstanceCapabilitiesProperty(*, accelerator_capabilities=None, allowed_instance_types=None, cpu_architecture_type=None, custom_amounts=None, custom_attributes=None, excluded_instance_types=None, memory_mib=None, os_family=None, root_ebs_volume=None, v_cpu_count=None)

Bases: object

The Amazon EC2 instance capabilities.

Parameters:
  • accelerator_capabilities (Union[IResolvable, AcceleratorCapabilitiesProperty, Dict[str, Any], None]) – Describes the GPU accelerator capabilities required for worker host instances in this fleet.

  • allowed_instance_types (Optional[Sequence[str]]) – The allowable Amazon EC2 instance types.

  • cpu_architecture_type (Optional[str]) – The CPU architecture type.

  • custom_amounts (Union[IResolvable, Sequence[Union[IResolvable, FleetAmountCapabilityProperty, Dict[str, Any]]], None]) – The custom capability amounts to require for instances in this fleet.

  • custom_attributes (Union[IResolvable, Sequence[Union[IResolvable, FleetAttributeCapabilityProperty, Dict[str, Any]]], None]) – The custom capability attributes to require for instances in this fleet.

  • excluded_instance_types (Optional[Sequence[str]]) – The instance types to exclude from the fleet.

  • memory_mib (Union[IResolvable, MemoryMiBRangeProperty, Dict[str, Any], None]) – The memory, as MiB, for the Amazon EC2 instance type.

  • os_family (Optional[str]) – The operating system (OS) family.

  • root_ebs_volume (Union[IResolvable, Ec2EbsVolumeProperty, Dict[str, Any], None]) – The root EBS volume.

  • v_cpu_count (Union[IResolvable, VCpuCountRangeProperty, Dict[str, Any], None]) – The amount of vCPU to require for instances in this fleet.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-servicemanagedec2instancecapabilities.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_deadline import mixins as deadline_mixins

service_managed_ec2_instance_capabilities_property = deadline_mixins.CfnFleetPropsMixin.ServiceManagedEc2InstanceCapabilitiesProperty(
    accelerator_capabilities=deadline_mixins.CfnFleetPropsMixin.AcceleratorCapabilitiesProperty(
        count=deadline_mixins.CfnFleetPropsMixin.AcceleratorCountRangeProperty(
            max=123,
            min=123
        ),
        selections=[deadline_mixins.CfnFleetPropsMixin.AcceleratorSelectionProperty(
            name="name",
            runtime="runtime"
        )]
    ),
    allowed_instance_types=["allowedInstanceTypes"],
    cpu_architecture_type="cpuArchitectureType",
    custom_amounts=[deadline_mixins.CfnFleetPropsMixin.FleetAmountCapabilityProperty(
        max=123,
        min=123,
        name="name"
    )],
    custom_attributes=[deadline_mixins.CfnFleetPropsMixin.FleetAttributeCapabilityProperty(
        name="name",
        values=["values"]
    )],
    excluded_instance_types=["excludedInstanceTypes"],
    memory_mi_b=deadline_mixins.CfnFleetPropsMixin.MemoryMiBRangeProperty(
        max=123,
        min=123
    ),
    os_family="osFamily",
    root_ebs_volume=deadline_mixins.CfnFleetPropsMixin.Ec2EbsVolumeProperty(
        iops=123,
        size_gi_b=123,
        throughput_mi_b=123
    ),
    v_cpu_count=deadline_mixins.CfnFleetPropsMixin.VCpuCountRangeProperty(
        max=123,
        min=123
    )
)

Attributes

accelerator_capabilities

Describes the GPU accelerator capabilities required for worker host instances in this fleet.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-servicemanagedec2instancecapabilities.html#cfn-deadline-fleet-servicemanagedec2instancecapabilities-acceleratorcapabilities

allowed_instance_types

The allowable Amazon EC2 instance types.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-servicemanagedec2instancecapabilities.html#cfn-deadline-fleet-servicemanagedec2instancecapabilities-allowedinstancetypes

cpu_architecture_type

The CPU architecture type.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-servicemanagedec2instancecapabilities.html#cfn-deadline-fleet-servicemanagedec2instancecapabilities-cpuarchitecturetype

custom_amounts

The custom capability amounts to require for instances in this fleet.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-servicemanagedec2instancecapabilities.html#cfn-deadline-fleet-servicemanagedec2instancecapabilities-customamounts

custom_attributes

The custom capability attributes to require for instances in this fleet.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-servicemanagedec2instancecapabilities.html#cfn-deadline-fleet-servicemanagedec2instancecapabilities-customattributes

excluded_instance_types

The instance types to exclude from the fleet.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-servicemanagedec2instancecapabilities.html#cfn-deadline-fleet-servicemanagedec2instancecapabilities-excludedinstancetypes

memory_mib

The memory, as MiB, for the Amazon EC2 instance type.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-servicemanagedec2instancecapabilities.html#cfn-deadline-fleet-servicemanagedec2instancecapabilities-memorymib

os_family

The operating system (OS) family.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-servicemanagedec2instancecapabilities.html#cfn-deadline-fleet-servicemanagedec2instancecapabilities-osfamily

root_ebs_volume

The root EBS volume.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-servicemanagedec2instancecapabilities.html#cfn-deadline-fleet-servicemanagedec2instancecapabilities-rootebsvolume

v_cpu_count

The amount of vCPU to require for instances in this fleet.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-servicemanagedec2instancecapabilities.html#cfn-deadline-fleet-servicemanagedec2instancecapabilities-vcpucount

ServiceManagedEc2InstanceMarketOptionsProperty

class CfnFleetPropsMixin.ServiceManagedEc2InstanceMarketOptionsProperty(*, type=None)

Bases: object

The details of the Amazon EC2 instance market options for a service managed fleet.

Parameters:

type (Optional[str]) – The Amazon EC2 instance type.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-servicemanagedec2instancemarketoptions.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_deadline import mixins as deadline_mixins

service_managed_ec2_instance_market_options_property = deadline_mixins.CfnFleetPropsMixin.ServiceManagedEc2InstanceMarketOptionsProperty(
    type="type"
)

Attributes

type

The Amazon EC2 instance type.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-servicemanagedec2instancemarketoptions.html#cfn-deadline-fleet-servicemanagedec2instancemarketoptions-type

VCpuCountRangeProperty

class CfnFleetPropsMixin.VCpuCountRangeProperty(*, max=None, min=None)

Bases: object

The allowable range of vCPU processing power for the fleet.

Parameters:
  • max (Union[int, float, None]) – The maximum amount of vCPU.

  • min (Union[int, float, None]) – The minimum amount of vCPU.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-vcpucountrange.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_deadline import mixins as deadline_mixins

v_cpu_count_range_property = deadline_mixins.CfnFleetPropsMixin.VCpuCountRangeProperty(
    max=123,
    min=123
)

Attributes

max

The maximum amount of vCPU.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-vcpucountrange.html#cfn-deadline-fleet-vcpucountrange-max

min

The minimum amount of vCPU.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-vcpucountrange.html#cfn-deadline-fleet-vcpucountrange-min

VpcConfigurationProperty

class CfnFleetPropsMixin.VpcConfigurationProperty(*, resource_configuration_arns=None)

Bases: object

The configuration options for a service managed fleet’s VPC.

Parameters:

resource_configuration_arns (Optional[Sequence[str]]) – The ARNs of the VPC Lattice resource configurations attached to the fleet.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-vpcconfiguration.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_deadline import mixins as deadline_mixins

vpc_configuration_property = deadline_mixins.CfnFleetPropsMixin.VpcConfigurationProperty(
    resource_configuration_arns=["resourceConfigurationArns"]
)

Attributes

resource_configuration_arns

The ARNs of the VPC Lattice resource configurations attached to the fleet.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-vpcconfiguration.html#cfn-deadline-fleet-vpcconfiguration-resourceconfigurationarns