pub struct VpcFirewallRule {
pub id: String,
pub name: String,
pub description: String,
pub action: VpcFirewallRuleAction,
pub direction: VpcFirewallRuleDirection,
pub filters: VpcFirewallRuleFilter,
pub priority: u16,
pub status: VpcFirewallRuleStatus,
pub targets: Vec<VpcFirewallRuleTarget>,
pub time_created: DisplayOptionDateTime,
pub time_modified: DisplayOptionDateTime,
pub vpc_id: String,
}
Expand description
A single rule in a VPC firewall
Fields§
§id: String
unique, immutable, system-controlled identifier for each resource
name: String
Names must begin with a lower case ASCII letter, be composed exclusively of lowercase ASCII, uppercase ASCII, numbers, and ‘-’, and may not end with a ‘-’. Names cannot be a UUID though they may contain a UUID.
description: String
human-readable free-form text about a resource
action: VpcFirewallRuleAction
§direction: VpcFirewallRuleDirection
§filters: VpcFirewallRuleFilter
Filter for a firewall rule. A given packet must match every field that is present for the rule to apply to it. A packet matches a field if any entry in that field matches the packet.
priority: u16
the relative priority of this rule
status: VpcFirewallRuleStatus
§targets: Vec<VpcFirewallRuleTarget>
list of sets of instances that the rule applies to
time_created: DisplayOptionDateTime
timestamp when this resource was created
time_modified: DisplayOptionDateTime
timestamp when this resource was last modified
vpc_id: String
the VPC to which this rule belongs
Trait Implementations§
Source§impl Clone for VpcFirewallRule
impl Clone for VpcFirewallRule
Source§fn clone(&self) -> VpcFirewallRule
fn clone(&self) -> VpcFirewallRule
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for VpcFirewallRule
impl Debug for VpcFirewallRule
Source§impl Default for VpcFirewallRule
impl Default for VpcFirewallRule
Source§fn default() -> VpcFirewallRule
fn default() -> VpcFirewallRule
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VpcFirewallRule
impl<'de> Deserialize<'de> for VpcFirewallRule
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl JsonSchema for VpcFirewallRule
impl JsonSchema for VpcFirewallRule
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moreSource§impl PartialEq for VpcFirewallRule
impl PartialEq for VpcFirewallRule
Source§impl Serialize for VpcFirewallRule
impl Serialize for VpcFirewallRule
Source§impl Tabled for VpcFirewallRule
impl Tabled for VpcFirewallRule
impl StructuralPartialEq for VpcFirewallRule
Auto Trait Implementations§
impl Freeze for VpcFirewallRule
impl RefUnwindSafe for VpcFirewallRule
impl Send for VpcFirewallRule
impl Sync for VpcFirewallRule
impl Unpin for VpcFirewallRule
impl UnwindSafe for VpcFirewallRule
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more