RuleArgs

data class RuleArgs(val action: Output<RuleActionArgs>? = null, val listenerIdentifier: Output<String>? = null, val match: Output<RuleMatchArgs>? = null, val name: Output<String>? = null, val priority: Output<Int>? = null, val serviceIdentifier: Output<String>? = null, val tags: Output<List<TagArgs>>? = null) : ConvertibleToJava<RuleArgs>

Creates a listener rule. Each listener has a default rule for checking connection requests, but you can define additional rules. Each rule consists of a priority, one or more actions, and one or more conditions.

Constructors

Link copied to clipboard
constructor(action: Output<RuleActionArgs>? = null, listenerIdentifier: Output<String>? = null, match: Output<RuleMatchArgs>? = null, name: Output<String>? = null, priority: Output<Int>? = null, serviceIdentifier: Output<String>? = null, tags: Output<List<TagArgs>>? = null)

Properties

Link copied to clipboard
val action: Output<RuleActionArgs>? = null

Describes the action for a rule.

Link copied to clipboard
val listenerIdentifier: Output<String>? = null

The ID or ARN of the listener.

Link copied to clipboard
val match: Output<RuleMatchArgs>? = null

The rule match.

Link copied to clipboard
val name: Output<String>? = null

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.

Link copied to clipboard
val priority: Output<Int>? = null

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.

Link copied to clipboard
val serviceIdentifier: Output<String>? = null

The ID or ARN of the service.

Link copied to clipboard
val tags: Output<List<TagArgs>>? = null

The tags for the rule.

Functions

Link copied to clipboard
open override fun toJava(): RuleArgs