View a markdown version of this page

GetProxyConfigurationContents - Elastic Load Balancing for Envoy

GetProxyConfigurationContents

Retrieves the configuration file, the configuration archive, or both for the specified proxy. This operation is separate from GetProxy so that you can grant access to proxy metadata without granting access to the configuration content.

Request Parameters

includeConfigArchive

Indicates whether to include the configuration archive contents in the response. The default is `false`.

Type: Boolean

Required: No

includeConfigFile

Indicates whether to include the configuration file contents in the response. The default is `false`.

Type: Boolean

Required: No

proxyIdentifier

The Amazon Resource Name (ARN) of the proxy.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 2048.

Pattern: arn:[a-z-]+:elasticloadbalancing:[a-z0-9-]+:[0-9]{12}:proxy/[a-zA-Z0-9-]+:[a-zA-Z0-9]+

Required: Yes

Response Elements

The following elements are returned by the service.

configurationArchiveContents

The configuration archive contents. Populated only if `includeConfigArchive` was `true`.

Type: Base64-encoded binary data object

Length Constraints: Minimum length of 0. Maximum length of 52428800.

configurationFileContents

The configuration file contents. Populated only if `includeConfigFile` was `true`.

Type: Base64-encoded binary data object

Length Constraints: Minimum length of 0. Maximum length of 1048576.

configurationMetadata

The configuration metadata for the proxy.

Type: ConfigurationMetadata object

customerKmsKeyArn

The Amazon Resource Name (ARN) of the customer managed KMS key used to encrypt the proxy's configuration content.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 2048.

Pattern: arn:[a-z-]+:kms:[a-z0-9-]+:[0-9]{12}:key/(mrk-)?[a-f0-9-]+

Errors

For information about the errors that are common to all actions, see Common Error Types.

AccessDeniedException

The user does not have sufficient access to perform this action.

message

The error message.

HTTP Status Code: 403

InternalServerException

An unexpected error occurred while processing the request.

message

The error message.

HTTP Status Code: 500

ResourceNotFoundException

The request references a resource that does not exist.

message

The error message.

HTTP Status Code: 404

ThrottlingException

The limit on the number of requests per second was exceeded.

message

The error message.

HTTP Status Code: 429

ValidationError

The input does not satisfy the constraints specified by an AWS service.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: