Skip to content
v2.278.0

CustomInstructionProperty Struct ​

Example ​

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
# 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
// 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();
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"
        }
    }
};
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 ​

inlineCustomInstructionoptionalIResolvable | CfnDataSet.InlineCustomInstructionPropertyinline_custom_instructionoptionaltyping.Union[IResolvable, InlineCustomInstructionProperty]inlineCustomInstructionoptionalIResolvableInlineCustomInstructionoptionalIResolvableInlineCustomInstructionoptionalinterface{} #