LinkAttributesProperty 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 linkAttributesProperty: rtbfabric.CfnInboundExternalLink.LinkAttributesProperty = {
customerProvidedId: 'customerProvidedId',
responderErrorMasking: [{
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
link_attributes_property = rtbfabric.CfnInboundExternalLink.LinkAttributesProperty(
customer_provided_id="customerProvidedId",
responder_error_masking=[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.*;
LinkAttributesProperty linkAttributesProperty = LinkAttributesProperty.builder()
.customerProvidedId("customerProvidedId")
.responderErrorMasking(List.of(ResponderErrorMaskingForHttpCodeProperty.builder()
.action("action")
.httpCode("httpCode")
.loggingTypes(List.of("loggingTypes"))
// the properties below are optional
.responseLoggingPercentage(123)
.build()))
.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 linkAttributesProperty = new LinkAttributesProperty {
CustomerProvidedId = "customerProvidedId",
ResponderErrorMasking = new [] { 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"
linkAttributesProperty := &LinkAttributesProperty{
CustomerProvidedId: jsii.String("customerProvidedId"),
ResponderErrorMasking: []interface{}{
&ResponderErrorMaskingForHttpCodeProperty{
Action: jsii.String("action"),
HttpCode: jsii.String("httpCode"),
LoggingTypes: []*string{
jsii.String("loggingTypes"),
},
// the properties below are optional
ResponseLoggingPercentage: jsii.Number(123),
},
},
}
Properties
customerProvidedIdoptionalstringcustomer_provided_idoptionalstrcustomerProvidedIdoptionalStringCustomerProvidedIdoptionalstringCustomerProvidedIdoptional*string #responderErrorMaskingoptionalIResolvable | IResolvable | CfnInboundExternalLink.responder_error_maskingoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, ResponderErrorMaskingForHttpCodeProperty]]]responderErrorMaskingoptionalIResolvableResponderErrorMaskingoptionalIResolvableResponderErrorMaskingoptionalinterface{} #