Skip to content
v2.278.0

QuickResponseContentsProperty ​

Struct External

The content of the quick response stored in different media types.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_wisdom as wisdom } from 'aws-cdk-lib';
const quickResponseContentsProperty: wisdom.CfnQuickResponse.QuickResponseContentsProperty = {
  markdown: {
    content: 'content',
  },
  plainText: {
    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_wisdom as wisdom

quick_response_contents_property = wisdom.CfnQuickResponse.QuickResponseContentsProperty(
    markdown=wisdom.CfnQuickResponse.QuickResponseContentProviderProperty(
        content="content"
    ),
    plain_text=wisdom.CfnQuickResponse.QuickResponseContentProviderProperty(
        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.wisdom.*;

QuickResponseContentsProperty quickResponseContentsProperty = QuickResponseContentsProperty.builder()
        .markdown(QuickResponseContentProviderProperty.builder()
                .content("content")
                .build())
        .plainText(QuickResponseContentProviderProperty.builder()
                .content("content")
                .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.Wisdom;

var quickResponseContentsProperty = new QuickResponseContentsProperty {
    Markdown = new QuickResponseContentProviderProperty {
        Content = "content"
    },
    PlainText = new QuickResponseContentProviderProperty {
        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"

quickResponseContentsProperty := &QuickResponseContentsProperty{
	Markdown: &QuickResponseContentProviderProperty{
		Content: jsii.String("content"),
	},
	PlainText: &QuickResponseContentProviderProperty{
		Content: jsii.String("content"),
	},
}

Properties ​

markdownoptionalIResolvable | CfnQuickResponse.QuickResponseContentProviderPropertymarkdownoptionaltyping.Union[IResolvable, QuickResponseContentProviderProperty]markdownoptionalIResolvableMarkdownoptionalIResolvableMarkdownoptionalinterface{} #
The quick response content in markdown format.
plainTextoptionalIResolvable | CfnQuickResponse.QuickResponseContentProviderPropertyplain_textoptionaltyping.Union[IResolvable, QuickResponseContentProviderProperty]plainTextoptionalIResolvablePlainTextoptionalIResolvablePlainTextoptionalinterface{} #
The quick response content in plaintext format.