Documentation ¶
Overview ¶
The CDK Construct Library for Amazon EventBridge Pipes Enrichments
Index ¶
- func NewLambdaEnrichment_Override(l LambdaEnrichment, lambda awslambda.IFunction, props *LambdaEnrichmentProps)
- func NewStepFunctionsEnrichment_Override(s StepFunctionsEnrichment, stateMachine awsstepfunctions.IStateMachine, ...)
- type LambdaEnrichment
- type LambdaEnrichmentProps
- type StepFunctionsEnrichment
- type StepFunctionsEnrichmentProps
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewLambdaEnrichment_Override ¶
func NewLambdaEnrichment_Override(l LambdaEnrichment, lambda awslambda.IFunction, props *LambdaEnrichmentProps)
Experimental.
func NewStepFunctionsEnrichment_Override ¶
func NewStepFunctionsEnrichment_Override(s StepFunctionsEnrichment, stateMachine awsstepfunctions.IStateMachine, props *StepFunctionsEnrichmentProps)
Experimental.
Types ¶
type LambdaEnrichment ¶
type LambdaEnrichment interface { awscdkpipesalpha.IEnrichment // The ARN of the enrichment resource. // // Length Constraints: Minimum length of 0. Maximum length of 1600. // Experimental. EnrichmentArn() *string // Bind this enrichment to a pipe. // Experimental. Bind(pipe awscdkpipesalpha.IPipe) *awscdkpipesalpha.EnrichmentParametersConfig // Grant the pipes role to invoke the enrichment. // Experimental. GrantInvoke(pipeRole awsiam.IRole) }
A Lambda enrichment for a pipe.
Example:
var sourceQueue queue var targetQueue queue var enrichmentFunction function enrichment := enrichments.NewLambdaEnrichment(enrichmentFunction) pipe := pipes.NewPipe(this, jsii.String("Pipe"), &PipeProps{ Source: NewSomeSource(sourceQueue), Enrichment: Enrichment, Target: NewSomeTarget(targetQueue), })
Experimental.
func NewLambdaEnrichment ¶
func NewLambdaEnrichment(lambda awslambda.IFunction, props *LambdaEnrichmentProps) LambdaEnrichment
Experimental.
type LambdaEnrichmentProps ¶
type LambdaEnrichmentProps struct { // The input transformation for the enrichment. // See: https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-pipes-input-transformation.html // // Default: - None. // // Experimental. InputTransformation awscdkpipesalpha.InputTransformation `field:"optional" json:"inputTransformation" yaml:"inputTransformation"` }
Properties for a LambdaEnrichment.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import pipes_alpha "github.com/aws/aws-cdk-go/awscdkpipesalpha" import pipes_enrichments_alpha "github.com/aws/aws-cdk-go/awscdkpipesenrichmentsalpha" var inputTransformation inputTransformation lambdaEnrichmentProps := &LambdaEnrichmentProps{ InputTransformation: inputTransformation, }
Experimental.
type StepFunctionsEnrichment ¶
type StepFunctionsEnrichment interface { awscdkpipesalpha.IEnrichment // The ARN of the enrichment resource. // // Length Constraints: Minimum length of 0. Maximum length of 1600. // Experimental. EnrichmentArn() *string // Bind this enrichment to a pipe. // Experimental. Bind(pipe awscdkpipesalpha.IPipe) *awscdkpipesalpha.EnrichmentParametersConfig // Grant the pipes role to invoke the enrichment. // Experimental. GrantInvoke(pipeRole awsiam.IRole) }
A StepFunctions enrichment for a pipe.
Example:
var sourceQueue queue var targetQueue queue var enrichmentStateMachine stateMachine enrichment := enrichments.NewStepFunctionsEnrichment(enrichmentStateMachine) pipe := pipes.NewPipe(this, jsii.String("Pipe"), &PipeProps{ Source: NewSomeSource(sourceQueue), Enrichment: Enrichment, Target: NewSomeTarget(targetQueue), })
Experimental.
func NewStepFunctionsEnrichment ¶
func NewStepFunctionsEnrichment(stateMachine awsstepfunctions.IStateMachine, props *StepFunctionsEnrichmentProps) StepFunctionsEnrichment
Experimental.
type StepFunctionsEnrichmentProps ¶
type StepFunctionsEnrichmentProps struct { // The input transformation for the enrichment. // See: https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-pipes-input-transformation.html // // Default: - None. // // Experimental. InputTransformation awscdkpipesalpha.InputTransformation `field:"optional" json:"inputTransformation" yaml:"inputTransformation"` }
Properties for a StepFunctionsEnrichment.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import pipes_alpha "github.com/aws/aws-cdk-go/awscdkpipesalpha" import pipes_enrichments_alpha "github.com/aws/aws-cdk-go/awscdkpipesenrichmentsalpha" var inputTransformation inputTransformation stepFunctionsEnrichmentProps := &StepFunctionsEnrichmentProps{ InputTransformation: inputTransformation, }
Experimental.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.