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

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.getServiceEnvironment

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

    Using getServiceEnvironment

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getServiceEnvironment(args: GetServiceEnvironmentArgs, opts?: InvokeOptions): Promise<GetServiceEnvironmentResult>
    function getServiceEnvironmentOutput(args: GetServiceEnvironmentOutputArgs, opts?: InvokeOptions): Output<GetServiceEnvironmentResult>
    def get_service_environment(service_environment_arn: Optional[str] = None,
                                opts: Optional[InvokeOptions] = None) -> GetServiceEnvironmentResult
    def get_service_environment_output(service_environment_arn: Optional[pulumi.Input[str]] = None,
                                opts: Optional[InvokeOptions] = None) -> Output[GetServiceEnvironmentResult]
    func LookupServiceEnvironment(ctx *Context, args *LookupServiceEnvironmentArgs, opts ...InvokeOption) (*LookupServiceEnvironmentResult, error)
    func LookupServiceEnvironmentOutput(ctx *Context, args *LookupServiceEnvironmentOutputArgs, opts ...InvokeOption) LookupServiceEnvironmentResultOutput

    > Note: This function is named LookupServiceEnvironment in the Go SDK.

    public static class GetServiceEnvironment 
    {
        public static Task<GetServiceEnvironmentResult> InvokeAsync(GetServiceEnvironmentArgs args, InvokeOptions? opts = null)
        public static Output<GetServiceEnvironmentResult> Invoke(GetServiceEnvironmentInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetServiceEnvironmentResult> getServiceEnvironment(GetServiceEnvironmentArgs args, InvokeOptions options)
    public static Output<GetServiceEnvironmentResult> getServiceEnvironment(GetServiceEnvironmentArgs args, InvokeOptions options)
    
    fn::invoke:
      function: aws-native:batch:getServiceEnvironment
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ServiceEnvironmentArn string
    The Amazon Resource Name (ARN) of the service environment.
    ServiceEnvironmentArn string
    The Amazon Resource Name (ARN) of the service environment.
    serviceEnvironmentArn String
    The Amazon Resource Name (ARN) of the service environment.
    serviceEnvironmentArn string
    The Amazon Resource Name (ARN) of the service environment.
    service_environment_arn str
    The Amazon Resource Name (ARN) of the service environment.
    serviceEnvironmentArn String
    The Amazon Resource Name (ARN) of the service environment.

    getServiceEnvironment Result

    The following output properties are available:

    CapacityLimits List<Pulumi.AwsNative.Batch.Outputs.ServiceEnvironmentCapacityLimit>
    The capacity limits for the service environment. This defines the maximum resources that can be used by service jobs in this environment.
    ServiceEnvironmentArn string
    The Amazon Resource Name (ARN) 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 []ServiceEnvironmentCapacityLimit
    The capacity limits for the service environment. This defines the maximum resources that can be used by service jobs in this environment.
    ServiceEnvironmentArn string
    The Amazon Resource Name (ARN) 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.
    serviceEnvironmentArn String
    The Amazon Resource Name (ARN) 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.
    serviceEnvironmentArn string
    The Amazon Resource Name (ARN) 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[ServiceEnvironmentCapacityLimit]
    The capacity limits for the service environment. This defines the maximum resources that can be used by service jobs in this environment.
    service_environment_arn str
    The Amazon Resource Name (ARN) 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.
    serviceEnvironmentArn String
    The Amazon Resource Name (ARN) 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.

    Supporting Types

    ServiceEnvironmentCapacityLimit

    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