pulumi_wasm_providers_aws_mini::ec2::flow_log

Struct FlowLogResult

source
pub struct FlowLogResult {
Show 17 fields pub arn: Output<String>, 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<String>, pub log_destination_type: Output<Option<String>>, pub log_format: Output<String>, pub log_group_name: Output<String>, pub max_aggregation_interval: Output<Option<i32>>, pub subnet_id: Output<Option<String>>, pub tags: Output<Option<HashMap<String, String>>>, pub tags_all: Output<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§

§arn: Output<String>

The ARN of the Flow Log.

§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<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<String>

The fields to include in the flow log record. Accepted format example: "$${interface-id} $${srcaddr} $${dstaddr} $${srcport} $${dstport}".

§log_group_name: Output<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.

§tags_all: Output<HashMap<String, String>>

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

§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

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> 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, 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.