Skip to content
v2.277.0

SheetTextBoxProperty Struct ​

A text box.

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 sheetTextBoxProperty: quicksight.CfnTemplate.SheetTextBoxProperty = {
  sheetTextBoxId: 'sheetTextBoxId',

  // the properties below are optional
  content: 'content',
};
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

sheet_text_box_property = quicksight.CfnTemplate.SheetTextBoxProperty(
    sheet_text_box_id="sheetTextBoxId",

    # the properties below are optional
    content="content"
)
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.*;

SheetTextBoxProperty sheetTextBoxProperty = SheetTextBoxProperty.builder()
        .sheetTextBoxId("sheetTextBoxId")

        // the properties below are optional
        .content("content")
        .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 sheetTextBoxProperty = new SheetTextBoxProperty {
    SheetTextBoxId = "sheetTextBoxId",

    // the properties below are optional
    Content = "content"
};
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"

sheetTextBoxProperty := &SheetTextBoxProperty{
	SheetTextBoxId: jsii.String("sheetTextBoxId"),

	// the properties below are optional
	Content: jsii.String("content"),
}

Properties ​

contentoptionalstringcontentoptionalstrcontentoptionalStringContentoptionalstringContentoptional*string#
The content that is displayed in the text box.
sheetTextBoxIdstringsheet_text_box_idstrsheetTextBoxIdStringSheetTextBoxIdstringSheetTextBoxId*stringrequired#
The unique identifier for a text box.

This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have text boxes that share identifiers.