#[non_exhaustive]pub struct EstimateTemplateCostInput {
pub template_body: Option<String>,
pub template_url: Option<String>,
pub parameters: Option<Vec<Parameter>>,
}
Expand description
The input for an EstimateTemplateCost
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 TemplateBody
or TemplateURL
. 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 that's 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.
parameters: Option<Vec<Parameter>>
A list of Parameter
structures that specify input parameters.
Implementations§
source§impl EstimateTemplateCostInput
impl EstimateTemplateCostInput
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 TemplateBody
or TemplateURL
. 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 that's 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.
sourcepub fn parameters(&self) -> &[Parameter]
pub fn parameters(&self) -> &[Parameter]
A list of Parameter
structures that specify input parameters.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .parameters.is_none()
.
source§impl EstimateTemplateCostInput
impl EstimateTemplateCostInput
sourcepub fn builder() -> EstimateTemplateCostInputBuilder
pub fn builder() -> EstimateTemplateCostInputBuilder
Creates a new builder-style object to manufacture EstimateTemplateCostInput
.
Trait Implementations§
source§impl Clone for EstimateTemplateCostInput
impl Clone for EstimateTemplateCostInput
source§fn clone(&self) -> EstimateTemplateCostInput
fn clone(&self) -> EstimateTemplateCostInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for EstimateTemplateCostInput
impl Debug for EstimateTemplateCostInput
source§impl PartialEq for EstimateTemplateCostInput
impl PartialEq for EstimateTemplateCostInput
source§fn eq(&self, other: &EstimateTemplateCostInput) -> bool
fn eq(&self, other: &EstimateTemplateCostInput) -> bool
self
and other
values to be equal, and is used
by ==
.