Property | Description |
Condition | Conditions are used to specify when the policy has to be executed. You can add multiple conditions with logical operators. Available values are: AND. API Gateway executes this policy when all the configured conditions comply in the respective policy stage OR. This is selected by default. API Gateway executes this policy when any one of the configured conditions complies. Click Add Condition and provide the following information and click Add . Variable. Specifies the variable type with a syntax. Operator. Specifies the operator to use to relate variable and the value. You can select one of the following: Equals Equals ignore case Not equals Not equals ignore case Contains Exists Range Greater Than Less Than Value. Specifies a plain value or value with a syntax. For details about the variables available in API Gateway, see
Variables Available in API Gateway. |
Property | Description |
Endpoint URI | Provide the external endpoint URI that you want to invoke. |
Method | Specify the method exposed by the API. Available values are: PUT, POST, GET, DELETE, HEAD, CUSTOM. Note: If you select CUSTOM, the HTTP method in the incoming request is sent to the native API. |
SSL Configuration | Specifies the required SSL configuration details of the external endpoint. Provide the following information: Keystore Alias. Specifies the keystore alias. For details on Keystore configuration, see
Keystore and Truststore. Key Alias. Specifies the alias for the private key, which must be stored in the keystore specified by the keystore alias. Truststore Alias. Specifies the alias for the truststore. For details on Truststore configuration, see
Keystore and Truststore. HTTP Connection Timeout (seconds). Specifies the time interval (in seconds) after which a connection attempt to the external endpoint URL times out. Read Timeout (seconds). Specifies the time interval (in seconds) after which a socket read attempt times out. |
Path Parameters | Specifies the path parameter you want to configure to your custom extension. Provide the following information: Path Parameter Name. Species the name of the path parameter you want to configure in your custom extension. This path parameter name should be present in the endpoint URL enclosed with {} to be replaced at runtime. For example, define external URL as http://host/authors/{id}/books and provide id as path parameter name with the value you need to populate at runtime. Path Parameter Value. Specifies the value for the path parameter specified. |