Skip to content
v2.278.0

CfnFleetProps Struct ​

Properties for defining a CfnFleet.

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 cfnFleetProps: deadline.CfnFleetProps = {
  configuration: {
    customerManaged: {
      mode: 'mode',
      workerCapabilities: {
        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'],
        }],
      },

      // the properties below are optional
      autoScalingConfiguration: {
        scaleOutWorkersPerMinute: 123,
        standbyWorkerCount: 123,
        workerIdleDurationSeconds: 123,
      },
      storageProfileId: 'storageProfileId',
      tagPropagationMode: 'tagPropagationMode',
    },
    serviceManagedEc2: {
      instanceCapabilities: {
        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
        acceleratorCapabilities: {
          selections: [{
            name: 'name',

            // the properties below are optional
            runtime: 'runtime',
          }],

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

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

          // the properties below are optional
          max: 123,
        }],
        customAttributes: [{
          name: 'name',
          values: ['values'],
        }],
        excludedInstanceTypes: ['excludedInstanceTypes'],
        rootEbsVolume: {
          iops: 123,
          sizeGiB: 123,
          throughputMiB: 123,
        },
        softwareAddOns: [{
          name: 'name',
        }],
      },
      instanceMarketOptions: {
        type: 'type',
      },

      // the properties below are optional
      autoScalingConfiguration: {
        scaleOutWorkersPerMinute: 123,
        standbyWorkerCount: 123,
        workerIdleDurationSeconds: 123,
      },
      persistentVolumeConfiguration: {
        mountPath: 'mountPath',

        // the properties below are optional
        iops: 123,
        lastUsedTtlHours: 123,
        sizeGiB: 123,
        throughputMiB: 123,
      },
      storageProfileId: 'storageProfileId',
      vpcConfiguration: {
        resourceConfigurationArns: ['resourceConfigurationArns'],
      },
    },
  },
  displayName: 'displayName',
  farmId: 'farmId',
  maxWorkerCount: 123,
  roleArn: 'roleArn',

  // the properties below are optional
  description: 'description',
  hostConfiguration: {
    scriptBody: 'scriptBody',

    // the properties below are optional
    scriptTimeoutSeconds: 123,
  },
  minWorkerCount: 123,
  tags: [{
    key: 'key',
    value: 'value',
  }],
};
python
from aws_cdk import CfnTag
# 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

cfn_fleet_props = deadline.CfnFleetProps(
    configuration=deadline.CfnFleet.FleetConfigurationProperty(
        customer_managed=deadline.CfnFleet.CustomerManagedFleetConfigurationProperty(
            mode="mode",
            worker_capabilities=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"]
                )]
            ),

            # the properties below are optional
            auto_scaling_configuration=deadline.CfnFleet.CustomerManagedAutoScalingConfigurationProperty(
                scale_out_workers_per_minute=123,
                standby_worker_count=123,
                worker_idle_duration_seconds=123
            ),
            storage_profile_id="storageProfileId",
            tag_propagation_mode="tagPropagationMode"
        ),
        service_managed_ec2=deadline.CfnFleet.ServiceManagedEc2FleetConfigurationProperty(
            instance_capabilities=deadline.CfnFleet.ServiceManagedEc2InstanceCapabilitiesProperty(
                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_capabilities=deadline.CfnFleet.AcceleratorCapabilitiesProperty(
                    selections=[deadline.CfnFleet.AcceleratorSelectionProperty(
                        name="name",

                        # the properties below are optional
                        runtime="runtime"
                    )],

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

                        # the properties below are optional
                        max=123
                    )
                ),
                allowed_instance_types=["allowedInstanceTypes"],
                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"]
                )],
                excluded_instance_types=["excludedInstanceTypes"],
                root_ebs_volume=deadline.CfnFleet.Ec2EbsVolumeProperty(
                    iops=123,
                    size_gi_b=123,
                    throughput_mi_b=123
                ),
                software_add_ons=[deadline.CfnFleet.FleetSoftwareAddOnProperty(
                    name="name"
                )]
            ),
            instance_market_options=deadline.CfnFleet.ServiceManagedEc2InstanceMarketOptionsProperty(
                type="type"
            ),

            # the properties below are optional
            auto_scaling_configuration=deadline.CfnFleet.ServiceManagedEc2AutoScalingConfigurationProperty(
                scale_out_workers_per_minute=123,
                standby_worker_count=123,
                worker_idle_duration_seconds=123
            ),
            persistent_volume_configuration=deadline.CfnFleet.PersistentVolumeConfigurationProperty(
                mount_path="mountPath",

                # the properties below are optional
                iops=123,
                last_used_ttl_hours=123,
                size_gi_b=123,
                throughput_mi_b=123
            ),
            storage_profile_id="storageProfileId",
            vpc_configuration=deadline.CfnFleet.VpcConfigurationProperty(
                resource_configuration_arns=["resourceConfigurationArns"]
            )
        )
    ),
    display_name="displayName",
    farm_id="farmId",
    max_worker_count=123,
    role_arn="roleArn",

    # the properties below are optional
    description="description",
    host_configuration=deadline.CfnFleet.HostConfigurationProperty(
        script_body="scriptBody",

        # the properties below are optional
        script_timeout_seconds=123
    ),
    min_worker_count=123,
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)
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.*;

