interface CfnServiceEnvironmentMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Batch.Mixins.CfnServiceEnvironmentMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsbatch/mixins#CfnServiceEnvironmentMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.batch.mixins.CfnServiceEnvironmentMixinProps |
Python | aws_cdk.mixins_preview.aws_batch.mixins.CfnServiceEnvironmentMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_batch » mixins » CfnServiceEnvironmentMixinProps |
Properties for CfnServiceEnvironmentPropsMixin.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as batch_mixins } from '@aws-cdk/mixins-preview/aws-batch';
const cfnServiceEnvironmentMixinProps: batch_mixins.CfnServiceEnvironmentMixinProps = {
capacityLimits: [{
capacityUnit: 'capacityUnit',
maxCapacity: 123,
}],
serviceEnvironmentName: 'serviceEnvironmentName',
serviceEnvironmentType: 'serviceEnvironmentType',
state: 'state',
tags: {
tagsKey: 'tags',
},
};
Properties
| Name | Type | Description |
|---|---|---|
| capacity | IResolvable | (IResolvable | Capacity)[] | The capacity limits for the service environment. |
| service | string | The name of the service environment. |
| service | string | The type of service environment. |
| state? | string | The state of the service environment. |
| tags? | { [string]: string } | The tags associated with the service environment. |
capacityLimits?
Type:
IResolvable | (IResolvable | Capacity)[]
(optional)
The capacity limits for the service environment.
This defines the maximum resources that can be used by service jobs in this environment.
serviceEnvironmentName?
Type:
string
(optional)
The name of the service environment.
serviceEnvironmentType?
Type:
string
(optional)
The type of service environment.
For SageMaker Training jobs, this value is SAGEMAKER_TRAINING .
state?
Type:
string
(optional)
The state of the service environment.
Valid values are ENABLED and DISABLED .
tags?
Type:
{ [string]: string }
(optional)
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 .

.NET
Go
Java
Python
TypeScript