Struct aws_sdk_greengrassv2::model::lambda_function_recipe_source::Builder [−][src]
#[non_exhaustive]pub struct Builder { /* fields omitted */ }
Expand description
A builder for LambdaFunctionRecipeSource
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 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 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 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
.
Appends an item to component_platforms
.
To override the contents of this collection use set_component_platforms
.
The platforms that the component version supports.
The platforms that the component version supports.
pub fn component_dependencies(
self,
k: impl Into<String>,
v: impl Into<ComponentDependencyRequirement>
) -> Self
pub fn component_dependencies(
self,
k: impl Into<String>,
v: impl Into<ComponentDependencyRequirement>
) -> Self
Adds a key-value pair to component_dependencies
.
To override the contents of this collection use set_component_dependencies
.
The component versions on which this Lambda function component depends.
pub fn set_component_dependencies(
self,
input: Option<HashMap<String, ComponentDependencyRequirement>>
) -> Self
pub fn set_component_dependencies(
self,
input: Option<HashMap<String, ComponentDependencyRequirement>>
) -> Self
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.
pub fn set_component_lambda_parameters(
self,
input: Option<LambdaExecutionParameters>
) -> Self
pub fn set_component_lambda_parameters(
self,
input: Option<LambdaExecutionParameters>
) -> Self
The system and runtime parameters for the Lambda function as it runs on the Greengrass core device.
Consumes the builder and constructs a LambdaFunctionRecipeSource
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl UnwindSafe for Builder
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