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)
public static Output<GetEnvironmentResult> getEnvironment(GetEnvironmentArgs args, InvokeOptions options)
fn::invoke:
  function: aws-native:elasticbeanstalk:getEnvironment
  arguments:
    # arguments dictionaryThe following arguments are supported:
- EnvironmentName string
- A unique name for the environment.
- EnvironmentName string
- A unique name for the environment.
- environmentName String
- A unique name for the environment.
- environmentName string
- A unique name for the environment.
- environment_name str
- A unique name for the environment.
- environmentName String
- A unique name for the environment.
getEnvironment Result
The following output properties are available:
- Description string
- Your description for this environment.
- EndpointUrl 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
- OperationsRole string
- The Amazon Resource Name (ARN) of an existing IAM role to be used as the environment's operations role.
- PlatformArn 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.
- VersionLabel string
- The name of the application version to deploy.
- Description string
- Your description for this environment.
- EndpointUrl 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
- OperationsRole string
- The Amazon Resource Name (ARN) of an existing IAM role to be used as the environment's operations role.
- PlatformArn 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
EnvironmentTier 
- 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.
- VersionLabel string
- The name of the application version to deploy.
- description String
- Your description for this environment.
- endpointUrl 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
- operationsRole String
- The Amazon Resource Name (ARN) of an existing IAM role to be used as the environment's operations role.
- platformArn 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
EnvironmentTier 
- 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.
- versionLabel String
- The name of the application version to deploy.
- description string
- Your description for this environment.
- endpointUrl 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
- operationsRole string
- The Amazon Resource Name (ARN) of an existing IAM role to be used as the environment's operations role.
- platformArn 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
EnvironmentTier 
- 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.
- versionLabel 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
EnvironmentTier 
- 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.
- endpointUrl 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
- operationsRole String
- The Amazon Resource Name (ARN) of an existing IAM role to be used as the environment's operations role.
- platformArn 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.
- versionLabel 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.