Interface CfnServiceEnvironmentProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnServiceEnvironmentProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.113.0 (build fc68b25)",
date="2025-08-12T14:44:11.003Z")
@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 class
A builder forCfnServiceEnvironmentProps
static final class
An implementation forCfnServiceEnvironmentProps
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
The capacity limits for the service environment.default String
The name of the service environment.The type of service environment.default String
getState()
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.
- 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
ENABLED
andDISABLED
.- 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.Builder
ofCfnServiceEnvironmentProps
-