ELBProxy / Client / update_proxy_configuration
update_proxy_configuration¶
- ELBProxy.Client.update_proxy_configuration(**kwargs)¶
Updates the configuration for the specified proxy. You can update the configuration file, the configuration archive, or both.
See also: AWS API Documentation
Request Syntax
response = client.update_proxy_configuration( proxyIdentifier='string', configurationFile={ 'configurationBytes': b'bytes' }, configurationArchive={ 'configurationBytes': b'bytes' }, resetConfigurationArchive=True|False, customerKmsKeyArn='string', resetCustomerKmsKeyArn=True|False )
- Parameters:
proxyIdentifier (string) –
[REQUIRED]
The Amazon Resource Name (ARN) of the proxy.
configurationFile (dict) –
The updated configuration file for the proxy. If you don’t specify a value, the existing configuration file is unchanged.
configurationBytes (bytes) – [REQUIRED]
The contents of the configuration file.
configurationArchive (dict) –
The updated configuration archive for the proxy. If you don’t specify a value, the existing configuration archive is unchanged.
configurationBytes (bytes) – [REQUIRED]
The contents of the configuration archive.
resetConfigurationArchive (boolean) – Indicates whether to remove the configuration archive from the proxy.
customerKmsKeyArn (string) – The Amazon Resource Name (ARN) of the customer managed KMS key used to encrypt the proxy’s configuration content. Specify a new ARN to set or rotate the key. If you don’t specify a value, the existing key is unchanged.
resetCustomerKmsKeyArn (boolean) – Indicates whether to remove the customer managed KMS key from the proxy and use the default service-owned key.
- Return type:
dict
- Returns:
Response Syntax
{ 'configurationMetadata': { 'configFileHash': 'string', 'configArchiveHash': 'string', 'configFileLastUpdatedAt': datetime(2015, 1, 1), 'configArchiveLastUpdatedAt': datetime(2015, 1, 1) }, 'updateId': 'string', 'customerKmsKeyArn': 'string' }
Response Structure
(dict) –
configurationMetadata (dict) –
The configuration metadata for the proxy after the update.
configFileHash (string) –
The SHA-256 hash of the configuration file.
configArchiveHash (string) –
The SHA-256 hash of the configuration archive. This value is absent when the proxy does not have a configuration archive.
configFileLastUpdatedAt (datetime) –
The date and time that the configuration file was last updated.
configArchiveLastUpdatedAt (datetime) –
The date and time that the configuration archive was last updated.
updateId (string) –
The ID of the update that was submitted.
customerKmsKeyArn (string) –
The Amazon Resource Name (ARN) of the customer managed KMS key used to encrypt the proxy’s configuration content after the update. This value is absent when the proxy uses the default service-owned key.
Exceptions