AWS Native

v0.42.0 published on Wednesday, Nov 23, 2022 by Pulumi

getEnvironment

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:

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
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.

Tags List<Pulumi.AwsNative.ElasticBeanstalk.Outputs.EnvironmentTag>

Specifies the tags applied to resources in the environment.

Tier Pulumi.AwsNative.ElasticBeanstalk.Outputs.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
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.

Tags []EnvironmentTag

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
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.

tags List<EnvironmentTag>

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
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.

tags EnvironmentTag[]

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
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.

tags Sequence[EnvironmentTag]

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
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.

tags 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

EnvironmentTag

Key string

The key name of the tag.

Value string

The value for the tag.

Key string

The key name of the tag.

Value string

The value for the tag.

key String

The key name of the tag.

value String

The value for the tag.

key string

The key name of the tag.

value string

The value for the tag.

key str

The key name of the tag.

value str

The value for the tag.

key String

The key name of the tag.

value String

The value for the tag.

EnvironmentTier

Name string

The name of this environment tier.

Type string

The type of this environment tier.

Version string

The version of this environment tier. When you don't set a value to it, Elastic Beanstalk uses the latest compatible worker tier version.

Name string

The name of this environment tier.

Type string

The type of this environment tier.

Version string

The version of this environment tier. When you don't set a value to it, Elastic Beanstalk uses the latest compatible worker tier version.

name String

The name of this environment tier.

type String

The type of this environment tier.

version String

The version of this environment tier. When you don't set a value to it, Elastic Beanstalk uses the latest compatible worker tier version.

name string

The name of this environment tier.

type string

The type of this environment tier.

version string

The version of this environment tier. When you don't set a value to it, Elastic Beanstalk uses the latest compatible worker tier version.

name str

The name of this environment tier.

type str

The type of this environment tier.

version str

The version of this environment tier. When you don't set a value to it, Elastic Beanstalk uses the latest compatible worker tier version.

name String

The name of this environment tier.

type String

The type of this environment tier.

version String

The version of this environment tier. When you don't set a value to it, Elastic Beanstalk uses the latest compatible worker tier version.

Package Details

Repository
https://github.com/pulumi/pulumi-aws-native
License
Apache-2.0