Class CustomResponseHeader
(experimental) Custom response header of an Amplify App.
Inheritance
System.Object
CustomResponseHeader
Implements
Namespace: Amazon.CDK.AWS.Amplify
Assembly: Amazon.CDK.AWS.Amplify.dll
Syntax (csharp)
public class CustomResponseHeader : Object, ICustomResponseHeader
Syntax (vb)
Public Class CustomResponseHeader
Inherits Object
Implements 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;
var customResponseHeader = new CustomResponseHeader {
Headers = new Dictionary<string, string> {
{ "headersKey", "headers" }
},
Pattern = "pattern"
};
Synopsis
Constructors
CustomResponseHeader() |
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. |
Constructors
CustomResponseHeader()
public CustomResponseHeader()
Properties
Headers
(experimental) The map of custom headers to be applied.
public IDictionary<string, string> Headers { get; set; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.String>
Remarks
Stability: Experimental
Pattern
(experimental) These custom headers will be applied to all URL file paths that match this pattern.
public string Pattern { get; set; }
Property Value
System.String
Remarks
Stability: Experimental