1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. batch
  5. ServiceEnvironment

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.32.0 published on Wednesday, Aug 13, 2025 by Pulumi

aws-native.batch.ServiceEnvironment

Explore with Pulumi AI

aws-native logo

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.32.0 published on Wednesday, Aug 13, 2025 by Pulumi

    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:

    CapacityLimits List<Pulumi.AwsNative.Batch.Inputs.ServiceEnvironmentCapacityLimit>
    The capacity limits for the service environment. This defines the maximum resources that can be used by service jobs in this environment.
    ServiceEnvironmentType string
    The type of service environment. For SageMaker Training jobs, this value is SAGEMAKER_TRAINING .
    ServiceEnvironmentName string
    The name of the service environment.
    State string
    The state of the service environment. Valid values are ENABLED and DISABLED .
    Tags Dictionary<string, string>
    A key-value pair to associate with a resource.
    CapacityLimits []ServiceEnvironmentCapacityLimitArgs
    The capacity limits for the service environment. This defines the maximum resources that can be used by service jobs in this environment.
    ServiceEnvironmentType string
    The type of service environment. For SageMaker Training jobs, this value is SAGEMAKER_TRAINING .
    ServiceEnvironmentName string
    The name of the service environment.
    State string
    The state of the service environment. Valid values are ENABLED and DISABLED .
    Tags map[string]string
    A key-value pair to associate with a resource.
    capacityLimits List<ServiceEnvironmentCapacityLimit>
    The capacity limits for the service environment. This defines the maximum resources that can be used by service jobs in this environment.
    serviceEnvironmentType String
    The type of service environment. For SageMaker Training jobs, this value is SAGEMAKER_TRAINING .
    serviceEnvironmentName String
    The name of the service environment.
    state String
    The state of the service environment. Valid values are ENABLED and DISABLED .
    tags Map<String,String>
    A key-value pair to associate with a resource.
    capacityLimits ServiceEnvironmentCapacityLimit[]
    The capacity limits for the service environment. This defines the maximum resources that can be used by service jobs in this environment.
    serviceEnvironmentType string
    The type of service environment. For SageMaker Training jobs, this value is SAGEMAKER_TRAINING .
    serviceEnvironmentName string
    The name of the service environment.
    state string
    The state of the service environment. Valid values are ENABLED and DISABLED .
    tags {[key: string]: string}
    A key-value pair to associate with a resource.
    capacity_limits Sequence[ServiceEnvironmentCapacityLimitArgs]
    The capacity limits for the service environment. This defines the maximum resources that can be used by service jobs in this environment.
    service_environment_type str
    The type of service environment. For SageMaker Training jobs, this value is SAGEMAKER_TRAINING .
    service_environment_name str
    The name of the service environment.
    state str
    The state of the service environment. Valid values are ENABLED and DISABLED .
    tags Mapping[str, str]
    A key-value pair to associate with a resource.
    capacityLimits 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.
    serviceEnvironmentType String
    The type of service environment. For SageMaker Training jobs, this value is SAGEMAKER_TRAINING .
    serviceEnvironmentName String
    The name of the service environment.
    state String
    The state of the service environment. Valid values are ENABLED and DISABLED .
    tags 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.
    ServiceEnvironmentArn string
    The Amazon Resource Name (ARN) of the service environment.
    Id string
    The provider-assigned unique ID for this managed resource.
    ServiceEnvironmentArn string
    The Amazon Resource Name (ARN) of the service environment.
    id String
    The provider-assigned unique ID for this managed resource.
    serviceEnvironmentArn String
    The Amazon Resource Name (ARN) of the service environment.
    id string
    The provider-assigned unique ID for this managed resource.
    serviceEnvironmentArn string
    The Amazon Resource Name (ARN) of the service environment.
    id str
    The provider-assigned unique ID for this managed resource.
    service_environment_arn str
    The Amazon Resource Name (ARN) of the service environment.
    id String
    The provider-assigned unique ID for this managed resource.
    serviceEnvironmentArn String
    The Amazon Resource Name (ARN) of the service environment.

    Supporting Types

    ServiceEnvironmentCapacityLimit, ServiceEnvironmentCapacityLimitArgs

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    We recommend new projects start with resources from the AWS provider.

    AWS Cloud Control v1.32.0 published on Wednesday, Aug 13, 2025 by Pulumi