#[non_exhaustive]pub struct CreateSystemInstanceInput {
pub tags: Option<Vec<Tag>>,
pub definition: Option<DefinitionDocument>,
pub target: Option<DeploymentTarget>,
pub greengrass_group_name: Option<String>,
pub s3_bucket_name: Option<String>,
pub metrics_configuration: Option<MetricsConfiguration>,
pub flow_actions_role_arn: Option<String>,
}
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.Metadata, consisting of key-value pairs, that can be used to categorize your system instances.
definition: Option<DefinitionDocument>
A document that defines an entity.
target: Option<DeploymentTarget>
The target type of the deployment. Valid values are GREENGRASS
and CLOUD
.
greengrass_group_name: Option<String>
The name of the Greengrass group where the system instance will be deployed. This value is required if the value of the target
parameter is GREENGRASS
.
s3_bucket_name: Option<String>
The name of the Amazon Simple Storage Service bucket that will be used to store and deploy the system instance's resource file. This value is required if the value of the target
parameter is GREENGRASS
.
metrics_configuration: Option<MetricsConfiguration>
An object that specifies whether cloud metrics are collected in a deployment and, if so, what role is used to collect metrics.
flow_actions_role_arn: Option<String>
The ARN of the IAM role that AWS IoT Things Graph will assume when it executes the flow. This role must have read and write access to AWS Lambda and AWS IoT and any other AWS services that the flow uses when it executes. This value is required if the value of the target
parameter is CLOUD
.
Implementations§
source§impl CreateSystemInstanceInput
impl CreateSystemInstanceInput
Metadata, consisting of key-value pairs, that can be used to categorize your system instances.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none()
.
sourcepub fn definition(&self) -> Option<&DefinitionDocument>
pub fn definition(&self) -> Option<&DefinitionDocument>
A document that defines an entity.
sourcepub fn target(&self) -> Option<&DeploymentTarget>
pub fn target(&self) -> Option<&DeploymentTarget>
The target type of the deployment. Valid values are GREENGRASS
and CLOUD
.
sourcepub fn greengrass_group_name(&self) -> Option<&str>
pub fn greengrass_group_name(&self) -> Option<&str>
The name of the Greengrass group where the system instance will be deployed. This value is required if the value of the target
parameter is GREENGRASS
.
sourcepub fn s3_bucket_name(&self) -> Option<&str>
pub fn s3_bucket_name(&self) -> Option<&str>
The name of the Amazon Simple Storage Service bucket that will be used to store and deploy the system instance's resource file. This value is required if the value of the target
parameter is GREENGRASS
.
sourcepub fn metrics_configuration(&self) -> Option<&MetricsConfiguration>
pub fn metrics_configuration(&self) -> Option<&MetricsConfiguration>
An object that specifies whether cloud metrics are collected in a deployment and, if so, what role is used to collect metrics.
sourcepub fn flow_actions_role_arn(&self) -> Option<&str>
pub fn flow_actions_role_arn(&self) -> Option<&str>
The ARN of the IAM role that AWS IoT Things Graph will assume when it executes the flow. This role must have read and write access to AWS Lambda and AWS IoT and any other AWS services that the flow uses when it executes. This value is required if the value of the target
parameter is CLOUD
.
source§impl CreateSystemInstanceInput
impl CreateSystemInstanceInput
sourcepub fn builder() -> CreateSystemInstanceInputBuilder
pub fn builder() -> CreateSystemInstanceInputBuilder
Creates a new builder-style object to manufacture CreateSystemInstanceInput
.
Trait Implementations§
source§impl Clone for CreateSystemInstanceInput
impl Clone for CreateSystemInstanceInput
source§fn clone(&self) -> CreateSystemInstanceInput
fn clone(&self) -> CreateSystemInstanceInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateSystemInstanceInput
impl Debug for CreateSystemInstanceInput
source§impl PartialEq for CreateSystemInstanceInput
impl PartialEq for CreateSystemInstanceInput
source§fn eq(&self, other: &CreateSystemInstanceInput) -> bool
fn eq(&self, other: &CreateSystemInstanceInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateSystemInstanceInput
Auto Trait Implementations§
impl Freeze for CreateSystemInstanceInput
impl RefUnwindSafe for CreateSystemInstanceInput
impl Send for CreateSystemInstanceInput
impl Sync for CreateSystemInstanceInput
impl Unpin for CreateSystemInstanceInput
impl UnwindSafe for CreateSystemInstanceInput
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