Interface CfnServiceEnvironmentProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnServiceEnvironmentProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-12-01T16:02:15.182Z")
@Stability(Stable)
public interface CfnServiceEnvironmentProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnServiceEnvironment.
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.batch.*;
CfnServiceEnvironmentProps cfnServiceEnvironmentProps = CfnServiceEnvironmentProps.builder()
.capacityLimits(List.of(CapacityLimitProperty.builder()
.capacityUnit("capacityUnit")
.maxCapacity(123)
.build()))
.serviceEnvironmentType("serviceEnvironmentType")
// the properties below are optional
.serviceEnvironmentName("serviceEnvironmentName")
.state("state")
.tags(Map.of(
"tagsKey", "tags"))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnServiceEnvironmentPropsstatic final classAn implementation forCfnServiceEnvironmentProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The capacity limits for the service environment.default StringThe name of the service environment.The 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: '<'eitherIResolvableorCfnServiceEnvironment.CapacityLimitProperty>- See Also:
-
getServiceEnvironmentType
The type of service environment.For SageMaker Training jobs, this value is
SAGEMAKER_TRAINING.- See Also:
-
getServiceEnvironmentName
The name of the service environment.- 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
- Returns:
- a
CfnServiceEnvironmentProps.BuilderofCfnServiceEnvironmentProps
-