Class CfnRulePropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.vpclattice.CfnRulePropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRulePropsMixin>
- Enclosing class:
CfnRulePropsMixin
@Stability(Stable)
public static final class CfnRulePropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRulePropsMixin>
A fluent builder for
CfnRulePropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionDescribes the action for a rule.action(IResolvable action) Describes the action for a rule.build()static CfnRulePropsMixin.Buildercreate()static CfnRulePropsMixin.Buildercreate(CfnPropertyMixinOptions options) listenerIdentifier(String listenerIdentifier) The ID or ARN of the listener.The rule match.match(IResolvable match) The rule match.The name of the rule.The priority assigned to the rule.serviceIdentifier(String serviceIdentifier) The ID or ARN of the service.The tags for the rule.
-
Method Details
-
create
- Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnRulePropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnRulePropsMixin.Builder.
-
action
Describes the action for a rule.- Parameters:
action- Describes the action for a rule. This parameter is required.- Returns:
this- See Also:
-
action
Describes the action for a rule.- Parameters:
action- Describes the action for a rule. This parameter is required.- Returns:
this- See Also:
-
listenerIdentifier
The ID or ARN of the listener.- Parameters:
listenerIdentifier- The ID or ARN of the listener. This parameter is required.- Returns:
this- See Also:
-
match
The rule match.- Parameters:
match- The rule match. This parameter is required.- Returns:
this- See Also:
-
match
The rule match.- Parameters:
match- The rule match. This parameter is required.- Returns:
this- See Also:
-
name
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.
- Parameters:
name- The name of the rule. This parameter is required.- Returns:
this- See Also:
-
priority
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.
- Parameters:
priority- The priority assigned to the rule. This parameter is required.- Returns:
this- See Also:
-
serviceIdentifier
The ID or ARN of the service.- Parameters:
serviceIdentifier- The ID or ARN of the service. This parameter is required.- Returns:
this- See Also:
-
tags
The tags for the rule.- Parameters:
tags- The tags for the rule. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRulePropsMixin>- Returns:
- a newly built instance of
CfnRulePropsMixin.
-