Class CfnRulePropsMixin.FixedResponseProperty
Describes an action that returns a custom HTTP response.
Implements
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.VpcLattice.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnRulePropsMixin.FixedResponseProperty : CfnRulePropsMixin.IFixedResponseProperty
Syntax (vb)
Public Class CfnRulePropsMixin.FixedResponseProperty Implements CfnRulePropsMixin.IFixedResponseProperty
Remarks
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.VpcLattice.Mixins;
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
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.VpcLattice.Mixins;
var fixedResponseProperty = new FixedResponseProperty {
StatusCode = 123
};
Properties
StatusCode
The HTTP response code.
public double? StatusCode { get; set; }
Property Value
Remarks
Only 404 and 500 status codes are supported.