Show / Hide Table of Contents

Class CfnPromptPropsMixin.ContentBlockProperty

A block of content for a message that you pass to, or receive from, a model with the Converse or ConverseStream API operations.

Inheritance
object
CfnPromptPropsMixin.ContentBlockProperty
Implements
CfnPromptPropsMixin.IContentBlockProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.Bedrock
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnPromptPropsMixin.ContentBlockProperty : CfnPromptPropsMixin.IContentBlockProperty
Syntax (vb)
Public Class CfnPromptPropsMixin.ContentBlockProperty Implements CfnPromptPropsMixin.IContentBlockProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-prompt-contentblock.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.CfnPropertyMixins.AWS.Bedrock;

             var contentBlockProperty = new ContentBlockProperty {
                 CachePoint = new CachePointBlockProperty {
                     Type = "type"
                 },
                 Text = "text"
             };

Synopsis

Constructors

ContentBlockProperty()

A block of content for a message that you pass to, or receive from, a model with the Converse or ConverseStream API operations.

Properties

CachePoint

CachePoint to include in the message.

Text

Text to include in the message.

Constructors

ContentBlockProperty()

A block of content for a message that you pass to, or receive from, a model with the Converse or ConverseStream API operations.

public ContentBlockProperty()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-prompt-contentblock.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.CfnPropertyMixins.AWS.Bedrock;

             var contentBlockProperty = new ContentBlockProperty {
                 CachePoint = new CachePointBlockProperty {
                     Type = "type"
                 },
                 Text = "text"
             };

Properties

CachePoint

CachePoint to include in the message.

public object? CachePoint { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-prompt-contentblock.html#cfn-bedrock-prompt-contentblock-cachepoint

Type union: either IResolvable or CfnPromptPropsMixin.ICachePointBlockProperty

Text

Text to include in the message.

public string? Text { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-prompt-contentblock.html#cfn-bedrock-prompt-contentblock-text

Implements

CfnPromptPropsMixin.IContentBlockProperty
Back to top Generated by DocFX