Documentation - v0.0.0
    Preparing search index...

    Represents the properties required to configure URL rewriting for CloudFront.

    interface CloudFrontUrlRewriteProps {
        behaviorPath?: string;
        distribution: Distribution;
        fromHostname: string;
        functionProps?: Partial<CloudFrontRewriteFunctionProps>;
        origin?: IOrigin;
        redirectUriPattern: string;
        targetUriPattern: string;
        toHostname: string;
    }
    Index

    Properties

    behaviorPath?: string

    Optional path for the behavior.

    - '/*'
    
    distribution: Distribution

    CloudFront distribution to which the URL rewrite will be applied.

    fromHostname: string

    The hostname to rewrite from.

    functionProps?: Partial<CloudFrontRewriteFunctionProps>

    Optional props for the function.

    origin?: IOrigin

    Optional origin to use for the behavior.

    redirectUriPattern: string

    The redirect URI match pattern used for substitution.

    targetUriPattern: string

    Target URI pattern for substitution.

    toHostname: string

    The hostname to rewrite to.