Interface CfnWorkerProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnWorkerProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)",
date="2026-09-02T11:03:07.511Z")
@Stability(Stable)
public interface CfnWorkerProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnWorker.
Example:
// 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.*;
CfnWorkerProps cfnWorkerProps = CfnWorkerProps.builder()
.farmId("farmId")
.fleetId("fleetId")
// the properties below are optional
.hostProperties(HostPropertiesRequestProperty.builder()
.hostName("hostName")
.ipAddresses(IpAddressesProperty.builder()
.ipV4Addresses(List.of("ipV4Addresses"))
.ipV6Addresses(List.of("ipV6Addresses"))
.build())
.build())
.tags(List.of(TagsItemsProperty.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnWorkerPropsstatic final classAn implementation forCfnWorkerProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnWorkerProps.Builderbuilder()The farm ID.The fleet ID.default ObjectThe host property details.default List<CfnWorker.TagsItemsProperty> getTags()An array of key-value pairs to apply to this resource.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getFarmId
The farm ID.- See Also:
-
getFleetId
The fleet ID.- See Also:
-
getHostProperties
The host property details.Returns union: either
IResolvableorCfnWorker.HostPropertiesRequestProperty- See Also:
-
getTags
An array of key-value pairs to apply to this resource.- See Also:
-
builder
- Returns:
- a
CfnWorkerProps.BuilderofCfnWorkerProps
-