Skip to content

Describe Environment Resources

elasticbeanstalk_describe_environment_resources R Documentation

Returns AWS resources for this environment

Description

Returns AWS resources for this environment.

Usage

elasticbeanstalk_describe_environment_resources(EnvironmentId,
  EnvironmentName)

Arguments

EnvironmentId

The ID of the environment to retrieve AWS resource usage data.

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

EnvironmentName

The name of the environment to retrieve AWS resource usage data.

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

Value

A list with the following syntax:

list(
  EnvironmentResources = list(
    EnvironmentName = "string",
    AutoScalingGroups = list(
      list(
        Name = "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

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

## End(Not run)