CfnChannelFlowProps Struct
Properties for defining a CfnChannelFlow.
| Source | |
|---|---|
| Type last changed |
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 cfnChannelFlowProps: chime.CfnChannelFlowProps = {
appInstanceArn: 'appInstanceArn',
name: 'name',
processors: [{
configuration: {
lambda: {
invocationType: 'invocationType',
resourceArn: 'resourceArn',
},
},
executionOrder: 123,
fallbackAction: 'fallbackAction',
name: 'name',
}],
// the properties below are optional
tags: [{
key: 'key',
value: 'value',
}],
};
python
from aws_cdk import CfnTag
# 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
cfn_channel_flow_props = chime.CfnChannelFlowProps(
app_instance_arn="appInstanceArn",
name="name",
processors=[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"
)],
# the properties below are optional
tags=[CfnTag(
key="key",
value="value"
)]
)
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.*;
CfnChannelFlowProps cfnChannelFlowProps = CfnChannelFlowProps.builder()
.appInstanceArn("appInstanceArn")
.name("name")
.processors(List.of(ProcessorProperty.builder()
.configuration(ProcessorConfigurationProperty.builder()
.lambda(LambdaConfigurationProperty.builder()
.invocationType("invocationType")
.resourceArn("resourceArn")
.build())
.build())
.executionOrder(123)
.fallbackAction("fallbackAction")
.name("name")
.build()))
// the properties below are optional
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.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 cfnChannelFlowProps = new CfnChannelFlowProps {
AppInstanceArn = "appInstanceArn",
Name = "name",
Processors = new [] { new ProcessorProperty {
Configuration = new ProcessorConfigurationProperty {
Lambda = new LambdaConfigurationProperty {
InvocationType = "invocationType",
ResourceArn = "resourceArn"
}
},
ExecutionOrder = 123,
FallbackAction = "fallbackAction",
Name = "name"
} },
// the properties below are optional
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
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"
cfnChannelFlowProps := &CfnChannelFlowProps{
AppInstanceArn: jsii.String("appInstanceArn"),
Name: jsii.String("name"),
Processors: []interface{}{
&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"),
},
},
// the properties below are optional
Tags: []CfnTag{
&CfnTag{
Key: jsii.String("key"),
Value: jsii.String("value"),
},
},
}
Properties
appInstanceArnstringapp_instance_arnstrappInstanceArnStringAppInstanceArnstringAppInstanceArn*string required #The ARN of the app instance.
The name of the channel flow.
processorsIResolvable | IResolvable | CfnChannelFlow.ProcessorProperty[]processorstyping.Union[IResolvable, typing.List[typing.Union[IResolvable, ProcessorProperty]]]processorsIResolvableProcessorsIResolvableProcessorsinterface{} required #Information about the processor Lambda functions.