Struct k8s_cluster_api::v1beta1::infrastructure::aws::Bastion [−][src]
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
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
Auto Trait Implementations
impl RefUnwindSafe for Bastion
impl UnwindSafe for Bastion
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