AWSEC2CreateTrafficMirrorFilterRuleRequest

Objective-C

@interface AWSEC2CreateTrafficMirrorFilterRuleRequest

Swift

class AWSEC2CreateTrafficMirrorFilterRuleRequest
  • Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable clientToken;

    Swift

    var clientToken: String? { get set }
  • The description of the Traffic Mirror rule.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable detail;

    Swift

    var detail: String? { get set }
  • The destination CIDR block to assign to the Traffic Mirror rule.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable destinationCidrBlock;

    Swift

    var destinationCidrBlock: String? { get set }
  • The destination port range.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSEC2TrafficMirrorPortRangeRequest *_Nullable destinationPortRange;

    Swift

    var destinationPortRange: AWSEC2TrafficMirrorPortRangeRequest? { get set }
  • 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

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable dryRun;

    Swift

    var dryRun: NSNumber? { get set }
  • 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

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable protocols;

    Swift

    var protocols: NSNumber? { get set }
  • The action to take on the filtered traffic.

    Declaration

    Objective-C

    @property (nonatomic) AWSEC2TrafficMirrorRuleAction ruleAction;

    Swift

    var ruleAction: AWSEC2TrafficMirrorRuleAction { get set }
  • 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

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable ruleNumber;

    Swift

    var ruleNumber: NSNumber? { get set }
  • The source CIDR block to assign to the Traffic Mirror rule.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable sourceCidrBlock;

    Swift

    var sourceCidrBlock: String? { get set }
  • The source port range.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSEC2TrafficMirrorPortRangeRequest *_Nullable sourcePortRange;

    Swift

    var sourcePortRange: AWSEC2TrafficMirrorPortRangeRequest? { get set }
  • Traffic Mirroring tags specifications.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<AWSEC2TagSpecification *> *_Nullable tagSpecifications;

    Swift

    var tagSpecifications: [AWSEC2TagSpecification]? { get set }
  • The type of traffic.

    Declaration

    Objective-C

    @property (nonatomic) AWSEC2TrafficDirection trafficDirection;

    Swift

    var trafficDirection: AWSEC2TrafficDirection { get set }
  • The ID of the filter that this rule is associated with.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable trafficMirrorFilterId;

    Swift

    var trafficMirrorFilterId: String? { get set }