CfnFleetProps cfnFleetProps = CfnFleetProps.builder()
        .configuration(FleetConfigurationProperty.builder()
                .customerManaged(CustomerManagedFleetConfigurationProperty.builder()
                        .mode("mode")
                        .workerCapabilities(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())

                        // the properties below are optional
                        .autoScalingConfiguration(CustomerManagedAutoScalingConfigurationProperty.builder()
                                .scaleOutWorkersPerMinute(123)
                                .standbyWorkerCount(123)
                                .workerIdleDurationSeconds(123)
                                .build())
                        .storageProfileId("storageProfileId")
                        .tagPropagationMode("tagPropagationMode")
                        .build())
                .serviceManagedEc2(ServiceManagedEc2FleetConfigurationProperty.builder()
                        .instanceCapabilities(ServiceManagedEc2InstanceCapabilitiesProperty.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
                                .acceleratorCapabilities(AcceleratorCapabilitiesProperty.builder()
                                        .selections(List.of(AcceleratorSelectionProperty.builder()
                                                .name("name")

                                                // the properties below are optional
                                                .runtime("runtime")
                                                .build()))

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

                                                // the properties below are optional
                                                .max(123)
                                                .build())
                                        .build())
                                .allowedInstanceTypes(List.of("allowedInstanceTypes"))
                                .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()))
                                .excludedInstanceTypes(List.of("excludedInstanceTypes"))
                                .rootEbsVolume(Ec2EbsVolumeProperty.builder()
                                        .iops(123)
                                        .sizeGiB(123)
                                        .throughputMiB(123)
                                        .build())
                                .softwareAddOns(List.of(FleetSoftwareAddOnProperty.builder()
                                        .name("name")
                                        .build()))
                                .build())
                        .instanceMarketOptions(ServiceManagedEc2InstanceMarketOptionsProperty.builder()
                                .type("type")
                                .build())

                        // the properties below are optional
                        .autoScalingConfiguration(ServiceManagedEc2AutoScalingConfigurationProperty.builder()
                                .scaleOutWorkersPerMinute(123)
                                .standbyWorkerCount(123)
                                .workerIdleDurationSeconds(123)
                                .build())
                        .persistentVolumeConfiguration(PersistentVolumeConfigurationProperty.builder()
                                .mountPath("mountPath")

                                // the properties below are optional
                                .iops(123)
                                .lastUsedTtlHours(123)
                                .sizeGiB(123)
                                .throughputMiB(123)
                                .build())
                        .storageProfileId("storageProfileId")
                        .vpcConfiguration(VpcConfigurationProperty.builder()
                                .resourceConfigurationArns(List.of("resourceConfigurationArns"))
                                .build())
                        .build())
                .build())
        .displayName("displayName")
        .farmId("farmId")
        .maxWorkerCount(123)
        .roleArn("roleArn")

        // the properties below are optional
        .description("description")
        .hostConfiguration(HostConfigurationProperty.builder()
                .scriptBody("scriptBody")

                // the properties below are optional
                .scriptTimeoutSeconds(123)
                .build())
        .minWorkerCount(123)
        .tags(List.of(CfnTag.builder()
                .key("key")
                .value("value")
                .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 cfnFleetProps = new CfnFleetProps {
    Configuration = new FleetConfigurationProperty {
        CustomerManaged = new CustomerManagedFleetConfigurationProperty {
            Mode = "mode",
            WorkerCapabilities = 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" }
                } }
            },

            // the properties below are optional
            AutoScalingConfiguration = new CustomerManagedAutoScalingConfigurationProperty {
                ScaleOutWorkersPerMinute = 123,
                StandbyWorkerCount = 123,
                WorkerIdleDurationSeconds = 123
            },
            StorageProfileId = "storageProfileId",
            TagPropagationMode = "tagPropagationMode"
        },
        ServiceManagedEc2 = new ServiceManagedEc2FleetConfigurationProperty {
            InstanceCapabilities = new ServiceManagedEc2InstanceCapabilitiesProperty {
                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
                AcceleratorCapabilities = new AcceleratorCapabilitiesProperty {
                    Selections = new [] { new AcceleratorSelectionProperty {
                        Name = "name",

                        // the properties below are optional
                        Runtime = "runtime"
                    } },

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

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

                    // the properties below are optional
                    Max = 123
                } },
                CustomAttributes = new [] { new FleetAttributeCapabilityProperty {
                    Name = "name",
                    Values = new [] { "values" }
                } },
                ExcludedInstanceTypes = new [] { "excludedInstanceTypes" },
                RootEbsVolume = new Ec2EbsVolumeProperty {
                    Iops = 123,
                    SizeGiB = 123,
                    ThroughputMiB = 123
                },
                SoftwareAddOns = new [] { new FleetSoftwareAddOnProperty {
                    Name = "name"
                } }
            },
            InstanceMarketOptions = new ServiceManagedEc2InstanceMarketOptionsProperty {
                Type = "type"
            },

            // the properties below are optional
            AutoScalingConfiguration = new ServiceManagedEc2AutoScalingConfigurationProperty {
                ScaleOutWorkersPerMinute = 123,
                StandbyWorkerCount = 123,
                WorkerIdleDurationSeconds = 123
            },
            PersistentVolumeConfiguration = new PersistentVolumeConfigurationProperty {
                MountPath = "mountPath",

                // the properties below are optional
                Iops = 123,
                LastUsedTtlHours = 123,
                SizeGiB = 123,
                ThroughputMiB = 123
            },
            StorageProfileId = "storageProfileId",
            VpcConfiguration = new VpcConfigurationProperty {
                ResourceConfigurationArns = new [] { "resourceConfigurationArns" }
            }
        }
    },
    DisplayName = "displayName",
    FarmId = "farmId",
    MaxWorkerCount = 123,
    RoleArn = "roleArn",

    // the properties below are optional
    Description = "description",
    HostConfiguration = new HostConfigurationProperty {
        ScriptBody = "scriptBody",

        // the properties below are optional
        ScriptTimeoutSeconds = 123
    },
    MinWorkerCount = 123,
    Tags = new [] { new CfnTag {
        Key = "key",
        Value = "value"
    } }
};
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"

