Interface CfnWorkspaceInstance.ManagedInstanceProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnWorkspaceInstance.ManagedInstanceProperty.Jsii$Proxy
- Enclosing class:
CfnWorkspaceInstance
@Stability(Stable)
public static interface CfnWorkspaceInstance.ManagedInstanceProperty
extends software.amazon.jsii.JsiiSerializable
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.workspacesinstances.*;
ManagedInstanceProperty managedInstanceProperty = ManagedInstanceProperty.builder()
.imageId("imageId")
.instanceType("instanceType")
// the properties below are optional
.blockDeviceMappings(List.of(BlockDeviceMappingProperty.builder()
.deviceName("deviceName")
.ebs(EbsBlockDeviceProperty.builder()
.encrypted(false)
.iops(123)
.kmsKeyId("kmsKeyId")
.throughput(123)
.volumeSize(123)
.volumeType("volumeType")
.build())
.noDevice("noDevice")
.virtualName("virtualName")
.build()))
.capacityReservationSpecification(CapacityReservationSpecificationProperty.builder()
.capacityReservationPreference("capacityReservationPreference")
.capacityReservationTarget(CapacityReservationTargetProperty.builder()
.capacityReservationId("capacityReservationId")
.capacityReservationResourceGroupArn("capacityReservationResourceGroupArn")
.build())
.build())
.cpuOptions(CpuOptionsRequestProperty.builder()
.coreCount(123)
.threadsPerCore(123)
.build())
.creditSpecification(CreditSpecificationRequestProperty.builder()
.cpuCredits("cpuCredits")
.build())
.disableApiStop(false)
.ebsOptimized(false)
.enablePrimaryIpv6(false)
.enclaveOptions(EnclaveOptionsRequestProperty.builder()
.enabled(false)
.build())
.hibernationOptions(HibernationOptionsRequestProperty.builder()
.configured(false)
.build())
.iamInstanceProfile(IamInstanceProfileSpecificationProperty.builder()
.arn("arn")
.name("name")
.build())
.instanceMarketOptions(InstanceMarketOptionsRequestProperty.builder()
.marketType("marketType")
.spotOptions(SpotMarketOptionsProperty.builder()
.instanceInterruptionBehavior("instanceInterruptionBehavior")
.maxPrice("maxPrice")
.spotInstanceType("spotInstanceType")
.validUntilUtc("validUntilUtc")
.build())
.build())
.ipv6AddressCount(123)
.keyName("keyName")
.licenseSpecifications(List.of(LicenseConfigurationRequestProperty.builder()
.licenseConfigurationArn("licenseConfigurationArn")
.build()))
.maintenanceOptions(InstanceMaintenanceOptionsRequestProperty.builder()
.autoRecovery("autoRecovery")
.build())
.metadataOptions(InstanceMetadataOptionsRequestProperty.builder()
.httpEndpoint("httpEndpoint")
.httpProtocolIpv6("httpProtocolIpv6")
.httpPutResponseHopLimit(123)
.httpTokens("httpTokens")
.instanceMetadataTags("instanceMetadataTags")
.build())
.monitoring(RunInstancesMonitoringEnabledProperty.builder()
.enabled(false)
.build())
.networkInterfaces(List.of(InstanceNetworkInterfaceSpecificationProperty.builder()
.description("description")
.deviceIndex(123)
.groups(List.of("groups"))
.subnetId("subnetId")
.build()))
.networkPerformanceOptions(InstanceNetworkPerformanceOptionsRequestProperty.builder()
.bandwidthWeighting("bandwidthWeighting")
.build())
.placement(PlacementProperty.builder()
.availabilityZone("availabilityZone")
.groupId("groupId")
.groupName("groupName")
.partitionNumber(123)
.tenancy("tenancy")
.build())
.privateDnsNameOptions(PrivateDnsNameOptionsRequestProperty.builder()
.enableResourceNameDnsAaaaRecord(false)
.enableResourceNameDnsARecord(false)
.hostnameType("hostnameType")
.build())
.subnetId("subnetId")
.tagSpecifications(List.of(TagSpecificationProperty.builder()
.resourceType("resourceType")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build()))
.userData("userData")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnWorkspaceInstance.ManagedInstancePropertystatic final classAn implementation forCfnWorkspaceInstance.ManagedInstanceProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectReturns union: eitherIResolvableor Listinvalid input: '<'eitherIResolvableorCfnWorkspaceInstance.BlockDeviceMappingProperty>default ObjectReturns union: eitherIResolvableorCfnWorkspaceInstance.CapacityReservationSpecificationPropertydefault ObjectReturns union: eitherIResolvableorCfnWorkspaceInstance.CpuOptionsRequestPropertydefault ObjectReturns union: eitherIResolvableorCfnWorkspaceInstance.CreditSpecificationRequestPropertydefault ObjectReturns union: eitherBooleanorIResolvabledefault ObjectReturns union: eitherBooleanorIResolvabledefault ObjectReturns union: eitherBooleanorIResolvabledefault ObjectReturns union: eitherIResolvableorCfnWorkspaceInstance.EnclaveOptionsRequestPropertydefault ObjectReturns union: eitherIResolvableorCfnWorkspaceInstance.HibernationOptionsRequestPropertydefault ObjectReturns union: eitherIResolvableorCfnWorkspaceInstance.IamInstanceProfileSpecificationPropertydefault ObjectReturns union: eitherIResolvableorCfnWorkspaceInstance.InstanceMarketOptionsRequestPropertydefault Numberdefault Stringdefault ObjectReturns union: eitherIResolvableor Listinvalid input: '<'eitherIResolvableorCfnWorkspaceInstance.LicenseConfigurationRequestProperty>default ObjectReturns union: eitherIResolvableorCfnWorkspaceInstance.InstanceMaintenanceOptionsRequestPropertydefault ObjectReturns union: eitherIResolvableorCfnWorkspaceInstance.InstanceMetadataOptionsRequestPropertydefault ObjectReturns union: eitherIResolvableorCfnWorkspaceInstance.RunInstancesMonitoringEnabledPropertydefault ObjectReturns union: eitherIResolvableor Listinvalid input: '<'eitherIResolvableorCfnWorkspaceInstance.InstanceNetworkInterfaceSpecificationProperty>default ObjectReturns union: eitherIResolvableorCfnWorkspaceInstance.InstanceNetworkPerformanceOptionsRequestPropertydefault ObjectReturns union: eitherIResolvableorCfnWorkspaceInstance.PlacementPropertydefault ObjectReturns union: eitherIResolvableorCfnWorkspaceInstance.PrivateDnsNameOptionsRequestPropertydefault Stringdefault ObjectReturns union: eitherIResolvableor Listinvalid input: '<'eitherIResolvableorCfnWorkspaceInstance.TagSpecificationProperty>default StringMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getImageId
- See Also:
-
getInstanceType
- See Also:
-
getBlockDeviceMappings
Returns union: eitherIResolvableor Listinvalid input: '<'eitherIResolvableorCfnWorkspaceInstance.BlockDeviceMappingProperty>- See Also:
-
getCapacityReservationSpecification
Returns union: eitherIResolvableorCfnWorkspaceInstance.CapacityReservationSpecificationProperty- See Also:
-
getCpuOptions
Returns union: eitherIResolvableorCfnWorkspaceInstance.CpuOptionsRequestProperty- See Also:
-
getCreditSpecification
Returns union: eitherIResolvableorCfnWorkspaceInstance.CreditSpecificationRequestProperty- See Also:
-
getDisableApiStop
Returns union: eitherBooleanorIResolvable- See Also:
-
getEbsOptimized
Returns union: eitherBooleanorIResolvable- See Also:
-
getEnablePrimaryIpv6
Returns union: eitherBooleanorIResolvable- See Also:
-
getEnclaveOptions
Returns union: eitherIResolvableorCfnWorkspaceInstance.EnclaveOptionsRequestProperty- See Also:
-
getHibernationOptions
Returns union: eitherIResolvableorCfnWorkspaceInstance.HibernationOptionsRequestProperty- See Also:
-
getIamInstanceProfile
Returns union: eitherIResolvableorCfnWorkspaceInstance.IamInstanceProfileSpecificationProperty- See Also:
-
getInstanceMarketOptions
Returns union: eitherIResolvableorCfnWorkspaceInstance.InstanceMarketOptionsRequestProperty- See Also:
-
getIpv6AddressCount
- See Also:
-
getKeyName
- See Also:
-
getLicenseSpecifications
Returns union: eitherIResolvableor Listinvalid input: '<'eitherIResolvableorCfnWorkspaceInstance.LicenseConfigurationRequestProperty>- See Also:
-
getMaintenanceOptions
Returns union: eitherIResolvableorCfnWorkspaceInstance.InstanceMaintenanceOptionsRequestProperty- See Also:
-
getMetadataOptions
Returns union: eitherIResolvableorCfnWorkspaceInstance.InstanceMetadataOptionsRequestProperty- See Also:
-
getMonitoring
Returns union: eitherIResolvableorCfnWorkspaceInstance.RunInstancesMonitoringEnabledProperty- See Also:
-
getNetworkInterfaces
Returns union: eitherIResolvableor Listinvalid input: '<'eitherIResolvableorCfnWorkspaceInstance.InstanceNetworkInterfaceSpecificationProperty>- See Also:
-
getNetworkPerformanceOptions
Returns union: eitherIResolvableorCfnWorkspaceInstance.InstanceNetworkPerformanceOptionsRequestProperty- See Also:
-
getPlacement
Returns union: eitherIResolvableorCfnWorkspaceInstance.PlacementProperty- See Also:
-
getPrivateDnsNameOptions
Returns union: eitherIResolvableorCfnWorkspaceInstance.PrivateDnsNameOptionsRequestProperty- See Also:
-
getSubnetId
- See Also:
-
getTagSpecifications
Returns union: eitherIResolvableor Listinvalid input: '<'eitherIResolvableorCfnWorkspaceInstance.TagSpecificationProperty>- See Also:
-
getUserData
- See Also:
-
builder
-