Show / Hide Table of Contents

Class CfnAppPropsMixin.CustomRuleProperty

The CustomRule property type allows you to specify redirects, rewrites, and reverse proxies.

Inheritance
object
CfnAppPropsMixin.CustomRuleProperty
Implements
CfnAppPropsMixin.ICustomRuleProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.Mixins.Preview.AWS.Amplify.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnAppPropsMixin.CustomRuleProperty : CfnAppPropsMixin.ICustomRuleProperty
Syntax (vb)
Public Class CfnAppPropsMixin.CustomRuleProperty Implements CfnAppPropsMixin.ICustomRuleProperty
Remarks

Redirects enable a web app to reroute navigation from one URL to another.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplify-app-customrule.html

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.Mixins.Preview.AWS.Amplify.Mixins;

             var customRuleProperty = new CustomRuleProperty {
                 Condition = "condition",
                 Source = "source",
                 Status = "status",
                 Target = "target"
             };

Synopsis

Constructors

CustomRuleProperty()

The CustomRule property type allows you to specify redirects, rewrites, and reverse proxies.

Properties

Condition

The condition for a URL rewrite or redirect rule, such as a country code.

Source

The source pattern for a URL rewrite or redirect rule.

Status

The status code for a URL rewrite or redirect rule.

Target

The target pattern for a URL rewrite or redirect rule.

Constructors

CustomRuleProperty()

The CustomRule property type allows you to specify redirects, rewrites, and reverse proxies.

public CustomRuleProperty()
Remarks

Redirects enable a web app to reroute navigation from one URL to another.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplify-app-customrule.html

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.Mixins.Preview.AWS.Amplify.Mixins;

             var customRuleProperty = new CustomRuleProperty {
                 Condition = "condition",
                 Source = "source",
                 Status = "status",
                 Target = "target"
             };

Properties

Condition

The condition for a URL rewrite or redirect rule, such as a country code.

public string? Condition { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplify-app-customrule.html#cfn-amplify-app-customrule-condition

Source

The source pattern for a URL rewrite or redirect rule.

public string? Source { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplify-app-customrule.html#cfn-amplify-app-customrule-source

Status

The status code for a URL rewrite or redirect rule.

public string? Status { get; set; }
Property Value

string

Remarks

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplify-app-customrule.html#cfn-amplify-app-customrule-status

    Target

    The target pattern for a URL rewrite or redirect rule.

    public string? Target { get; set; }
    Property Value

    string

    Remarks

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplify-app-customrule.html#cfn-amplify-app-customrule-target

    Implements

    CfnAppPropsMixin.ICustomRuleProperty
    Back to top Generated by DocFX