pub struct RemoteAwsSandboxBinding {
pub allow_egress: bool,
pub idle_suspend_seconds: Option<i32>,
pub image_arn: String,
pub image_version: String,
pub max_lifetime_seconds: Option<i32>,
pub preview_ports: Vec<i32>,
pub region: String,
}Expand description
Concrete MicroVM sandbox topology returned to remote clients.
Deliberately without the execution role and the egress connectors of the in-cloud binding: the provider passes no role, and a binding carrying connectors is refused before it reaches here.
JSON schema
{
"description": "Concrete MicroVM sandbox topology returned to remote clients.\n\nDeliberately without the execution role and the egress connectors of the in-cloud binding: the\nprovider passes no role, and a binding carrying connectors is refused before it reaches here.",
"type": "object",
"required": [
"allowEgress",
"imageArn",
"imageVersion",
"previewPorts",
"region"
],
"properties": {
"allowEgress": {
"description": "Whether the declaration asked for open egress. Always true here, and sent rather than\nimplied so the client's own fail-open check on an empty connector list still has an answer.",
"type": "boolean"
},
"idleSuspendSeconds": {
"description": "Idle seconds after which a session suspends, where the declaration asked for one.",
"type": [
"integer",
"null"
],
"format": "int32",
"minimum": 0.0
},
"imageArn": {
"description": "MicroVM image the credential lease authorizes sessions against.",
"type": "string"
},
"imageVersion": {
"description": "Image version sessions are enumerated by together with the image.",
"type": "string"
},
"maxLifetimeSeconds": {
"description": "Wall-clock ceiling on a session, where the declaration asked for one.",
"type": [
"integer",
"null"
],
"format": "int32",
"minimum": 0.0
},
"previewPorts": {
"description": "Ports a session capability may be minted for.",
"type": "array",
"items": {
"type": "integer",
"format": "int32",
"minimum": 0.0
}
},
"region": {
"description": "Region the MicroVMs run in.",
"type": "string"
}
},
"additionalProperties": false
}Fields§
§allow_egress: boolWhether the declaration asked for open egress. Always true here, and sent rather than implied so the client’s own fail-open check on an empty connector list still has an answer.
idle_suspend_seconds: Option<i32>Idle seconds after which a session suspends, where the declaration asked for one.
image_arn: StringMicroVM image the credential lease authorizes sessions against.
image_version: StringImage version sessions are enumerated by together with the image.
max_lifetime_seconds: Option<i32>Wall-clock ceiling on a session, where the declaration asked for one.
preview_ports: Vec<i32>Ports a session capability may be minted for.
region: StringRegion the MicroVMs run in.
Implementations§
Source§impl RemoteAwsSandboxBinding
impl RemoteAwsSandboxBinding
pub fn builder() -> RemoteAwsSandboxBinding
Trait Implementations§
Source§impl Clone for RemoteAwsSandboxBinding
impl Clone for RemoteAwsSandboxBinding
Source§fn clone(&self) -> RemoteAwsSandboxBinding
fn clone(&self) -> RemoteAwsSandboxBinding
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more