Struct aws_sdk_networkfirewall::operation::create_firewall_policy::CreateFirewallPolicyInput
source · #[non_exhaustive]pub struct CreateFirewallPolicyInput {
pub firewall_policy_name: Option<String>,
pub firewall_policy: Option<FirewallPolicy>,
pub description: Option<String>,
pub tags: Option<Vec<Tag>>,
pub dry_run: Option<bool>,
pub encryption_configuration: Option<EncryptionConfiguration>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.firewall_policy_name: Option<String>
The descriptive name of the firewall policy. You can't change the name of a firewall policy after you create it.
firewall_policy: Option<FirewallPolicy>
The rule groups and policy actions to use in the firewall policy.
description: Option<String>
A description of the firewall policy.
The key:value pairs to associate with the resource.
dry_run: Option<bool>
Indicates whether you want Network Firewall to just check the validity of the request, rather than run the request.
If set to TRUE
, Network Firewall checks whether the request can run successfully, but doesn't actually make the requested changes. The call returns the value that the request would return if you ran it with dry run set to FALSE
, but doesn't make additions or changes to your resources. This option allows you to make sure that you have the required permissions to run the request and that your request parameters are valid.
If set to FALSE
, Network Firewall makes the requested changes to your resources.
encryption_configuration: Option<EncryptionConfiguration>
A complex type that contains settings for encryption of your firewall policy resources.
Implementations§
source§impl CreateFirewallPolicyInput
impl CreateFirewallPolicyInput
sourcepub fn firewall_policy_name(&self) -> Option<&str>
pub fn firewall_policy_name(&self) -> Option<&str>
The descriptive name of the firewall policy. You can't change the name of a firewall policy after you create it.
sourcepub fn firewall_policy(&self) -> Option<&FirewallPolicy>
pub fn firewall_policy(&self) -> Option<&FirewallPolicy>
The rule groups and policy actions to use in the firewall policy.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description of the firewall policy.
The key:value pairs to associate with the resource.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none()
.
sourcepub fn dry_run(&self) -> Option<bool>
pub fn dry_run(&self) -> Option<bool>
Indicates whether you want Network Firewall to just check the validity of the request, rather than run the request.
If set to TRUE
, Network Firewall checks whether the request can run successfully, but doesn't actually make the requested changes. The call returns the value that the request would return if you ran it with dry run set to FALSE
, but doesn't make additions or changes to your resources. This option allows you to make sure that you have the required permissions to run the request and that your request parameters are valid.
If set to FALSE
, Network Firewall makes the requested changes to your resources.
sourcepub fn encryption_configuration(&self) -> Option<&EncryptionConfiguration>
pub fn encryption_configuration(&self) -> Option<&EncryptionConfiguration>
A complex type that contains settings for encryption of your firewall policy resources.
source§impl CreateFirewallPolicyInput
impl CreateFirewallPolicyInput
sourcepub fn builder() -> CreateFirewallPolicyInputBuilder
pub fn builder() -> CreateFirewallPolicyInputBuilder
Creates a new builder-style object to manufacture CreateFirewallPolicyInput
.
Trait Implementations§
source§impl Clone for CreateFirewallPolicyInput
impl Clone for CreateFirewallPolicyInput
source§fn clone(&self) -> CreateFirewallPolicyInput
fn clone(&self) -> CreateFirewallPolicyInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateFirewallPolicyInput
impl Debug for CreateFirewallPolicyInput
source§impl PartialEq for CreateFirewallPolicyInput
impl PartialEq for CreateFirewallPolicyInput
source§fn eq(&self, other: &CreateFirewallPolicyInput) -> bool
fn eq(&self, other: &CreateFirewallPolicyInput) -> bool
self
and other
values to be equal, and is used
by ==
.