@aws-cdk_aws-amplify-alpha.CustomResponseHeader

interface CustomResponseHeader ๐Ÿ”น

LanguageType name
.NETAmazon.CDK.AWS.Amplify.Alpha.CustomResponseHeader
Gogithub.com/aws/aws-cdk-go/awscdkamplifyalpha/v2#CustomResponseHeader
Javasoftware.amazon.awscdk.services.amplify.alpha.CustomResponseHeader
Pythonaws_cdk.aws_amplify_alpha.CustomResponseHeader
TypeScript (source)@aws-cdk/aws-amplify-alpha ยป CustomResponseHeader

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 * as amplify_alpha from '@aws-cdk/aws-amplify-alpha';
const customResponseHeader: amplify_alpha.CustomResponseHeader = {
  headers: {
    headersKey: 'headers',
  },
  pattern: 'pattern',
};

Properties

NameTypeDescription
headers๐Ÿ”น{ [string]: string }The map of custom headers to be applied.
pattern๐Ÿ”นstringThese custom headers will be applied to all URL file paths that match this pattern.

headers๐Ÿ”น

Type: { [string]: string }

The map of custom headers to be applied.


pattern๐Ÿ”น

Type: string

These custom headers will be applied to all URL file paths that match this pattern.