We recommend new projects start with resources from the AWS provider.
aws-native.elasticbeanstalk.getEnvironment
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Resource Type definition for AWS::ElasticBeanstalk::Environment
Using getEnvironment
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 getEnvironment(args: GetEnvironmentArgs, opts?: InvokeOptions): Promise<GetEnvironmentResult>
function getEnvironmentOutput(args: GetEnvironmentOutputArgs, opts?: InvokeOptions): Output<GetEnvironmentResult>
def get_environment(environment_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetEnvironmentResult
def get_environment_output(environment_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetEnvironmentResult]
func LookupEnvironment(ctx *Context, args *LookupEnvironmentArgs, opts ...InvokeOption) (*LookupEnvironmentResult, error)
func LookupEnvironmentOutput(ctx *Context, args *LookupEnvironmentOutputArgs, opts ...InvokeOption) LookupEnvironmentResultOutput
> Note: This function is named LookupEnvironment
in the Go SDK.
public static class GetEnvironment
{
public static Task<GetEnvironmentResult> InvokeAsync(GetEnvironmentArgs args, InvokeOptions? opts = null)
public static Output<GetEnvironmentResult> Invoke(GetEnvironmentInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetEnvironmentResult> getEnvironment(GetEnvironmentArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:elasticbeanstalk:getEnvironment
arguments:
# arguments dictionary
The following arguments are supported:
- Environment
Name string - A unique name for the environment.
- Environment
Name string - A unique name for the environment.
- environment
Name String - A unique name for the environment.
- environment
Name string - A unique name for the environment.
- environment_
name str - A unique name for the environment.
- environment
Name String - A unique name for the environment.
getEnvironment Result
The following output properties are available:
- Description string
- Your description for this environment.
- Endpoint
Url 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
- Operations
Role string - The Amazon Resource Name (ARN) of an existing IAM role to be used as the environment's operations role.
- Platform
Arn string - The Amazon Resource Name (ARN) of the custom platform to use with the environment.
- List<Pulumi.
Aws Native. Outputs. Tag> - Specifies the tags applied to resources in the environment.
- Tier
Pulumi.
Aws Native. Elastic Beanstalk. Outputs. Environment Tier - 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.
- Version
Label string - The name of the application version to deploy.
- Description string
- Your description for this environment.
- Endpoint
Url 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
- Operations
Role string - The Amazon Resource Name (ARN) of an existing IAM role to be used as the environment's operations role.
- Platform
Arn string - The Amazon Resource Name (ARN) of the custom platform to use with the environment.
- Tag
- Specifies the tags applied to resources in the environment.
- Tier
Environment
Tier - 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.
- Version
Label string - The name of the application version to deploy.
- description String
- Your description for this environment.
- endpoint
Url 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
- operations
Role String - The Amazon Resource Name (ARN) of an existing IAM role to be used as the environment's operations role.
- platform
Arn String - The Amazon Resource Name (ARN) of the custom platform to use with the environment.
- List<Tag>
- Specifies the tags applied to resources in the environment.
- tier
Environment
Tier - 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.
- version
Label String - The name of the application version to deploy.
- description string
- Your description for this environment.
- endpoint
Url 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
- operations
Role string - The Amazon Resource Name (ARN) of an existing IAM role to be used as the environment's operations role.
- platform
Arn string - The Amazon Resource Name (ARN) of the custom platform to use with the environment.
- Tag[]
- Specifies the tags applied to resources in the environment.
- tier
Environment
Tier - 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.
- version
Label string - The name of the application version to deploy.
- description str
- Your description for this environment.
- endpoint_
url str 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
- operations_
role str - The Amazon Resource Name (ARN) of an existing IAM role to be used as the environment's operations role.
- platform_
arn str - The Amazon Resource Name (ARN) of the custom platform to use with the environment.
- Sequence[root_Tag]
- Specifies the tags applied to resources in the environment.
- tier
Environment
Tier - 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.
- version_
label str - The name of the application version to deploy.
- description String
- Your description for this environment.
- endpoint
Url 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
- operations
Role String - The Amazon Resource Name (ARN) of an existing IAM role to be used as the environment's operations role.
- platform
Arn String - The Amazon Resource Name (ARN) of the custom platform to use with the environment.
- List<Property Map>
- Specifies the tags applied to resources in the environment.
- tier Property Map
- 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.
- version
Label String - The name of the application version to deploy.
Supporting Types
EnvironmentTier
Tag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.