pub struct FlowLogArgs {Show 15 fields
pub deliver_cross_account_role: Output<Option<String>>,
pub destination_options: Output<Option<FlowLogDestinationOptions>>,
pub eni_id: Output<Option<String>>,
pub iam_role_arn: Output<Option<String>>,
pub log_destination: Output<Option<String>>,
pub log_destination_type: Output<Option<String>>,
pub log_format: Output<Option<String>>,
pub log_group_name: Output<Option<String>>,
pub max_aggregation_interval: Output<Option<i32>>,
pub subnet_id: Output<Option<String>>,
pub tags: Output<Option<HashMap<String, String>>>,
pub traffic_type: Output<Option<String>>,
pub transit_gateway_attachment_id: Output<Option<String>>,
pub transit_gateway_id: Output<Option<String>>,
pub vpc_id: Output<Option<String>>,
}
Fields§
§deliver_cross_account_role: Output<Option<String>>
ARN of the IAM role that allows Amazon EC2 to publish flow logs across accounts.
destination_options: Output<Option<FlowLogDestinationOptions>>
Describes the destination options for a flow log. More details below.
eni_id: Output<Option<String>>
Elastic Network Interface ID to attach to
iam_role_arn: Output<Option<String>>
The ARN for the IAM role that’s used to post flow logs to a CloudWatch Logs log group
log_destination: Output<Option<String>>
The ARN of the logging destination. Either log_destination
or log_group_name
must be set.
log_destination_type: Output<Option<String>>
The type of the logging destination. Valid values: cloud-watch-logs
, s3
, kinesis-data-firehose
. Default: cloud-watch-logs
.
log_format: Output<Option<String>>
The fields to include in the flow log record. Accepted format example: "$${interface-id} $${srcaddr} $${dstaddr} $${srcport} $${dstport}"
.
log_group_name: Output<Option<String>>
Deprecated: Use log_destination
instead. The name of the CloudWatch log group. Either log_group_name
or log_destination
must be set.
max_aggregation_interval: Output<Option<i32>>
The maximum interval of time
during which a flow of packets is captured and aggregated into a flow
log record. Valid Values: 60
seconds (1 minute) or 600
seconds (10
minutes). Default: 600
. When transit_gateway_id
or transit_gateway_attachment_id
is specified, max_aggregation_interval
must be 60 seconds (1 minute).
subnet_id: Output<Option<String>>
Subnet ID to attach to
Key-value map of resource tags. If configured with a provider default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
traffic_type: Output<Option<String>>
The type of traffic to capture. Valid values: ACCEPT
,REJECT
, ALL
.
transit_gateway_attachment_id: Output<Option<String>>
Transit Gateway Attachment ID to attach to
transit_gateway_id: Output<Option<String>>
Transit Gateway ID to attach to
vpc_id: Output<Option<String>>
VPC ID to attach to
Implementations§
source§impl FlowLogArgs
impl FlowLogArgs
sourcepub fn builder() -> FlowLogArgsBuilder
pub fn builder() -> FlowLogArgsBuilder
Create an instance of FlowLogArgs
using the builder syntax
Trait Implementations§
source§impl Clone for FlowLogArgs
impl Clone for FlowLogArgs
source§fn clone(&self) -> FlowLogArgs
fn clone(&self) -> FlowLogArgs
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for FlowLogArgs
impl RefUnwindSafe for FlowLogArgs
impl Send for FlowLogArgs
impl Sync for FlowLogArgs
impl Unpin for FlowLogArgs
impl UnwindSafe for FlowLogArgs
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)