Struct aws_sdk_greengrassv2::model::LambdaFunctionRecipeSource
source ·
[−]#[non_exhaustive]pub struct LambdaFunctionRecipeSource {
pub lambda_arn: Option<String>,
pub component_name: Option<String>,
pub component_version: Option<String>,
pub component_platforms: Option<Vec<ComponentPlatform>>,
pub component_dependencies: Option<HashMap<String, ComponentDependencyRequirement>>,
pub component_lambda_parameters: Option<LambdaExecutionParameters>,
}
Expand description
Contains information about an Lambda function to import to create a component.
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.lambda_arn: Option<String>
The ARN of the Lambda function. The ARN must include the version of the function to import. You can't use version aliases like $LATEST
.
component_name: Option<String>
The name of the component.
Defaults to the name of the Lambda function.
component_version: Option<String>
The version of the component.
Defaults to the version of the Lambda function as a semantic version. For example, if your function version is 3
, the component version becomes 3.0.0
.
component_platforms: Option<Vec<ComponentPlatform>>
The platforms that the component version supports.
component_dependencies: Option<HashMap<String, ComponentDependencyRequirement>>
The component versions on which this Lambda function component depends.
component_lambda_parameters: Option<LambdaExecutionParameters>
The system and runtime parameters for the Lambda function as it runs on the Greengrass core device.
Implementations
The ARN of the Lambda function. The ARN must include the version of the function to import. You can't use version aliases like $LATEST
.
The name of the component.
Defaults to the name of the Lambda function.
The version of the component.
Defaults to the version of the Lambda function as a semantic version. For example, if your function version is 3
, the component version becomes 3.0.0
.
The platforms that the component version supports.
pub fn component_dependencies(
&self
) -> Option<&HashMap<String, ComponentDependencyRequirement>>
pub fn component_dependencies(
&self
) -> Option<&HashMap<String, ComponentDependencyRequirement>>
The component versions on which this Lambda function component depends.
The system and runtime parameters for the Lambda function as it runs on the Greengrass core device.
Creates a new builder-style object to manufacture LambdaFunctionRecipeSource
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for LambdaFunctionRecipeSource
impl Send for LambdaFunctionRecipeSource
impl Sync for LambdaFunctionRecipeSource
impl Unpin for LambdaFunctionRecipeSource
impl UnwindSafe for LambdaFunctionRecipeSource
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more