Interface CfnRuleMixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnRuleMixinProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-19T12:55:27.250Z")
@Stability(Stable)
public interface CfnRuleMixinProps
extends software.amazon.jsii.JsiiSerializable
Properties for CfnRulePropsMixin.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.vpclattice.*;
CfnRuleMixinProps cfnRuleMixinProps = CfnRuleMixinProps.builder()
.action(ActionProperty.builder()
.fixedResponse(FixedResponseProperty.builder()
.statusCode(123)
.build())
.forward(ForwardProperty.builder()
.targetGroups(List.of(WeightedTargetGroupProperty.builder()
.targetGroupIdentifier("targetGroupIdentifier")
.weight(123)
.build()))
.build())
.build())
.listenerIdentifier("listenerIdentifier")
.match(MatchProperty.builder()
.httpMatch(HttpMatchProperty.builder()
.headerMatches(List.of(HeaderMatchProperty.builder()
.caseSensitive(false)
.match(HeaderMatchTypeProperty.builder()
.contains("contains")
.exact("exact")
.prefix("prefix")
.build())
.name("name")
.build()))
.method("method")
.pathMatch(PathMatchProperty.builder()
.caseSensitive(false)
.match(PathMatchTypeProperty.builder()
.exact("exact")
.prefix("prefix")
.build())
.build())
.build())
.build())
.name("name")
.priority(123)
.serviceIdentifier("serviceIdentifier")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnRuleMixinPropsstatic final classAn implementation forCfnRuleMixinProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnRuleMixinProps.Builderbuilder()default ObjectDescribes the action for a rule.default StringThe ID or ARN of the listener.default ObjectgetMatch()The rule match.default StringgetName()The name of the rule.default NumberThe priority assigned to the rule.default StringThe ID or ARN of the service.getTags()The tags for the rule.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAction
Describes the action for a rule.Returns union: either
IResolvableorCfnRulePropsMixin.ActionProperty- See Also:
-
getListenerIdentifier
The ID or ARN of the listener.- See Also:
-
getMatch
The rule match.Returns union: either
IResolvableorCfnRulePropsMixin.MatchProperty- See Also:
-
getName
The name of the rule.The name must be unique within the listener. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen.
If you don't specify a name, CloudFormation generates one. However, if you specify a name, and later want to replace the resource, you must specify a new name.
- See Also:
-
getPriority
The priority assigned to the rule.Each rule for a specific listener must have a unique priority. The lower the priority number the higher the priority.
- See Also:
-
getServiceIdentifier
The ID or ARN of the service.- See Also:
-
getTags
The tags for the rule.- See Also:
-
builder
- Returns:
- a
CfnRuleMixinProps.BuilderofCfnRuleMixinProps
-