We recommend new projects start with resources from the AWS provider.
aws-native.batch.ServiceEnvironment
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Resource Type definition for AWS::Batch::ServiceEnvironment
Create ServiceEnvironment Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ServiceEnvironment(name: string, args: ServiceEnvironmentArgs, opts?: CustomResourceOptions);
@overload
def ServiceEnvironment(resource_name: str,
args: ServiceEnvironmentArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ServiceEnvironment(resource_name: str,
opts: Optional[ResourceOptions] = None,
capacity_limits: Optional[Sequence[ServiceEnvironmentCapacityLimitArgs]] = None,
service_environment_type: Optional[str] = None,
service_environment_name: Optional[str] = None,
state: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None)
func NewServiceEnvironment(ctx *Context, name string, args ServiceEnvironmentArgs, opts ...ResourceOption) (*ServiceEnvironment, error)
public ServiceEnvironment(string name, ServiceEnvironmentArgs args, CustomResourceOptions? opts = null)
public ServiceEnvironment(String name, ServiceEnvironmentArgs args)
public ServiceEnvironment(String name, ServiceEnvironmentArgs args, CustomResourceOptions options)
type: aws-native:batch:ServiceEnvironment
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ServiceEnvironmentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ServiceEnvironmentArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ServiceEnvironmentArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ServiceEnvironmentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ServiceEnvironmentArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
ServiceEnvironment Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ServiceEnvironment resource accepts the following input properties:
- Capacity
Limits List<Pulumi.Aws Native. Batch. Inputs. Service Environment Capacity Limit> - The capacity limits for the service environment. This defines the maximum resources that can be used by service jobs in this environment.
- Service
Environment stringType - The type of service environment. For SageMaker Training jobs, this value is
SAGEMAKER_TRAINING
. - Service
Environment stringName - The name of the service environment.
- State string
- The state of the service environment. Valid values are
ENABLED
andDISABLED
. - Dictionary<string, string>
- A key-value pair to associate with a resource.
- Capacity
Limits []ServiceEnvironment Capacity Limit Args - The capacity limits for the service environment. This defines the maximum resources that can be used by service jobs in this environment.
- Service
Environment stringType - The type of service environment. For SageMaker Training jobs, this value is
SAGEMAKER_TRAINING
. - Service
Environment stringName - The name of the service environment.
- State string
- The state of the service environment. Valid values are
ENABLED
andDISABLED
. - map[string]string
- A key-value pair to associate with a resource.
- capacity
Limits List<ServiceEnvironment Capacity Limit> - The capacity limits for the service environment. This defines the maximum resources that can be used by service jobs in this environment.
- service
Environment StringType - The type of service environment. For SageMaker Training jobs, this value is
SAGEMAKER_TRAINING
. - service
Environment StringName - The name of the service environment.
- state String
- The state of the service environment. Valid values are
ENABLED
andDISABLED
. - Map<String,String>
- A key-value pair to associate with a resource.
- capacity
Limits ServiceEnvironment Capacity Limit[] - The capacity limits for the service environment. This defines the maximum resources that can be used by service jobs in this environment.
- service
Environment stringType - The type of service environment. For SageMaker Training jobs, this value is
SAGEMAKER_TRAINING
. - service
Environment stringName - The name of the service environment.
- state string
- The state of the service environment. Valid values are
ENABLED
andDISABLED
. - {[key: string]: string}
- A key-value pair to associate with a resource.
- capacity_
limits Sequence[ServiceEnvironment Capacity Limit Args] - The capacity limits for the service environment. This defines the maximum resources that can be used by service jobs in this environment.
- service_
environment_ strtype - The type of service environment. For SageMaker Training jobs, this value is
SAGEMAKER_TRAINING
. - service_
environment_ strname - The name of the service environment.
- state str
- The state of the service environment. Valid values are
ENABLED
andDISABLED
. - Mapping[str, str]
- A key-value pair to associate with a resource.
- capacity
Limits List<Property Map> - The capacity limits for the service environment. This defines the maximum resources that can be used by service jobs in this environment.
- service
Environment StringType - The type of service environment. For SageMaker Training jobs, this value is
SAGEMAKER_TRAINING
. - service
Environment StringName - The name of the service environment.
- state String
- The state of the service environment. Valid values are
ENABLED
andDISABLED
. - Map<String>
- A key-value pair to associate with a resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the ServiceEnvironment resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Service
Environment stringArn - The Amazon Resource Name (ARN) of the service environment.
- Id string
- The provider-assigned unique ID for this managed resource.
- Service
Environment stringArn - The Amazon Resource Name (ARN) of the service environment.
- id String
- The provider-assigned unique ID for this managed resource.
- service
Environment StringArn - The Amazon Resource Name (ARN) of the service environment.
- id string
- The provider-assigned unique ID for this managed resource.
- service
Environment stringArn - The Amazon Resource Name (ARN) of the service environment.
- id str
- The provider-assigned unique ID for this managed resource.
- service_
environment_ strarn - The Amazon Resource Name (ARN) of the service environment.
- id String
- The provider-assigned unique ID for this managed resource.
- service
Environment StringArn - The Amazon Resource Name (ARN) of the service environment.
Supporting Types
ServiceEnvironmentCapacityLimit, ServiceEnvironmentCapacityLimitArgs
- Capacity
Unit string - Max
Capacity int
- Capacity
Unit string - Max
Capacity int
- capacity
Unit String - max
Capacity Integer
- capacity
Unit string - max
Capacity number
- capacity_
unit str - max_
capacity int
- capacity
Unit String - max
Capacity Number
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.