Skip to content

Returns Amazon Web Services resources for this environment

Description

Returns Amazon Web Services resources for this environment.

Usage

elasticbeanstalk_describe_environment_resources(EnvironmentId,
  EnvironmentName)

Arguments

  • EnvironmentId

    The ID of the environment to retrieve Amazon Web Services resource usage data.

    Condition: You must specify either this or an EnvironmentName, or both. If you do not specify either, Elastic Beanstalk returns MissingRequiredParameter error.

  • EnvironmentName

    The name of the environment to retrieve Amazon Web Services resource usage data.

    Condition: You must specify either this or an EnvironmentId, or both. If you do not specify either, Elastic Beanstalk returns MissingRequiredParameter error.

Value

A list with the following syntax:

list(
  EnvironmentResources = list(
    EnvironmentName = "string",
    AutoScalingGroups = list(
      list(
        Name = "string"
      )
    ),
    Cluster = list(
      ClusterArn = "string"
    ),
    Instances = list(
      list(
        Id = "string"
      )
    ),
    LaunchConfigurations = list(
      list(
        Name = "string"
      )
    ),
    LaunchTemplates = list(
      list(
        Id = "string"
      )
    ),
    LoadBalancers = list(
      list(
        Name = "string"
      )
    ),
    Triggers = list(
      list(
        Name = "string"
      )
    ),
    Queues = list(
      list(
        Name = "string",
        URL = "string"
      )
    )
  )
)

Request syntax

svc$describe_environment_resources(
  EnvironmentId = "string",
  EnvironmentName = "string"
)

Examples

# The following operation retrieves information about resources in an
# environment named my-env:
svc$describe_environment_resources(
  EnvironmentName = "my-env"
)