Show / Hide Table of Contents

Class CfnRule.FixedResponseProperty

Describes an action that returns a custom HTTP response.

Inheritance
object
CfnRule.FixedResponseProperty
Implements
CfnRule.IFixedResponseProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.VpcLattice
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnRule.FixedResponseProperty : CfnRule.IFixedResponseProperty
Syntax (vb)
Public Class CfnRule.FixedResponseProperty Implements CfnRule.IFixedResponseProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-vpclattice-rule-fixedresponse.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.AWS.VpcLattice;

             var fixedResponseProperty = new FixedResponseProperty {
                 StatusCode = 123
             };

Synopsis

Constructors

FixedResponseProperty()

Describes an action that returns a custom HTTP response.

Properties

StatusCode

The HTTP response code.

Constructors

FixedResponseProperty()

Describes an action that returns a custom HTTP response.

public FixedResponseProperty()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-vpclattice-rule-fixedresponse.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.AWS.VpcLattice;

             var fixedResponseProperty = new FixedResponseProperty {
                 StatusCode = 123
             };

Properties

StatusCode

The HTTP response code.

public double StatusCode { get; set; }
Property Value

double

Remarks

Only 404 and 500 status codes are supported.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-vpclattice-rule-fixedresponse.html#cfn-vpclattice-rule-fixedresponse-statuscode

Implements

CfnRule.IFixedResponseProperty
Back to top Generated by DocFX