Show / Hide Table of Contents

Class CfnRulePropsMixin.ActionProperty

Describes the action for a rule.

Inheritance
object
CfnRulePropsMixin.ActionProperty
Implements
CfnRulePropsMixin.IActionProperty
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.VpcLattice.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnRulePropsMixin.ActionProperty : CfnRulePropsMixin.IActionProperty
Syntax (vb)
Public Class CfnRulePropsMixin.ActionProperty Implements CfnRulePropsMixin.IActionProperty
Remarks

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

             var actionProperty = new ActionProperty {
                 FixedResponse = new FixedResponseProperty {
                     StatusCode = 123
                 },
                 Forward = new ForwardProperty {
                     TargetGroups = new [] { new WeightedTargetGroupProperty {
                         TargetGroupIdentifier = "targetGroupIdentifier",
                         Weight = 123
                     } }
                 }
             };

Synopsis

Constructors

ActionProperty()

Describes the action for a rule.

Properties

FixedResponse

The fixed response action.

Forward

The forward action.

Constructors

ActionProperty()

Describes the action for a rule.

public ActionProperty()
Remarks

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

             var actionProperty = new ActionProperty {
                 FixedResponse = new FixedResponseProperty {
                     StatusCode = 123
                 },
                 Forward = new ForwardProperty {
                     TargetGroups = new [] { new WeightedTargetGroupProperty {
                         TargetGroupIdentifier = "targetGroupIdentifier",
                         Weight = 123
                     } }
                 }
             };

Properties

FixedResponse

The fixed response action.

public object? FixedResponse { get; set; }
Property Value

object

Remarks

The rule returns a custom HTTP response.

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

Type union: either IResolvable or CfnRulePropsMixin.IFixedResponseProperty

Forward

The forward action.

public object? Forward { get; set; }
Property Value

object

Remarks

Traffic that matches the rule is forwarded to the specified target groups.

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

Type union: either IResolvable or CfnRulePropsMixin.IForwardProperty

Implements

CfnRulePropsMixin.IActionProperty
Back to top Generated by DocFX