Interface ICfnFleetProps
Properties for defining a CfnFleet
.
Namespace: Amazon.CDK.AwsDeadline
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICfnFleetProps
Syntax (vb)
Public Interface ICfnFleetProps
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-deadline-fleet.html
ExampleMetadata: fixture=_generated
Examples
// 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
StorageProfileId = "storageProfileId"
},
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
}
},
InstanceMarketOptions = new ServiceManagedEc2InstanceMarketOptionsProperty {
Type = "type"
}
}
},
DisplayName = "displayName",
FarmId = "farmId",
MaxWorkerCount = 123,
RoleArn = "roleArn",
// the properties below are optional
Description = "description",
MinWorkerCount = 123,
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Properties
Configuration | The configuration details for the fleet. |
Description | A description that helps identify what the fleet is used for. |
Display |
The display name of the fleet summary to update. |
Farm |
The farm ID. |
Max |
The maximum number of workers specified in the fleet. |
Min |
The minimum number of workers in the fleet. |
Role |
The IAM role that workers in the fleet use when processing jobs. |
Tags | The tags to add to your fleet. |
Properties
Configuration
The configuration details for the fleet.
object Configuration { get; }
Property Value
System.
Remarks
Description
A description that helps identify what the fleet is used for.
virtual string Description { get; }
Property Value
System.
Remarks
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.
Default: - ""
DisplayName
The display name of the fleet summary to update.
string DisplayName { get; }
Property Value
System.
Remarks
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.
FarmId
The farm ID.
string FarmId { get; }
Property Value
System.
Remarks
MaxWorkerCount
The maximum number of workers specified in the fleet.
double MaxWorkerCount { get; }
Property Value
System.
Remarks
MinWorkerCount
The minimum number of workers in the fleet.
virtual Nullable<double> MinWorkerCount { get; }
Property Value
System.
Remarks
RoleArn
The IAM role that workers in the fleet use when processing jobs.
string RoleArn { get; }
Property Value
System.
Remarks
Tags
The tags to add to your fleet.
virtual ICfnTag[] Tags { get; }
Property Value
ICfn
Remarks
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.