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 }
-
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 that posts 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 flow log ID.
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 }
-
Specifies the destination to which the flow log data is published. Flow log data can be published to an CloudWatch Logs log group or an Amazon S3 bucket. If the flow log publishes to CloudWatch Logs, this element indicates the Amazon Resource Name (ARN) of the CloudWatch Logs log group to which the data is published. If the flow log publishes to Amazon S3, this element indicates the ARN of the Amazon S3 bucket to which the data is published.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable logDestination;
Swift
var logDestination: String? { get set }
-
Specifies the type of destination to which the flow log data is published. Flow log data can be published to CloudWatch Logs or Amazon S3.
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 on which the flow log was created.
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 }