Skip to content
v2.278.0

ProcessorProperty Struct ​

Information about a processor in a channel flow.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_chime as chime } from 'aws-cdk-lib';
const processorProperty: chime.CfnChannelFlow.ProcessorProperty = {
  configuration: {
    lambda: {
      invocationType: 'invocationType',
      resourceArn: 'resourceArn',
    },
  },
  executionOrder: 123,
  fallbackAction: 'fallbackAction',
  name: 'name',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_chime as chime

processor_property = chime.CfnChannelFlow.ProcessorProperty(
    configuration=chime.CfnChannelFlow.ProcessorConfigurationProperty(
        lambda_=chime.CfnChannelFlow.LambdaConfigurationProperty(
            invocation_type="invocationType",
            resource_arn="resourceArn"
        )
    ),
    execution_order=123,
    fallback_action="fallbackAction",
    name="name"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.chime.*;

ProcessorProperty processorProperty = ProcessorProperty.builder()
        .configuration(ProcessorConfigurationProperty.builder()
                .lambda(LambdaConfigurationProperty.builder()
                        .invocationType("invocationType")
                        .resourceArn("resourceArn")
                        .build())
                .build())
        .executionOrder(123)
        .fallbackAction("fallbackAction")
        .name("name")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Chime;

var processorProperty = new ProcessorProperty {
    Configuration = new ProcessorConfigurationProperty {
        Lambda = new LambdaConfigurationProperty {
            InvocationType = "invocationType",
            ResourceArn = "resourceArn"
        }
    },
    ExecutionOrder = 123,
    FallbackAction = "fallbackAction",
    Name = "name"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

processorProperty := &ProcessorProperty{
	Configuration: &ProcessorConfigurationProperty{
		Lambda: &LambdaConfigurationProperty{
			InvocationType: jsii.String("invocationType"),
			ResourceArn: jsii.String("resourceArn"),
		},
	},
	ExecutionOrder: jsii.Number(123),
	FallbackAction: jsii.String("fallbackAction"),
	Name: jsii.String("name"),
}

Properties ​

configurationIResolvable | CfnChannelFlow.ProcessorConfigurationPropertyconfigurationtyping.Union[IResolvable, ProcessorConfigurationProperty]configurationIResolvableConfigurationIResolvableConfigurationinterface{} required #
A processor's metadata.
executionOrdernumberexecution_orderint | floatexecutionOrderNumberExecutionOrderdoubleExecutionOrder*float64 required #
The sequence in which processors run.
fallbackActionstringfallback_actionstrfallbackActionStringFallbackActionstringFallbackAction*string required #
Determines whether to continue or stop processing when communication with a processor fails.
namestringnamestrnameStringNamestringName*string required #
The name of the processor.