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)

59 lines (58 loc) 2.12 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Resource Type definition for AWS::ElasticBeanstalk::Environment */ export declare function getEnvironment(args: GetEnvironmentArgs, opts?: pulumi.InvokeOptions): Promise<GetEnvironmentResult>; export interface GetEnvironmentArgs { /** * A unique name for the environment. */ environmentName: string; } export interface GetEnvironmentResult { /** * Your description for this environment. */ readonly description?: string; /** * For load-balanced, autoscaling environments, the URL to the load balancer. For single-instance environments, the IP address of the instance. * * Example load balancer URL: * * Example instance IP address: * * `192.0.2.0` */ readonly endpointUrl?: string; /** * The Amazon Resource Name (ARN) of an existing IAM role to be used as the environment's operations role. */ readonly operationsRole?: string; /** * The Amazon Resource Name (ARN) of the custom platform to use with the environment. */ readonly platformArn?: string; /** * Specifies the tags applied to resources in the environment. */ readonly tags?: outputs.Tag[]; /** * Specifies the tier to use in creating this environment. The environment tier that you choose determines whether Elastic Beanstalk provisions resources to support a web application that handles HTTP(S) requests or a web application that handles background-processing tasks. */ readonly tier?: outputs.elasticbeanstalk.EnvironmentTier; /** * The name of the application version to deploy. */ readonly versionLabel?: string; } /** * Resource Type definition for AWS::ElasticBeanstalk::Environment */ export declare function getEnvironmentOutput(args: GetEnvironmentOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetEnvironmentResult>; export interface GetEnvironmentOutputArgs { /** * A unique name for the environment. */ environmentName: pulumi.Input<string>; }