Interface CfnServiceEnvironmentMixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnServiceEnvironmentMixinProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-11T13:19:56.400Z")
@Stability(Stable)
public interface CfnServiceEnvironmentMixinProps
extends software.amazon.jsii.JsiiSerializable
Properties for CfnServiceEnvironmentPropsMixin.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.batch.*;
CfnServiceEnvironmentMixinProps cfnServiceEnvironmentMixinProps = CfnServiceEnvironmentMixinProps.builder()
.capacityLimits(List.of(CapacityLimitProperty.builder()
.capacityUnit("capacityUnit")
.maxCapacity(123)
.build()))
.serviceEnvironmentName("serviceEnvironmentName")
.serviceEnvironmentType("serviceEnvironmentType")
.state("state")
.tags(Map.of(
"tagsKey", "tags"))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnServiceEnvironmentMixinPropsstatic final classAn implementation forCfnServiceEnvironmentMixinProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectThe capacity limits for the service environment.default StringThe name of the service environment.default StringThe type of service environment.default StringgetState()The state of the service environment.getTags()The tags associated with the service environment.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCapacityLimits
The capacity limits for the service environment.This defines the maximum resources that can be used by service jobs in this environment.
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnServiceEnvironmentPropsMixin.CapacityLimitProperty>- See Also:
-
getServiceEnvironmentName
The name of the service environment.- See Also:
-
getServiceEnvironmentType
The type of service environment.For SageMaker Training jobs, this value is
SAGEMAKER_TRAINING.- See Also:
-
getState
The state of the service environment.Valid values are
ENABLEDandDISABLED.- See Also:
-
getTags
The tags associated with the service environment.Each tag consists of a key and an optional value. For more information, see Tagging your AWS Batch resources .
- See Also:
-
builder
-