cfnFleetProps := &CfnFleetProps{
	Configuration: &FleetConfigurationProperty{
		CustomerManaged: &CustomerManagedFleetConfigurationProperty{
			Mode: jsii.String("mode"),
			WorkerCapabilities: &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"),
						},
					},
				},
			},

			// the properties below are optional
			AutoScalingConfiguration: &CustomerManagedAutoScalingConfigurationProperty{
				ScaleOutWorkersPerMinute: jsii.Number(123),
				StandbyWorkerCount: jsii.Number(123),
				WorkerIdleDurationSeconds: jsii.Number(123),
			},
			StorageProfileId: jsii.String("storageProfileId"),
			TagPropagationMode: jsii.String("tagPropagationMode"),
		},
		ServiceManagedEc2: &ServiceManagedEc2FleetConfigurationProperty{
			InstanceCapabilities: &ServiceManagedEc2InstanceCapabilitiesProperty{
				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
				AcceleratorCapabilities: &AcceleratorCapabilitiesProperty{
					Selections: []interface{}{
						&AcceleratorSelectionProperty{
							Name: jsii.String("name"),

							// the properties below are optional
							Runtime: jsii.String("runtime"),
						},
					},

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

						// the properties below are optional
						Max: jsii.Number(123),
					},
				},
				AllowedInstanceTypes: []*string{
					jsii.String("allowedInstanceTypes"),
				},
				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"),
						},
					},
				},
				ExcludedInstanceTypes: []*string{
					jsii.String("excludedInstanceTypes"),
				},
				RootEbsVolume: &Ec2EbsVolumeProperty{
					Iops: jsii.Number(123),
					SizeGiB: jsii.Number(123),
					ThroughputMiB: jsii.Number(123),
				},
				SoftwareAddOns: []interface{}{
					&FleetSoftwareAddOnProperty{
						Name: jsii.String("name"),
					},
				},
			},
			InstanceMarketOptions: &ServiceManagedEc2InstanceMarketOptionsProperty{
				Type: jsii.String("type"),
			},

			// the properties below are optional
			AutoScalingConfiguration: &ServiceManagedEc2AutoScalingConfigurationProperty{
				ScaleOutWorkersPerMinute: jsii.Number(123),
				StandbyWorkerCount: jsii.Number(123),
				WorkerIdleDurationSeconds: jsii.Number(123),
			},
			PersistentVolumeConfiguration: &PersistentVolumeConfigurationProperty{
				MountPath: jsii.String("mountPath"),

				// the properties below are optional
				Iops: jsii.Number(123),
				LastUsedTtlHours: jsii.Number(123),
				SizeGiB: jsii.Number(123),
				ThroughputMiB: jsii.Number(123),
			},
			StorageProfileId: jsii.String("storageProfileId"),
			VpcConfiguration: &VpcConfigurationProperty{
				ResourceConfigurationArns: []*string{
					jsii.String("resourceConfigurationArns"),
				},
			},
		},
	},
	DisplayName: jsii.String("displayName"),
	FarmId: jsii.String("farmId"),
	MaxWorkerCount: jsii.Number(123),
	RoleArn: jsii.String("roleArn"),

	// the properties below are optional
	Description: jsii.String("description"),
	HostConfiguration: &HostConfigurationProperty{
		ScriptBody: jsii.String("scriptBody"),

		// the properties below are optional
		ScriptTimeoutSeconds: jsii.Number(123),
	},
	MinWorkerCount: jsii.Number(123),
	Tags: []CfnTag{
		&CfnTag{
			Key: jsii.String("key"),
			Value: jsii.String("value"),
		},
	},
}

