Struct rusoto_codedeploy::AppSpecContent
source · [−]Expand description
A revision for an AWS Lambda or Amazon ECS deployment that is a YAML-formatted or JSON-formatted string. For AWS Lambda and Amazon ECS deployments, the revision is the same as the AppSpec file. This method replaces the deprecated RawString
data type.
Fields
content: Option<String>
The YAML-formatted or JSON-formatted revision string.
For an AWS Lambda deployment, the content includes a Lambda function name, the alias for its original version, and the alias for its replacement version. The deployment shifts traffic from the original version of the Lambda function to the replacement version.
For an Amazon ECS deployment, the content includes the task name, information about the load balancer that serves traffic to the container, and more.
For both types of deployments, the content can specify Lambda functions that run at specified hooks, such as BeforeInstall
, during a deployment.
sha_256: Option<String>
The SHA256 hash value of the revision content.
Trait Implementations
sourceimpl Clone for AppSpecContent
impl Clone for AppSpecContent
sourcefn clone(&self) -> AppSpecContent
fn clone(&self) -> AppSpecContent
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 AppSpecContent
impl Debug for AppSpecContent
sourceimpl Default for AppSpecContent
impl Default for AppSpecContent
sourcefn default() -> AppSpecContent
fn default() -> AppSpecContent
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for AppSpecContent
impl<'de> Deserialize<'de> for AppSpecContent
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<AppSpecContent> for AppSpecContent
impl PartialEq<AppSpecContent> for AppSpecContent
sourcefn eq(&self, other: &AppSpecContent) -> bool
fn eq(&self, other: &AppSpecContent) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &AppSpecContent) -> bool
fn ne(&self, other: &AppSpecContent) -> bool
This method tests for !=
.
sourceimpl Serialize for AppSpecContent
impl Serialize for AppSpecContent
impl StructuralPartialEq for AppSpecContent
Auto Trait Implementations
impl RefUnwindSafe for AppSpecContent
impl Send for AppSpecContent
impl Sync for AppSpecContent
impl Unpin for AppSpecContent
impl UnwindSafe for AppSpecContent
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