# JoinInstructionProperty

The instructions associated with a join.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_quicksight as quicksight } from 'aws-cdk-lib';
const joinInstructionProperty: quicksight.CfnDataSet.JoinInstructionProperty = {
  leftOperand: 'leftOperand',
  onClause: 'onClause',
  rightOperand: 'rightOperand',
  type: 'type',

  // the properties below are optional
  leftJoinKeyProperties: {
    uniqueKey: false,
  },
  rightJoinKeyProperties: {
    uniqueKey: false,
  },
};
```

Python:

```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_quicksight as quicksight

join_instruction_property = quicksight.CfnDataSet.JoinInstructionProperty(
    left_operand="leftOperand",
    on_clause="onClause",
    right_operand="rightOperand",
    type="type",

    # the properties below are optional
    left_join_key_properties=quicksight.CfnDataSet.JoinKeyPropertiesProperty(
        unique_key=False
    ),
    right_join_key_properties=quicksight.CfnDataSet.JoinKeyPropertiesProperty(
        unique_key=False
    )
)
```

Java:

```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.quicksight.*;

JoinInstructionProperty joinInstructionProperty = JoinInstructionProperty.builder()
        .leftOperand("leftOperand")
        .onClause("onClause")
        .rightOperand("rightOperand")
        .type("type")

        // the properties below are optional
        .leftJoinKeyProperties(JoinKeyPropertiesProperty.builder()
                .uniqueKey(false)
                .build())
        .rightJoinKeyProperties(JoinKeyPropertiesProperty.builder()
                .uniqueKey(false)
                .build())
        .build();
```

C# / .NET:

```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.QuickSight;

var joinInstructionProperty = new JoinInstructionProperty {
    LeftOperand = "leftOperand",
    OnClause = "onClause",
    RightOperand = "rightOperand",
    Type = "type",

    // the properties below are optional
    LeftJoinKeyProperties = new JoinKeyPropertiesProperty {
        UniqueKey = false
    },
    RightJoinKeyProperties = new JoinKeyPropertiesProperty {
        UniqueKey = false
    }
};
```

Golang:

```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"

joinInstructionProperty := &JoinInstructionProperty{
	LeftOperand: jsii.String("leftOperand"),
	OnClause: jsii.String("onClause"),
	RightOperand: jsii.String("rightOperand"),
	Type: jsii.String("type"),

	// the properties below are optional
	LeftJoinKeyProperties: &JoinKeyPropertiesProperty{
		UniqueKey: jsii.Boolean(false),
	},
	RightJoinKeyProperties: &JoinKeyPropertiesProperty{
		UniqueKey: jsii.Boolean(false),
	},
}
```

## Properties

- `leftJoinKeyProperties`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnDataSet.JoinKeyPropertiesProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_quicksight.CfnDataSet.JoinKeyPropertiesProperty.html) — Join key properties of the left operand.

- `leftOperand`: string (required) — The operand on the left side of a join.

- `onClause`: string (required) — The join instructions provided in the `ON` clause of a join.

- `rightJoinKeyProperties`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnDataSet.JoinKeyPropertiesProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_quicksight.CfnDataSet.JoinKeyPropertiesProperty.html) — Join key properties of the right operand.

- `rightOperand`: string (required) — The operand on the right side of a join.

- `type`: string (required) — The type of join that it is.