Properties ​

configurationIResolvable | CfnFleet.FleetConfigurationPropertyconfigurationtyping.Union[IResolvable, FleetConfigurationProperty]configurationIResolvableConfigurationIResolvableConfigurationinterface{} required #
The configuration details for the fleet.
descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string = "" #
A description that helps identify what the fleet is used for.

This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.

displayNamestringdisplay_namestrdisplayNameStringDisplayNamestringDisplayName*string required #
The display name of the fleet summary to update.

This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.

farmIdstringfarm_idstrfarmIdStringFarmIdstringFarmId*string required #
The farm ID.
hostConfigurationoptionalIResolvable | CfnFleet.HostConfigurationPropertyhost_configurationoptionaltyping.Union[IResolvable, HostConfigurationProperty]hostConfigurationoptionalIResolvableHostConfigurationoptionalIResolvableHostConfigurationoptionalinterface{} #
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 ("").

maxWorkerCountnumbermax_worker_countint | floatmaxWorkerCountNumberMaxWorkerCountdoubleMaxWorkerCount*float64 required #
The maximum number of workers specified in the fleet.
minWorkerCountoptionalnumbermin_worker_countoptionalint | floatminWorkerCountoptionalNumberMinWorkerCountoptionaldoubleMinWorkerCountoptional*float64 = 0 #
The minimum number of workers in the fleet.
roleArnstringrole_arnstrroleArnStringRoleArnstringRoleArn*string required #
The IAM role that workers in the fleet use when processing jobs.
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag #
The tags to add to your fleet.

Each tag consists of a tag key and a tag value. Tag keys and values are both required, but tag values can be empty strings.