describe_configuration_options
async
¶
describe_configuration_options(
*,
config_overrides: Optional[AsyncElasticBeanstalkClientConfig] = None,
application_name: Optional[ApplicationName] = None,
template_name: Optional[ConfigurationTemplateName] = None,
environment_name: Optional[EnvironmentName] = None,
solution_stack_name: Optional[SolutionStackName] = None,
platform_arn: Optional[PlatformArn] = None,
options: Optional[OptionsSpecifierList] = None,
) -> ConfigurationOptionsDescription
Describes the configuration options that are used in a particular configuration template or environment, or that a specified solution stack defines. The description includes the values the options, their default values, and an indication of the required action on a running environment if an option value is changed.
This action only returns information about resources that the calling principle has IAM permissions to access. For example, consider a case where a user only has permission to access one of three resources. When the user calls the this action, the response will only include the one resource that the user has permission to access instead of all three resources. If the user doesn’t have access to any of the resources an empty result is returned.
The AWSElasticBeanstalkReadOnly managed policy allows operators to view information about resources related to Elastic Beanstalk. For more information, see Managing Elastic Beanstalk user policies in the Elastic Beanstalk Developer Guide. For detailed instructions to attach a policy to a user or group, see the section Controlling access with managed policies in the same topic.
Parameters:
-
application_name(Optional[ApplicationName], default:None) –The name of the application associated with the configuration template or environment. Only needed if you want to describe the configuration options associated with either the configuration template or environment.
-
template_name(Optional[ConfigurationTemplateName], default:None) –The name of the configuration template whose configuration options you want to describe.
-
environment_name(Optional[EnvironmentName], default:None) –The name of the environment whose configuration options you want to describe.
-
solution_stack_name(Optional[SolutionStackName], default:None) –The name of the solution stack whose configuration options you want to describe.
-
platform_arn(Optional[PlatformArn], default:None) –The ARN of the custom platform.
-
options(Optional[OptionsSpecifierList], default:None) –If specified, restricts the descriptions to only the specified options.
Raises:
-
TooManyBucketsException–The specified account has reached its limit of Amazon S3 buckets.
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
To view configuration options for an environment The following operation retrieves descriptions of all available configuration options for an environment named my-env:
>>> await client.describe_configuration_options(application_name='my-app', environment_name='my-env')
Source code in docs_src/capo_elastic_beanstalk/_services/async_elastic_beanstalk.py
1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 | |