pulumi_wasm_providers_aws_mini::ec2::flow_log

Struct FlowLogArgs

source
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

§tags: Output<Option<HashMap<String, String>>>

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

source

pub fn builder() -> FlowLogArgsBuilder

Create an instance of FlowLogArgs using the builder syntax

Trait Implementations§

source§

impl Clone for FlowLogArgs

source§

fn clone(&self) -> FlowLogArgs

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.