AWSEC2FlowLog
Objective-C
@interface AWSEC2FlowLog
Swift
class AWSEC2FlowLog
Describes a flow log.
-
The date and time the flow log was created.
Declaration
Objective-C
@property (nonatomic, strong) NSDate *_Nullable creationTime;
Swift
var creationTime: Date? { get set }
-
The ARN of the IAM role that allows the service to publish flow logs across accounts.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable deliverCrossAccountRole;
Swift
var deliverCrossAccountRole: String? { get set }
-
Information about the error that occurred.
Rate limited
indicates that CloudWatch Logs throttling has been applied for one or more network interfaces, or that you’ve reached the limit on the number of log groups that you can create.Access error
indicates that the IAM role associated with the flow log does not have sufficient permissions to publish to CloudWatch Logs.Unknown error
indicates an internal error.Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable deliverLogsErrorMessage;
Swift
var deliverLogsErrorMessage: String? { get set }
-
The ARN of the IAM role allows the service to publish logs to CloudWatch Logs.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable deliverLogsPermissionArn;
Swift
var deliverLogsPermissionArn: String? { get set }
-
The status of the logs delivery (
SUCCESS
|FAILED
).Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable deliverLogsStatus;
Swift
var deliverLogsStatus: String? { get set }
-
The destination options.
Declaration
Objective-C
@property (nonatomic, strong) AWSEC2DestinationOptionsResponse *_Nullable destinationOptions;
Swift
var destinationOptions: AWSEC2DestinationOptionsResponse? { get set }
-
The ID of the flow log.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable flowLogId;
Swift
var flowLogId: String? { get set }
-
The status of the flow log (
ACTIVE
).Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable flowLogStatus;
Swift
var flowLogStatus: String? { get set }
-
The Amazon Resource Name (ARN) of the destination for the flow log data.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable logDestination;
Swift
var logDestination: String? { get set }
-
The type of destination for the flow log data.
Declaration
Objective-C
@property (nonatomic) AWSEC2LogDestinationType logDestinationType;
Swift
var logDestinationType: AWSEC2LogDestinationType { get set }
-
The format of the flow log record.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable logFormat;
Swift
var logFormat: String? { get set }
-
The name of the flow log group.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable logGroupName;
Swift
var logGroupName: String? { get set }
-
The maximum interval of time, in seconds, during which a flow of packets is captured and aggregated into a flow log record.
When a network interface is attached to a Nitro-based instance, the aggregation interval is always 60 seconds (1 minute) or less, regardless of the specified value.
Valid Values:
60
|600
Declaration
Objective-C
@property (nonatomic, strong) NSNumber *_Nullable maxAggregationInterval;
Swift
var maxAggregationInterval: NSNumber? { get set }
-
The ID of the resource being monitored.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable resourceId;
Swift
var resourceId: String? { get set }
-
The type of traffic captured for the flow log.
Declaration
Objective-C
@property (nonatomic) AWSEC2TrafficType trafficType;
Swift
var trafficType: AWSEC2TrafficType { get set }