Struct aws_sdk_opsworkscm::operation::export_server_engine_attribute::ExportServerEngineAttributeInput
source · #[non_exhaustive]pub struct ExportServerEngineAttributeInput {
pub export_attribute_name: Option<String>,
pub server_name: Option<String>,
pub input_attributes: Option<Vec<EngineAttribute>>,
}
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.export_attribute_name: Option<String>
The name of the export attribute. Currently, the supported export attribute is Userdata
. This exports a user data script that includes parameters and values provided in the InputAttributes
list.
server_name: Option<String>
The name of the server from which you are exporting the attribute.
input_attributes: Option<Vec<EngineAttribute>>
The list of engine attributes. The list type is EngineAttribute
. An EngineAttribute
list item is a pair that includes an attribute name and its value. For the Userdata
ExportAttributeName, the following are supported engine attribute names.
-
RunList In Chef, a list of roles or recipes that are run in the specified order. In Puppet, this parameter is ignored.
-
OrganizationName In Chef, an organization name. AWS OpsWorks for Chef Automate always creates the organization
default
. In Puppet, this parameter is ignored. -
NodeEnvironment In Chef, a node environment (for example, development, staging, or one-box). In Puppet, this parameter is ignored.
-
NodeClientVersion In Chef, the version of the Chef engine (three numbers separated by dots, such as 13.8.5). If this attribute is empty, OpsWorks for Chef Automate uses the most current version. In Puppet, this parameter is ignored.
Implementations§
source§impl ExportServerEngineAttributeInput
impl ExportServerEngineAttributeInput
sourcepub fn export_attribute_name(&self) -> Option<&str>
pub fn export_attribute_name(&self) -> Option<&str>
The name of the export attribute. Currently, the supported export attribute is Userdata
. This exports a user data script that includes parameters and values provided in the InputAttributes
list.
sourcepub fn server_name(&self) -> Option<&str>
pub fn server_name(&self) -> Option<&str>
The name of the server from which you are exporting the attribute.
sourcepub fn input_attributes(&self) -> &[EngineAttribute]
pub fn input_attributes(&self) -> &[EngineAttribute]
The list of engine attributes. The list type is EngineAttribute
. An EngineAttribute
list item is a pair that includes an attribute name and its value. For the Userdata
ExportAttributeName, the following are supported engine attribute names.
-
RunList In Chef, a list of roles or recipes that are run in the specified order. In Puppet, this parameter is ignored.
-
OrganizationName In Chef, an organization name. AWS OpsWorks for Chef Automate always creates the organization
default
. In Puppet, this parameter is ignored. -
NodeEnvironment In Chef, a node environment (for example, development, staging, or one-box). In Puppet, this parameter is ignored.
-
NodeClientVersion In Chef, the version of the Chef engine (three numbers separated by dots, such as 13.8.5). If this attribute is empty, OpsWorks for Chef Automate uses the most current version. In Puppet, this parameter is ignored.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .input_attributes.is_none()
.
source§impl ExportServerEngineAttributeInput
impl ExportServerEngineAttributeInput
sourcepub fn builder() -> ExportServerEngineAttributeInputBuilder
pub fn builder() -> ExportServerEngineAttributeInputBuilder
Creates a new builder-style object to manufacture ExportServerEngineAttributeInput
.
Trait Implementations§
source§impl Clone for ExportServerEngineAttributeInput
impl Clone for ExportServerEngineAttributeInput
source§fn clone(&self) -> ExportServerEngineAttributeInput
fn clone(&self) -> ExportServerEngineAttributeInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for ExportServerEngineAttributeInput
impl PartialEq for ExportServerEngineAttributeInput
source§fn eq(&self, other: &ExportServerEngineAttributeInput) -> bool
fn eq(&self, other: &ExportServerEngineAttributeInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ExportServerEngineAttributeInput
Auto Trait Implementations§
impl Freeze for ExportServerEngineAttributeInput
impl RefUnwindSafe for ExportServerEngineAttributeInput
impl Send for ExportServerEngineAttributeInput
impl Sync for ExportServerEngineAttributeInput
impl Unpin for ExportServerEngineAttributeInput
impl UnwindSafe for ExportServerEngineAttributeInput
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