CreateTrafficMirrorFilterRuleRequest
public struct CreateTrafficMirrorFilterRuleRequest : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.
Declaration
Swift
public let clientToken: String?
-
The description of the Traffic Mirror rule.
Declaration
Swift
public let description: String?
-
The destination CIDR block to assign to the Traffic Mirror rule.
Declaration
Swift
public let destinationCidrBlock: String
-
The destination port range.
Declaration
Swift
public let destinationPortRange: TrafficMirrorPortRangeRequest?
-
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
Declaration
Swift
public let dryRun: Bool?
-
The protocol, for example UDP, to assign to the Traffic Mirror rule. For information about the protocol value, see Protocol Numbers on the Internet Assigned Numbers Authority (IANA) website.
Declaration
Swift
public let `protocol`: Int?
-
The action to take (accept | reject) on the filtered traffic.
Declaration
Swift
public let ruleAction: TrafficMirrorRuleAction
-
The number of the Traffic Mirror rule. This number must be unique for each Traffic Mirror rule in a given direction. The rules are processed in ascending order by rule number.
Declaration
Swift
public let ruleNumber: Int
-
The source CIDR block to assign to the Traffic Mirror rule.
Declaration
Swift
public let sourceCidrBlock: String
-
The source port range.
Declaration
Swift
public let sourcePortRange: TrafficMirrorPortRangeRequest?
-
The type of traffic (ingress | egress).
Declaration
Swift
public let trafficDirection: TrafficDirection
-
The ID of the filter that this rule is associated with.
Declaration
Swift
public let trafficMirrorFilterId: String
-
init(clientToken:description:destinationCidrBlock:destinationPortRange:dryRun:protocol:ruleAction:ruleNumber:sourceCidrBlock:sourcePortRange:trafficDirection:trafficMirrorFilterId:)
Undocumented
Declaration
Swift
public init(clientToken: String? = CreateTrafficMirrorFilterRuleRequest.idempotencyToken(), description: String? = nil, destinationCidrBlock: String, destinationPortRange: TrafficMirrorPortRangeRequest? = nil, dryRun: Bool? = nil, protocol: Int? = nil, ruleAction: TrafficMirrorRuleAction, ruleNumber: Int, sourceCidrBlock: String, sourcePortRange: TrafficMirrorPortRangeRequest? = nil, trafficDirection: TrafficDirection, trafficMirrorFilterId: String)