# CustomInstructionProperty

- Source: Generated at build time
- Type last changed: v2.257.0 · 21 May 2026

## 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 customInstructionProperty: quicksight.CfnDataSet.CustomInstructionProperty = {
  inlineCustomInstruction: {
    instructionText: 'instructionText',

    // the properties below are optional
    uploadedDocumentMetadata: {
      name: 'name',
    },
  },
};
```

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

custom_instruction_property = quicksight.CfnDataSet.CustomInstructionProperty(
    inline_custom_instruction=quicksight.CfnDataSet.InlineCustomInstructionProperty(
        instruction_text="instructionText",

        # the properties below are optional
        uploaded_document_metadata=quicksight.CfnDataSet.UploadedDocumentMetadataProperty(
            name="name"
        )
    )
)
```

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

CustomInstructionProperty customInstructionProperty = CustomInstructionProperty.builder()
        .inlineCustomInstruction(InlineCustomInstructionProperty.builder()
                .instructionText("instructionText")

                // the properties below are optional
                .uploadedDocumentMetadata(UploadedDocumentMetadataProperty.builder()
                        .name("name")
                        .build())
                .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 customInstructionProperty = new CustomInstructionProperty {
    InlineCustomInstruction = new InlineCustomInstructionProperty {
        InstructionText = "instructionText",

        // the properties below are optional
        UploadedDocumentMetadata = new UploadedDocumentMetadataProperty {
            Name = "name"
        }
    }
};
```

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"

customInstructionProperty := &CustomInstructionProperty{
	InlineCustomInstruction: &InlineCustomInstructionProperty{
		InstructionText: jsii.String("instructionText"),

		// the properties below are optional
		UploadedDocumentMetadata: &UploadedDocumentMetadataProperty{
			Name: jsii.String("name"),
		},
	},
}
```

## Properties

- `inlineCustomInstruction`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnDataSet.InlineCustomInstructionProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_quicksight.CfnDataSet.InlineCustomInstructionProperty.html)
