UNPKG

@pulumi/aws-native

Version:

The Pulumi AWS Cloud Control Provider enables you to build, deploy, and manage [any AWS resource that's supported by the AWS Cloud Control API](https://github.com/pulumi/pulumi-aws-native/blob/master/provider/cmd/pulumi-gen-aws-native/supported-types.txt)

43 lines (42 loc) 1.57 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Resource Type definition for AWS::Batch::ServiceEnvironment */ export declare function getServiceEnvironment(args: GetServiceEnvironmentArgs, opts?: pulumi.InvokeOptions): Promise<GetServiceEnvironmentResult>; export interface GetServiceEnvironmentArgs { /** * The Amazon Resource Name (ARN) of the service environment. */ serviceEnvironmentArn: string; } export interface GetServiceEnvironmentResult { /** * The capacity limits for the service environment. This defines the maximum resources that can be used by service jobs in this environment. */ readonly capacityLimits?: outputs.batch.ServiceEnvironmentCapacityLimit[]; /** * The Amazon Resource Name (ARN) of the service environment. */ readonly serviceEnvironmentArn?: string; /** * The state of the service environment. Valid values are `ENABLED` and `DISABLED` . */ readonly state?: string; /** * A key-value pair to associate with a resource. */ readonly tags?: { [key: string]: string; }; } /** * Resource Type definition for AWS::Batch::ServiceEnvironment */ export declare function getServiceEnvironmentOutput(args: GetServiceEnvironmentOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetServiceEnvironmentResult>; export interface GetServiceEnvironmentOutputArgs { /** * The Amazon Resource Name (ARN) of the service environment. */ serviceEnvironmentArn: pulumi.Input<string>; }