CfnServiceEnvironmentMixinProps
- class aws_cdk.mixins_preview.aws_batch.mixins.CfnServiceEnvironmentMixinProps(*, capacity_limits=None, service_environment_name=None, service_environment_type=None, state=None, tags=None)
Bases:
objectProperties for CfnServiceEnvironmentPropsMixin.
- Parameters:
capacity_limits (
Union[IResolvable,Sequence[Union[IResolvable,CapacityLimitProperty,Dict[str,Any]]],None]) – The capacity limits for the service environment. This defines the maximum resources that can be used by service jobs in this environment.service_environment_name (
Optional[str]) – The name of the service environment.service_environment_type (
Optional[str]) – The type of service environment. For SageMaker Training jobs, this value isSAGEMAKER_TRAINING.state (
Optional[str]) – The state of the service environment. Valid values areENABLEDandDISABLED.tags (
Optional[Mapping[str,str]]) – 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:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_batch import mixins as batch_mixins cfn_service_environment_mixin_props = batch_mixins.CfnServiceEnvironmentMixinProps( capacity_limits=[batch_mixins.CfnServiceEnvironmentPropsMixin.CapacityLimitProperty( capacity_unit="capacityUnit", max_capacity=123 )], service_environment_name="serviceEnvironmentName", service_environment_type="serviceEnvironmentType", state="state", tags={ "tags_key": "tags" } )
Attributes
- capacity_limits
The capacity limits for the service environment.
This defines the maximum resources that can be used by service jobs in this environment.
- service_environment_name
The name of the service environment.
- service_environment_type
The type of service environment.
For SageMaker Training jobs, this value is
SAGEMAKER_TRAINING.
- state
The state of the service environment.
Valid values are
ENABLEDandDISABLED.
- tags
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 .