@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-07T23:46:59.138Z") @Stability(value=Experimental) public interface CustomResponseHeader extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CustomResponseHeader.Builder
A builder for
CustomResponseHeader |
static class |
CustomResponseHeader.Jsii$Proxy
An implementation for
CustomResponseHeader |
| Modifier and Type | Method and Description |
|---|---|
static CustomResponseHeader.Builder |
builder() |
Map<String,String> |
getHeaders()
(experimental) The map of custom headers to be applied.
|
String |
getPattern()
(experimental) These custom headers will be applied to all URL file paths that match this pattern.
|
@Stability(value=Experimental) @NotNull Map<String,String> getHeaders()
@Stability(value=Experimental) @NotNull String getPattern()
@Stability(value=Experimental) static CustomResponseHeader.Builder builder()
CustomResponseHeader.Builder of CustomResponseHeaderCopyright © 2022. All rights reserved.