interface ResponderErrorMaskingForHttpCodeProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.RTBFabric.CfnLink.ResponderErrorMaskingForHttpCodeProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsrtbfabric#CfnLink_ResponderErrorMaskingForHttpCodeProperty |
Java | software.amazon.awscdk.services.rtbfabric.CfnLink.ResponderErrorMaskingForHttpCodeProperty |
Python | aws_cdk.aws_rtbfabric.CfnLink.ResponderErrorMaskingForHttpCodeProperty |
TypeScript | aws-cdk-lib » aws_rtbfabric » CfnLink » ResponderErrorMaskingForHttpCodeProperty |
Describes the masking for HTTP error codes.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_rtbfabric as rtbfabric } from 'aws-cdk-lib';
const responderErrorMaskingForHttpCodeProperty: rtbfabric.CfnLink.ResponderErrorMaskingForHttpCodeProperty = {
action: 'action',
httpCode: 'httpCode',
loggingTypes: ['loggingTypes'],
// the properties below are optional
responseLoggingPercentage: 123,
};
Properties
| Name | Type | Description |
|---|---|---|
| action | string | The action for the error.. |
| http | string | The HTTP error code. |
| logging | string[] | The error log type. |
| response | number | The percentage of response logging. |
action
Type:
string
The action for the error..
httpCode
Type:
string
The HTTP error code.
loggingTypes
Type:
string[]
The error log type.
responseLoggingPercentage?
Type:
number
(optional)
The percentage of response logging.

.NET
Go
Java
Python
TypeScript