2026/11/29 - AWS AppConfig Cloud Extension - 2 new api methods
Changes Initial release of SDK for Cloud Extension support
Returns the latest deployed configuration for an application, environment, and configuration profile, served from the Extension's local cache. The Extension keeps the cache current by polling AWS AppConfig in the background, so repeated calls don't call AWS AppConfig.
See also: AWS API Documentation
Request Syntax
client.get_configuration(
application='string',
environment='string',
configuration='string'
)
string
[REQUIRED]
The name or ID of the AWS AppConfig application.
string
[REQUIRED]
The name or ID of the AWS AppConfig environment the configuration is deployed to.
string
[REQUIRED]
The name or ID of the AWS AppConfig configuration profile.
dict
Response Syntax
{
'content': b'bytes',
'contentType': 'string',
'revision': 'string',
'versionLabel': 'string'
}
Response Structure
(dict) --
The output of GetConfiguration.
content (bytes) --
The deployed configuration's content. For a feature flag profile, the flags rendered as JSON without request context.
contentType (string) --
The content type of the deployed configuration, such as application/json.
revision (string) --
A value that changes whenever the served content changes. Compare it with an earlier value to detect a change.
versionLabel (string) --
The label of the deployed configuration version, present only when the version has a label.
Returns one flag of a feature flag configuration profile from the Extension's local cache. For a profile with variants, the flag's rules are evaluated locally against the request context.
See also: AWS API Documentation
Request Syntax
client.get_flag(
application='string',
environment='string',
configuration='string',
flag='string',
context={
'string': 'string'
}
)
string
[REQUIRED]
The name or ID of the AWS AppConfig application.
string
[REQUIRED]
The name or ID of the AWS AppConfig environment the configuration is deployed to.
string
[REQUIRED]
The name or ID of the feature flag configuration profile.
string
[REQUIRED]
The key of the flag to return.
dict
The request context that the flag's variant rules are evaluated against.
(string) --
A request context key that variant rules can read.
(string) --
A request context value, used as sent. A value that a rule reads as a timestamp is invalid when it contains :: or null.
dict
Response Syntax
{
'enabled': True|False,
'variant': 'string',
'attributes': {
'string': {
'string': 'string',
'number': 123.0,
'boolean': True|False,
'stringList': [
'string',
],
'numberList': [
123.0,
]
}
}
}
Response Structure
(dict) --
The output of GetFlag.
enabled (boolean) --
Whether the flag is enabled.
variant (string) --
The name of the variant the request context matched, absent when the flag has no variants.
attributes (dict) --
The flag's attribute values, by attribute key, absent when the flag has none.
(string) --
The key of a flag attribute.
(dict) --
A flag attribute value. Exactly one member is set, according to the attribute's type.
string (string) --
A string attribute value.
number (float) --
A number attribute value.
boolean (boolean) --
A boolean attribute value.
stringList (list) --
A list of strings attribute value.
(string) --
numberList (list) --
A list of numbers attribute value.
(float) --