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
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:
- Service
Environment stringArn - The Amazon Resource Name (ARN) of the service environment.
- Service
Environment stringArn - The Amazon Resource Name (ARN) of the service environment.
- service
Environment StringArn - The Amazon Resource Name (ARN) of the service environment.
- service
Environment stringArn - The Amazon Resource Name (ARN) of the service environment.
- service_
environment_ strarn - The Amazon Resource Name (ARN) of the service environment.
- service
Environment StringArn - The Amazon Resource Name (ARN) of the service environment.
getServiceEnvironment Result
The following output properties are available:
- Capacity
Limits List<Pulumi.Aws Native. Batch. Outputs. 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 stringArn - The Amazon Resource Name (ARN) 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 - The capacity limits for the service environment. This defines the maximum resources that can be used by service jobs in this environment.
- Service
Environment stringArn - The Amazon Resource Name (ARN) 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 StringArn - The Amazon Resource Name (ARN) 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 stringArn - The Amazon Resource Name (ARN) 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] - The capacity limits for the service environment. This defines the maximum resources that can be used by service jobs in this environment.
- service_
environment_ strarn - The Amazon Resource Name (ARN) 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 StringArn - The Amazon Resource Name (ARN) 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.
Supporting Types
ServiceEnvironmentCapacityLimit
- 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.
AWS Cloud Control v1.32.0 published on Wednesday, Aug 13, 2025 by Pulumi