pub struct FlowLogArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build_struct()
.
Implementations§
source§impl<S: State> FlowLogArgsBuilder<S>
impl<S: State> FlowLogArgsBuilder<S>
sourcepub fn build_struct(self) -> FlowLogArgswhere
S: IsComplete,
pub fn build_struct(self) -> FlowLogArgswhere
S: IsComplete,
Finish building and return the requested object
sourcepub fn deliver_cross_account_role(
self,
value: impl Into<Output<Option<String>>>,
) -> FlowLogArgsBuilder<SetDeliverCrossAccountRole<S>>where
S::DeliverCrossAccountRole: IsUnset,
pub fn deliver_cross_account_role(
self,
value: impl Into<Output<Option<String>>>,
) -> FlowLogArgsBuilder<SetDeliverCrossAccountRole<S>>where
S::DeliverCrossAccountRole: IsUnset,
sourcepub fn maybe_deliver_cross_account_role(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> FlowLogArgsBuilder<SetDeliverCrossAccountRole<S>>where
S::DeliverCrossAccountRole: IsUnset,
pub fn maybe_deliver_cross_account_role(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> FlowLogArgsBuilder<SetDeliverCrossAccountRole<S>>where
S::DeliverCrossAccountRole: IsUnset,
sourcepub fn destination_options(
self,
value: impl Into<Output<Option<FlowLogDestinationOptions>>>,
) -> FlowLogArgsBuilder<SetDestinationOptions<S>>where
S::DestinationOptions: IsUnset,
pub fn destination_options(
self,
value: impl Into<Output<Option<FlowLogDestinationOptions>>>,
) -> FlowLogArgsBuilder<SetDestinationOptions<S>>where
S::DestinationOptions: IsUnset,
sourcepub fn maybe_destination_options(
self,
value: Option<impl Into<Output<Option<FlowLogDestinationOptions>>>>,
) -> FlowLogArgsBuilder<SetDestinationOptions<S>>where
S::DestinationOptions: IsUnset,
pub fn maybe_destination_options(
self,
value: Option<impl Into<Output<Option<FlowLogDestinationOptions>>>>,
) -> FlowLogArgsBuilder<SetDestinationOptions<S>>where
S::DestinationOptions: IsUnset,
sourcepub fn eni_id(
self,
value: impl Into<Output<Option<String>>>,
) -> FlowLogArgsBuilder<SetEniId<S>>where
S::EniId: IsUnset,
pub fn eni_id(
self,
value: impl Into<Output<Option<String>>>,
) -> FlowLogArgsBuilder<SetEniId<S>>where
S::EniId: IsUnset,
sourcepub fn maybe_eni_id(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> FlowLogArgsBuilder<SetEniId<S>>where
S::EniId: IsUnset,
pub fn maybe_eni_id(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> FlowLogArgsBuilder<SetEniId<S>>where
S::EniId: IsUnset,
sourcepub fn iam_role_arn(
self,
value: impl Into<Output<Option<String>>>,
) -> FlowLogArgsBuilder<SetIamRoleArn<S>>where
S::IamRoleArn: IsUnset,
pub fn iam_role_arn(
self,
value: impl Into<Output<Option<String>>>,
) -> FlowLogArgsBuilder<SetIamRoleArn<S>>where
S::IamRoleArn: IsUnset,
sourcepub fn maybe_iam_role_arn(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> FlowLogArgsBuilder<SetIamRoleArn<S>>where
S::IamRoleArn: IsUnset,
pub fn maybe_iam_role_arn(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> FlowLogArgsBuilder<SetIamRoleArn<S>>where
S::IamRoleArn: IsUnset,
sourcepub fn log_destination(
self,
value: impl Into<Output<Option<String>>>,
) -> FlowLogArgsBuilder<SetLogDestination<S>>where
S::LogDestination: IsUnset,
pub fn log_destination(
self,
value: impl Into<Output<Option<String>>>,
) -> FlowLogArgsBuilder<SetLogDestination<S>>where
S::LogDestination: IsUnset,
sourcepub fn maybe_log_destination(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> FlowLogArgsBuilder<SetLogDestination<S>>where
S::LogDestination: IsUnset,
pub fn maybe_log_destination(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> FlowLogArgsBuilder<SetLogDestination<S>>where
S::LogDestination: IsUnset,
sourcepub fn log_destination_type(
self,
value: impl Into<Output<Option<String>>>,
) -> FlowLogArgsBuilder<SetLogDestinationType<S>>where
S::LogDestinationType: IsUnset,
pub fn log_destination_type(
self,
value: impl Into<Output<Option<String>>>,
) -> FlowLogArgsBuilder<SetLogDestinationType<S>>where
S::LogDestinationType: IsUnset,
sourcepub fn maybe_log_destination_type(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> FlowLogArgsBuilder<SetLogDestinationType<S>>where
S::LogDestinationType: IsUnset,
pub fn maybe_log_destination_type(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> FlowLogArgsBuilder<SetLogDestinationType<S>>where
S::LogDestinationType: IsUnset,
sourcepub fn log_format(
self,
value: impl Into<Output<Option<String>>>,
) -> FlowLogArgsBuilder<SetLogFormat<S>>where
S::LogFormat: IsUnset,
pub fn log_format(
self,
value: impl Into<Output<Option<String>>>,
) -> FlowLogArgsBuilder<SetLogFormat<S>>where
S::LogFormat: IsUnset,
sourcepub fn maybe_log_format(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> FlowLogArgsBuilder<SetLogFormat<S>>where
S::LogFormat: IsUnset,
pub fn maybe_log_format(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> FlowLogArgsBuilder<SetLogFormat<S>>where
S::LogFormat: IsUnset,
sourcepub fn log_group_name(
self,
value: impl Into<Output<Option<String>>>,
) -> FlowLogArgsBuilder<SetLogGroupName<S>>where
S::LogGroupName: IsUnset,
pub fn log_group_name(
self,
value: impl Into<Output<Option<String>>>,
) -> FlowLogArgsBuilder<SetLogGroupName<S>>where
S::LogGroupName: IsUnset,
sourcepub fn maybe_log_group_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> FlowLogArgsBuilder<SetLogGroupName<S>>where
S::LogGroupName: IsUnset,
pub fn maybe_log_group_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> FlowLogArgsBuilder<SetLogGroupName<S>>where
S::LogGroupName: IsUnset,
sourcepub fn max_aggregation_interval(
self,
value: impl Into<Output<Option<i32>>>,
) -> FlowLogArgsBuilder<SetMaxAggregationInterval<S>>where
S::MaxAggregationInterval: IsUnset,
pub fn max_aggregation_interval(
self,
value: impl Into<Output<Option<i32>>>,
) -> FlowLogArgsBuilder<SetMaxAggregationInterval<S>>where
S::MaxAggregationInterval: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<i32>> as Default>::default()
.
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).
sourcepub fn maybe_max_aggregation_interval(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> FlowLogArgsBuilder<SetMaxAggregationInterval<S>>where
S::MaxAggregationInterval: IsUnset,
pub fn maybe_max_aggregation_interval(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> FlowLogArgsBuilder<SetMaxAggregationInterval<S>>where
S::MaxAggregationInterval: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<i32>> as Default>::default()
.
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).
sourcepub fn subnet_id(
self,
value: impl Into<Output<Option<String>>>,
) -> FlowLogArgsBuilder<SetSubnetId<S>>where
S::SubnetId: IsUnset,
pub fn subnet_id(
self,
value: impl Into<Output<Option<String>>>,
) -> FlowLogArgsBuilder<SetSubnetId<S>>where
S::SubnetId: IsUnset,
sourcepub fn maybe_subnet_id(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> FlowLogArgsBuilder<SetSubnetId<S>>where
S::SubnetId: IsUnset,
pub fn maybe_subnet_id(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> FlowLogArgsBuilder<SetSubnetId<S>>where
S::SubnetId: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<std::collections::HashMap<String, String>>,
> as Default>::default()
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.
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<std::collections::HashMap<String, String>>,
> as Default>::default()
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.