pub struct Bastion {
pub enabled: Option<bool>,
pub disable_ingress_rules: Option<bool>,
pub allowed_cidr_blocks: Vec<String>,
pub instance_type: Option<String>,
pub ami: Option<String>,
}
Fields§
§enabled: Option<bool>
Enabled allows this provider to create a bastion host instance with a public ip to access the VPC private network.
disable_ingress_rules: Option<bool>
DisableIngressRules will ensure there are no Ingress rules in the bastion host’s security group. Requires AllowedCIDRBlocks to be empty.
allowed_cidr_blocks: Vec<String>
AllowedCIDRBlocks is a list of CIDR blocks allowed to access the bastion host. They are set as ingress rules for the Bastion host’s Security Group (defaults to 0.0.0.0/0).
instance_type: Option<String>
InstanceType will use the specified instance type for the bastion. If not specified, Cluster API Provider AWS will use t3.micro for all regions except us-east-1, where t2.micro will be the default.
ami: Option<String>
AMI will use the specified AMI to boot the bastion. If not specified, the AMI will default to one picked out in public space.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Bastion
impl<'de> Deserialize<'de> for Bastion
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
impl StructuralPartialEq for Bastion
Auto Trait Implementations§
impl Freeze for Bastion
impl RefUnwindSafe for Bastion
impl Send for Bastion
impl Sync for Bastion
impl Unpin for Bastion
impl UnwindSafe for Bastion
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