Struct rusoto_lightsail::ContainerService
source · [−]pub struct ContainerService {Show 18 fields
pub arn: Option<String>,
pub container_service_name: Option<String>,
pub created_at: Option<f64>,
pub current_deployment: Option<ContainerServiceDeployment>,
pub is_disabled: Option<bool>,
pub location: Option<ResourceLocation>,
pub next_deployment: Option<ContainerServiceDeployment>,
pub power: Option<String>,
pub power_id: Option<String>,
pub principal_arn: Option<String>,
pub private_domain_name: Option<String>,
pub public_domain_names: Option<HashMap<String, Vec<String>>>,
pub resource_type: Option<String>,
pub scale: Option<i64>,
pub state: Option<String>,
pub state_detail: Option<ContainerServiceStateDetail>,
pub tags: Option<Vec<Tag>>,
pub url: Option<String>,
}
Expand description
Describes an Amazon Lightsail container service.
Fields
arn: Option<String>
The Amazon Resource Name (ARN) of the container service.
container_service_name: Option<String>
The name of the container service.
created_at: Option<f64>
The timestamp when the container service was created.
current_deployment: Option<ContainerServiceDeployment>
An object that describes the current container deployment of the container service.
is_disabled: Option<bool>
A Boolean value indicating whether the container service is disabled.
location: Option<ResourceLocation>
An object that describes the location of the container service, such as the AWS Region and Availability Zone.
next_deployment: Option<ContainerServiceDeployment>
An object that describes the next deployment of the container service.
This value is null
when there is no deployment in a pending
state.
power: Option<String>
The power specification of the container service.
The power specifies the amount of RAM, the number of vCPUs, and the base price of the container service.
power_id: Option<String>
The ID of the power of the container service.
principal_arn: Option<String>
The principal ARN of the container service.
The principal ARN can be used to create a trust relationship between your standard AWS account and your Lightsail container service. This allows you to give your service permission to access resources in your standard AWS account.
private_domain_name: Option<String>
The private domain name of the container service.
The private domain name is accessible only by other resources within the default virtual private cloud (VPC) of your Lightsail account.
public_domain_names: Option<HashMap<String, Vec<String>>>
The public domain name of the container service, such as example.com
and www.example.com
.
You can specify up to four public domain names for a container service. The domain names that you specify are used when you create a deployment with a container configured as the public endpoint of your container service.
If you don't specify public domain names, then you can use the default domain of the container service.
You must create and validate an SSL/TLS certificate before you can use public domain names with your container service. Use the CreateCertificate
action to create a certificate for the public domain names you want to use with your container service.
See CreateContainerService
or UpdateContainerService
for information about how to specify public domain names for your Lightsail container service.
resource_type: Option<String>
The Lightsail resource type of the container service (i.e., ContainerService
).
scale: Option<i64>
The scale specification of the container service.
The scale specifies the allocated compute nodes of the container service.
state: Option<String>
The current state of the container service.
The following container service states are possible:
-
PENDING
- The container service is being created. -
READY
- The container service is running but it does not have an active container deployment. -
DEPLOYING
- The container service is launching a container deployment. -
RUNNING
- The container service is running and it has an active container deployment. -
UPDATING
- The container service capacity or its custom domains are being updated. -
DELETING
- The container service is being deleted. -
DISABLED
- The container service is disabled, and its active deployment and containers, if any, are shut down.
state_detail: Option<ContainerServiceStateDetail>
An object that describes the current state of the container service.
The state detail is populated only when a container service is in a PENDING
, DEPLOYING
, or UPDATING
state.
The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Lightsail Dev Guide.
url: Option<String>
The publicly accessible URL of the container service.
If no public endpoint is specified in the currentDeployment
, this URL returns a 404 response.
Trait Implementations
sourceimpl Clone for ContainerService
impl Clone for ContainerService
sourcefn clone(&self) -> ContainerService
fn clone(&self) -> ContainerService
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ContainerService
impl Debug for ContainerService
sourceimpl Default for ContainerService
impl Default for ContainerService
sourcefn default() -> ContainerService
fn default() -> ContainerService
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ContainerService
impl<'de> Deserialize<'de> for ContainerService
sourcefn 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
sourceimpl PartialEq<ContainerService> for ContainerService
impl PartialEq<ContainerService> for ContainerService
sourcefn eq(&self, other: &ContainerService) -> bool
fn eq(&self, other: &ContainerService) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ContainerService) -> bool
fn ne(&self, other: &ContainerService) -> bool
This method tests for !=
.
impl StructuralPartialEq for ContainerService
Auto Trait Implementations
impl RefUnwindSafe for ContainerService
impl Send for ContainerService
impl Sync for ContainerService
impl Unpin for ContainerService
impl UnwindSafe for ContainerService
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more