Interface CustomResponseHeader
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CustomResponseHeader.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2025-01-15T21:09:29.034Z")
@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.alpha.*; CustomResponseHeader customResponseHeader = CustomResponseHeader.builder() .headers(Map.of( "headersKey", "headers")) .pattern("pattern") .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCustomResponseHeader
static final class
An implementation forCustomResponseHeader
-
Method Summary
Modifier and TypeMethodDescriptionstatic CustomResponseHeader.Builder
builder()
(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.Builder
ofCustomResponseHeader
-