FlowLog
public struct FlowLog : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
The date and time the flow log was created.
Declaration
Swift
public let creationTime: TimeStamp?
-
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
Swift
public let deliverLogsErrorMessage: String?
-
The ARN of the IAM role that posts logs to CloudWatch Logs.
Declaration
Swift
public let deliverLogsPermissionArn: String?
-
The status of the logs delivery (SUCCESS | FAILED).
Declaration
Swift
public let deliverLogsStatus: String?
-
The flow log ID.
Declaration
Swift
public let flowLogId: String?
-
The status of the flow log (ACTIVE).
Declaration
Swift
public let flowLogStatus: String?
-
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
Swift
public let logDestination: String?
-
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
Swift
public let logDestinationType: LogDestinationType?
-
The format of the flow log record.
Declaration
Swift
public let logFormat: String?
-
The name of the flow log group.
Declaration
Swift
public let logGroupName: String?
-
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
Swift
public let maxAggregationInterval: Int?
-
The ID of the resource on which the flow log was created.
Declaration
Swift
public let resourceId: String?
-
The tags for the flow log.
Declaration
Swift
public let tags: [Tag]?
-
The type of traffic captured for the flow log.
Declaration
Swift
public let trafficType: TrafficType?
-
init(creationTime:deliverLogsErrorMessage:deliverLogsPermissionArn:deliverLogsStatus:flowLogId:flowLogStatus:logDestination:logDestinationType:logFormat:logGroupName:maxAggregationInterval:resourceId:tags:trafficType:)
Undocumented
Declaration
Swift
public init(creationTime: TimeStamp? = nil, deliverLogsErrorMessage: String? = nil, deliverLogsPermissionArn: String? = nil, deliverLogsStatus: String? = nil, flowLogId: String? = nil, flowLogStatus: String? = nil, logDestination: String? = nil, logDestinationType: LogDestinationType? = nil, logFormat: String? = nil, logGroupName: String? = nil, maxAggregationInterval: Int? = nil, resourceId: String? = nil, tags: [Tag]? = nil, trafficType: TrafficType? = nil)