Interface ICustomResponseHeader
(experimental) Custom response header of an Amplify App.
Namespace: Amazon.CDK.AWS.Amplify.Alpha
Assembly: Amazon.CDK.AWS.Amplify.Alpha.dll
Syntax (csharp)
public interface ICustomResponseHeader
Syntax (vb)
Public Interface ICustomResponseHeader
Remarks
Stability: Experimental
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Amplify.Alpha;
var customResponseHeader = new CustomResponseHeader {
Headers = new Dictionary<string, string> {
{ "headersKey", "headers" }
},
Pattern = "pattern"
};
Synopsis
Properties
Headers | (experimental) The map of custom headers to be applied. |
Pattern | (experimental) These custom headers will be applied to all URL file paths that match this pattern. |
Properties
Headers
(experimental) The map of custom headers to be applied.
IDictionary<string, string> Headers { get; }
Property Value
System.
Remarks
Stability: Experimental
Pattern
(experimental) These custom headers will be applied to all URL file paths that match this pattern.
string Pattern { get; }
Property Value
System.
Remarks
Stability: Experimental