Struct aws_sdk_opsworks::model::App
source · [−]#[non_exhaustive]pub struct App {Show 14 fields
pub app_id: Option<String>,
pub stack_id: Option<String>,
pub shortname: Option<String>,
pub name: Option<String>,
pub description: Option<String>,
pub data_sources: Option<Vec<DataSource>>,
pub type: Option<AppType>,
pub app_source: Option<Source>,
pub domains: Option<Vec<String>>,
pub enable_ssl: Option<bool>,
pub ssl_configuration: Option<SslConfiguration>,
pub attributes: Option<HashMap<AppAttributesKeys, String>>,
pub created_at: Option<String>,
pub environment: Option<Vec<EnvironmentVariable>>,
}
Expand description
A description of the app.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.app_id: Option<String>
The app ID.
stack_id: Option<String>
The app stack ID.
shortname: Option<String>
The app's short name.
name: Option<String>
The app name.
description: Option<String>
A description of the app.
data_sources: Option<Vec<DataSource>>
The app's data sources.
type: Option<AppType>
The app type.
app_source: Option<Source>
A Source
object that describes the app repository.
domains: Option<Vec<String>>
The app vhost settings with multiple domains separated by commas. For example: 'www.example.com, example.com'
enable_ssl: Option<bool>
Whether to enable SSL for the app.
ssl_configuration: Option<SslConfiguration>
An SslConfiguration
object with the SSL configuration.
attributes: Option<HashMap<AppAttributesKeys, String>>
The stack attributes.
created_at: Option<String>
When the app was created.
environment: Option<Vec<EnvironmentVariable>>
An array of EnvironmentVariable
objects that specify environment variables to be associated with the app. After you deploy the app, these variables are defined on the associated app server instances. For more information, see Environment Variables.
There is no specific limit on the number of environment variables. However, the size of the associated data structure - which includes the variable names, values, and protected flag values - cannot exceed 20 KB. This limit should accommodate most if not all use cases, but if you do exceed it, you will cause an exception (API) with an "Environment: is too large (maximum is 20 KB)" message.
Implementations
sourceimpl App
impl App
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description of the app.
sourcepub fn data_sources(&self) -> Option<&[DataSource]>
pub fn data_sources(&self) -> Option<&[DataSource]>
The app's data sources.
sourcepub fn app_source(&self) -> Option<&Source>
pub fn app_source(&self) -> Option<&Source>
A Source
object that describes the app repository.
sourcepub fn domains(&self) -> Option<&[String]>
pub fn domains(&self) -> Option<&[String]>
The app vhost settings with multiple domains separated by commas. For example: 'www.example.com, example.com'
sourcepub fn enable_ssl(&self) -> Option<bool>
pub fn enable_ssl(&self) -> Option<bool>
Whether to enable SSL for the app.
sourcepub fn ssl_configuration(&self) -> Option<&SslConfiguration>
pub fn ssl_configuration(&self) -> Option<&SslConfiguration>
An SslConfiguration
object with the SSL configuration.
sourcepub fn attributes(&self) -> Option<&HashMap<AppAttributesKeys, String>>
pub fn attributes(&self) -> Option<&HashMap<AppAttributesKeys, String>>
The stack attributes.
sourcepub fn created_at(&self) -> Option<&str>
pub fn created_at(&self) -> Option<&str>
When the app was created.
sourcepub fn environment(&self) -> Option<&[EnvironmentVariable]>
pub fn environment(&self) -> Option<&[EnvironmentVariable]>
An array of EnvironmentVariable
objects that specify environment variables to be associated with the app. After you deploy the app, these variables are defined on the associated app server instances. For more information, see Environment Variables.
There is no specific limit on the number of environment variables. However, the size of the associated data structure - which includes the variable names, values, and protected flag values - cannot exceed 20 KB. This limit should accommodate most if not all use cases, but if you do exceed it, you will cause an exception (API) with an "Environment: is too large (maximum is 20 KB)" message.
Trait Implementations
impl StructuralPartialEq for App
Auto Trait Implementations
impl RefUnwindSafe for App
impl Send for App
impl Sync for App
impl Unpin for App
impl UnwindSafe for App
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