#[non_exhaustive]pub struct ValidateTemplateInput {
pub template_body: Option<String>,
pub template_url: Option<String>,
}
Expand description
The input for ValidateTemplate
action.
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.template_body: Option<String>
Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. For more information, go to Template Anatomy in the CloudFormation User Guide.
Conditional: You must pass TemplateURL
or TemplateBody
. If both are passed, only TemplateBody
is used.
template_url: Option<String>
Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) that is located in an Amazon S3 bucket or a Systems Manager document. For more information, go to Template Anatomy in the CloudFormation User Guide. The location for an Amazon S3 bucket must start with https://
.
Conditional: You must pass TemplateURL
or TemplateBody
. If both are passed, only TemplateBody
is used.
Implementations§
source§impl ValidateTemplateInput
impl ValidateTemplateInput
sourcepub fn template_body(&self) -> Option<&str>
pub fn template_body(&self) -> Option<&str>
Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. For more information, go to Template Anatomy in the CloudFormation User Guide.
Conditional: You must pass TemplateURL
or TemplateBody
. If both are passed, only TemplateBody
is used.
sourcepub fn template_url(&self) -> Option<&str>
pub fn template_url(&self) -> Option<&str>
Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) that is located in an Amazon S3 bucket or a Systems Manager document. For more information, go to Template Anatomy in the CloudFormation User Guide. The location for an Amazon S3 bucket must start with https://
.
Conditional: You must pass TemplateURL
or TemplateBody
. If both are passed, only TemplateBody
is used.
source§impl ValidateTemplateInput
impl ValidateTemplateInput
sourcepub fn builder() -> ValidateTemplateInputBuilder
pub fn builder() -> ValidateTemplateInputBuilder
Creates a new builder-style object to manufacture ValidateTemplateInput
.
Trait Implementations§
source§impl Clone for ValidateTemplateInput
impl Clone for ValidateTemplateInput
source§fn clone(&self) -> ValidateTemplateInput
fn clone(&self) -> ValidateTemplateInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ValidateTemplateInput
impl Debug for ValidateTemplateInput
source§impl PartialEq for ValidateTemplateInput
impl PartialEq for ValidateTemplateInput
source§fn eq(&self, other: &ValidateTemplateInput) -> bool
fn eq(&self, other: &ValidateTemplateInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ValidateTemplateInput
Auto Trait Implementations§
impl Freeze for ValidateTemplateInput
impl RefUnwindSafe for ValidateTemplateInput
impl Send for ValidateTemplateInput
impl Sync for ValidateTemplateInput
impl Unpin for ValidateTemplateInput
impl UnwindSafe for ValidateTemplateInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more