pub struct AwsVpcFlowLogSettings {
pub traffic_type: &'static str,
pub log_destination_type: &'static str,
pub max_aggregation_interval: u32,
pub retention_in_days: i32,
pub delivery_service: &'static str,
pub delivery_actions: &'static [&'static str],
}Expand description
The flow log on a VPC that Alien creates on AWS. The CloudFormation and Terraform network emitters and the direct-setup network controller all build their flow log from this one definition, and a parity test compares the rendered templates with it.
Fields§
§traffic_type: &'static strAccepted and rejected traffic.
log_destination_type: &'static str§max_aggregation_interval: u32Seconds a flow is aggregated into one record. 600 is the AWS default and the cheapest.
retention_in_days: i32Days the log group keeps records. Compliance checks expect one year of log retention.
delivery_service: &'static strThe service that assumes the delivery role.
delivery_actions: &'static [&'static str]What the delivery role may do on its own log group, and nothing else.
Trait Implementations§
Source§impl Clone for AwsVpcFlowLogSettings
impl Clone for AwsVpcFlowLogSettings
impl Copy for AwsVpcFlowLogSettings
Source§impl Debug for AwsVpcFlowLogSettings
impl Debug for AwsVpcFlowLogSettings
impl Eq for AwsVpcFlowLogSettings
Source§impl PartialEq for AwsVpcFlowLogSettings
impl PartialEq for AwsVpcFlowLogSettings
impl StructuralPartialEq for AwsVpcFlowLogSettings
Auto Trait Implementations§
impl Forget for AwsVpcFlowLogSettings
impl Freeze for AwsVpcFlowLogSettings
impl Move for AwsVpcFlowLogSettings
impl RefUnwindSafe for AwsVpcFlowLogSettings
impl Send for AwsVpcFlowLogSettings
impl Sync for AwsVpcFlowLogSettings
impl Unpin for AwsVpcFlowLogSettings
impl UnsafeUnpin for AwsVpcFlowLogSettings
impl UnwindSafe for AwsVpcFlowLogSettings
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.