Struct aws_sdk_networkfirewall::client::fluent_builders::CreateFirewall [−][src]
pub struct CreateFirewall<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to CreateFirewall
.
Creates an AWS Network Firewall Firewall
and accompanying FirewallStatus
for a VPC.
The firewall defines the configuration settings for an AWS Network Firewall firewall. The settings that you can define at creation include the firewall policy, the subnets in your VPC to use for the firewall endpoints, and any tags that are attached to the firewall AWS resource.
After you create a firewall, you can provide additional settings, like the logging configuration.
To update the settings for a firewall, you use the operations that apply to the settings themselves, for example UpdateLoggingConfiguration
, AssociateSubnets
, and UpdateFirewallDeleteProtection
.
To manage a firewall's tags, use the standard AWS resource tagging operations, ListTagsForResource
, TagResource
, and UntagResource
.
To retrieve information about firewalls, use ListFirewalls
and DescribeFirewall
.
Implementations
impl<C, M, R> CreateFirewall<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateFirewall<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreateFirewallOutput, SdkError<CreateFirewallError>> where
R::Policy: SmithyRetryPolicy<CreateFirewallInputOperationOutputAlias, CreateFirewallOutput, CreateFirewallError, CreateFirewallInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreateFirewallOutput, SdkError<CreateFirewallError>> where
R::Policy: SmithyRetryPolicy<CreateFirewallInputOperationOutputAlias, CreateFirewallOutput, CreateFirewallError, CreateFirewallInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
The descriptive name of the firewall. You can't change the name of a firewall after you create it.
The descriptive name of the firewall. You can't change the name of a firewall after you create it.
The Amazon Resource Name (ARN) of the FirewallPolicy
that you want to use for the firewall.
The Amazon Resource Name (ARN) of the FirewallPolicy
that you want to use for the firewall.
The unique identifier of the VPC where Network Firewall should create the firewall.
You can't change this setting after you create the firewall.
The unique identifier of the VPC where Network Firewall should create the firewall.
You can't change this setting after you create the firewall.
Appends an item to SubnetMappings
.
To override the contents of this collection use set_subnet_mappings
.
The public subnets to use for your Network Firewall firewalls. Each subnet must belong to a different Availability Zone in the VPC. Network Firewall creates a firewall endpoint in each subnet.
The public subnets to use for your Network Firewall firewalls. Each subnet must belong to a different Availability Zone in the VPC. Network Firewall creates a firewall endpoint in each subnet.
A flag indicating whether it is possible to delete the firewall. A setting of TRUE
indicates that the firewall is protected against deletion. Use this setting to protect against accidentally deleting a firewall that is in use. When you create a firewall, the operation initializes this flag to TRUE
.
A flag indicating whether it is possible to delete the firewall. A setting of TRUE
indicates that the firewall is protected against deletion. Use this setting to protect against accidentally deleting a firewall that is in use. When you create a firewall, the operation initializes this flag to TRUE
.
A setting indicating whether the firewall is protected against changes to the subnet associations. Use this setting to protect against accidentally modifying the subnet associations for a firewall that is in use. When you create a firewall, the operation initializes this setting to TRUE
.
A setting indicating whether the firewall is protected against changes to the subnet associations. Use this setting to protect against accidentally modifying the subnet associations for a firewall that is in use. When you create a firewall, the operation initializes this setting to TRUE
.
A setting indicating whether the firewall is protected against a change to the firewall policy association. Use this setting to protect against accidentally modifying the firewall policy for a firewall that is in use. When you create a firewall, the operation initializes this setting to TRUE
.
A setting indicating whether the firewall is protected against a change to the firewall policy association. Use this setting to protect against accidentally modifying the firewall policy for a firewall that is in use. When you create a firewall, the operation initializes this setting to TRUE
.
A description of the firewall.
A description of the firewall.
Appends an item to Tags
.
To override the contents of this collection use set_tags
.
The key:value pairs to associate with the resource.
The key:value pairs to associate with the resource.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for CreateFirewall<C, M, R>
impl<C, M, R> Send for CreateFirewall<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for CreateFirewall<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for CreateFirewall<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for CreateFirewall<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more