Interface CustomResponseHeader
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CustomResponseHeader.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:42.131Z")
@Stability(Experimental)
public interface CustomResponseHeader
extends software.amazon.jsii.JsiiSerializable
(experimental) Custom response header of an Amplify App.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.amplify.*;
CustomResponseHeader customResponseHeader = CustomResponseHeader.builder()
.headers(Map.of(
"headersKey", "headers"))
.pattern("pattern")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCustomResponseHeaderstatic final classAn implementation forCustomResponseHeader -
Method Summary
Modifier and TypeMethodDescriptionstatic CustomResponseHeader.Builderbuilder()(experimental) The map of custom headers to be applied.(experimental) These custom headers will be applied to all URL file paths that match this pattern.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getHeaders
(experimental) The map of custom headers to be applied. -
getPattern
(experimental) These custom headers will be applied to all URL file paths that match this pattern. -
builder
- Returns:
- a
CustomResponseHeader.BuilderofCustomResponseHeader
-