pub type GetSecurityGroupRuleResource = SecurityGroupRule;Aliased Type§
pub struct GetSecurityGroupRuleResource {
pub id: String,
pub description: Option<String>,
pub direction: SecurityGroupRuleDirection,
pub ethertype: SecurityGroupRuleEthertype,
pub protocol: SecurityGroupRuleProtocol,
pub port_min: Option<Nullable<i64>>,
pub port_max: Option<Nullable<i64>>,
pub remote_cidr: Option<Nullable<String>>,
pub source_security_group: Option<ResourceRef>,
pub created_at: String,
}Fields§
§id: String§description: Option<String>§direction: SecurityGroupRuleDirection§ethertype: SecurityGroupRuleEthertype§protocol: SecurityGroupRuleProtocol§port_min: Option<Nullable<i64>>Required when protocol is tcp/udp; ignored otherwise.
port_max: Option<Nullable<i64>>§remote_cidr: Option<Nullable<String>>Source (ingress) or destination_cidr (egress) CIDR. Must match the rule’s ethertype. Mutually exclusive with source_security_group.
source_security_group: Option<ResourceRef>Security group supplying the source or destination members. Mutually exclusive with remote_cidr.
created_at: String