Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FunctionParameterLink ¶
func FunctionParameterLink( iamServiceFactory pluginutils.ServiceFactory[*aws.Config, iamservice.Service], ec2ServiceFactory pluginutils.ServiceFactory[*aws.Config, ec2service.Service], ) func(FunctionToParameterLinkDeps) provider.Link
FunctionParameterLink returns a link implementation for a link from a Lambda function to an SSM parameter. The Lambda function is granted access to the parameter and, optionally, an environment variable referencing the parameter name. When the function is VPC-isolated, an SSM interface VPC endpoint is activated on the linked flex VPC.
Types ¶
type FunctionToParameterLinkDeps ¶
type FunctionToParameterLinkDeps pluginutils.LinkServiceDeps[ *aws.Config, lambdaservice.Service, *aws.Config, ssmservice.Service, ]
FunctionToParameterLinkDeps is a type alias for the core dependencies for a link from a Lambda function to an SSM parameter. The parameter is hand-written (SDK-backed), so resource B's service is the SSM service; the link only reads the parameter name and ARN from state and does not call it.
Click to show internal directories.
Click to hide internal directories.