# FlowConnectionProperty

Contains information about a connection between two nodes in the flow.

- Source: Generated code
- Type last changed: v2.154.0 · 22 Aug 2024

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bedrock as bedrock } from 'aws-cdk-lib';
const flowConnectionProperty: bedrock.CfnFlowVersion.FlowConnectionProperty = {
  name: 'name',
  source: 'source',
  target: 'target',
  type: 'type',

  // the properties below are optional
  configuration: {
    conditional: {
      condition: 'condition',
    },
    data: {
      sourceOutput: 'sourceOutput',
      targetInput: 'targetInput',
    },
  },
};
```

## Properties

- `configuration`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnFlowVersion.FlowConnectionConfigurationProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_bedrock.CfnFlowVersion.FlowConnectionConfigurationProperty.html) — The configuration of the connection.

- `name`: string (required) — A name for the connection that you can reference.

- `source`: string (required) — The node that the connection starts at.

- `target`: string (required) — The node that the connection ends at.

- `type`: string (required) — Whether the source node that the connection begins from is a condition node ( `Conditional` ) or not ( `Data` ).
