ResponderErrorMaskingForHttpCodeProperty Struct
| Source | |
|---|---|
| Type last changed |
Example
ts
// 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.CfnInboundExternalLink.ResponderErrorMaskingForHttpCodeProperty = {
action: 'action',
httpCode: 'httpCode',
loggingTypes: ['loggingTypes'],
// the properties below are optional
responseLoggingPercentage: 123,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_rtbfabric as rtbfabric
responder_error_masking_for_http_code_property = rtbfabric.CfnInboundExternalLink.ResponderErrorMaskingForHttpCodeProperty(
action="action",
http_code="httpCode",
logging_types=["loggingTypes"],
# the properties below are optional
response_logging_percentage=123
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.rtbfabric.*;
ResponderErrorMaskingForHttpCodeProperty responderErrorMaskingForHttpCodeProperty = ResponderErrorMaskingForHttpCodeProperty.builder()
.action("action")
.httpCode("httpCode")
.loggingTypes(List.of("loggingTypes"))
// the properties below are optional
.responseLoggingPercentage(123)
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.RTBFabric;
var responderErrorMaskingForHttpCodeProperty = new ResponderErrorMaskingForHttpCodeProperty {
Action = "action",
HttpCode = "httpCode",
LoggingTypes = new [] { "loggingTypes" },
// the properties below are optional
ResponseLoggingPercentage = 123
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
responderErrorMaskingForHttpCodeProperty := &ResponderErrorMaskingForHttpCodeProperty{
Action: jsii.String("action"),
HttpCode: jsii.String("httpCode"),
LoggingTypes: []*string{
jsii.String("loggingTypes"),
},
// the properties below are optional
ResponseLoggingPercentage: jsii.Number(123),
}
Properties
loggingTypesstring[]logging_typestyping.List[str]loggingTypesList<String>LoggingTypesstring[]LoggingTypes*[]*string required #responseLoggingPercentageoptionalnumberresponse_logging_percentageoptionalint | floatresponseLoggingPercentageoptionalNumberResponseLoggingPercentageoptionaldoubleResponseLoggingPercentageoptional*float64 #