Class CfnChannelFlow
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.chime.CfnChannelFlow
- All Implemented Interfaces:
IInspectable,IChannelFlowRef,IEnvironmentAware,ITaggableV2,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)",
date="2026-09-02T11:03:05.194Z")
@Stability(Stable)
public class CfnChannelFlow
extends CfnResource
implements IInspectable, IChannelFlowRef, ITaggableV2
Creates a channel flow in the Amazon Chime SDK Messaging service.
A channel flow is a container for processors (Lambda functions) that perform actions on chat messages.
Example:
// 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.*;
CfnChannelFlow cfnChannelFlow = CfnChannelFlow.Builder.create(this, "MyCfnChannelFlow")
.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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnChannelFlow.static interfaceStores metadata about a Lambda processor.static interfaceA processor's metadata.static interfaceInformation about a processor in a channel flow.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.chime.IChannelFlowRef
IChannelFlowRef.Jsii$Default, IChannelFlowRef.Jsii$ProxyNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnChannelFlow(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnChannelFlow(software.amazon.jsii.JsiiObjectRef objRef) CfnChannelFlow(software.constructs.Construct scope, String id, CfnChannelFlowProps props) Create a newAWS::Chime::ChannelFlow. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringarnForChannelFlow(IChannelFlowRef resource) The ARN of the app instance.The ID of the app instance, extracted from the channel flow ARN.The ARN of the channel flow.The ID of the channel flow, extracted from the channel flow ARN.The time at which the channel flow was created.The time at which the channel flow was last updated.Tag Manager which manages the tags for this resource.A reference to a ChannelFlow resource.getName()The name of the channel flow.Information about the processor Lambda functions.getTags()The tags for the channel flow.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnChannelFlow.renderProperties(Map<String, Object> props) voidsetAppInstanceArn(String value) The ARN of the app instance.voidThe name of the channel flow.voidsetProcessors(List<Object> value) Information about the processor Lambda functions.voidsetProcessors(IResolvable value) Information about the processor Lambda functions.voidThe tags for the channel flow.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, addResourceDependency, addResourceDependency, applyCrossStackReferenceStrength, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, cfnPropertyName, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, removeDependency, removeResourceDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId, withMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNode, withMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnChannelFlow
protected CfnChannelFlow(software.amazon.jsii.JsiiObjectRef objRef) -
CfnChannelFlow
protected CfnChannelFlow(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnChannelFlow
@Stability(Stable) public CfnChannelFlow(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnChannelFlowProps props) Create a newAWS::Chime::ChannelFlow.- Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties. This parameter is required.
-
-
Method Details
-
arnForChannelFlow
@Stability(Stable) @NotNull public static String arnForChannelFlow(@NotNull IChannelFlowRef resource) - Parameters:
resource- This parameter is required.
-
isCfnChannelFlow
Checks whether the given object is a CfnChannelFlow.- Parameters:
x- This parameter is required.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrAppInstanceId
The ID of the app instance, extracted from the channel flow ARN. -
getAttrArn
The ARN of the channel flow. -
getAttrChannelFlowId
The ID of the channel flow, extracted from the channel flow ARN. -
getAttrCreatedTimestamp
The time at which the channel flow was created. -
getAttrLastUpdatedTimestamp
The time at which the channel flow was last updated. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getCfnPropertyNames
- Overrides:
getCfnPropertyNamesin classCfnResource
-
getChannelFlowRef
A reference to a ChannelFlow resource.- Specified by:
getChannelFlowRefin interfaceIChannelFlowRef
-
getAppInstanceArn
The ARN of the app instance. -
setAppInstanceArn
The ARN of the app instance. -
getName
The name of the channel flow. -
setName
The name of the channel flow. -
getProcessors
Information about the processor Lambda functions.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnChannelFlow.ProcessorProperty> -
setProcessors
Information about the processor Lambda functions. -
setProcessors
Information about the processor Lambda functions. -
getTags
The tags for the channel flow. -
setTags
The tags for the channel flow.
-