Show / Hide Table of Contents

Class CfnPromptVersionPropsMixin

Creates a static snapshot of your prompt that can be deployed to production.

Inheritance
object
Mixin
CfnPromptVersionPropsMixin
Implements
IMixin
Inherited Members
Mixin.IsMixin(object)
Namespace: Amazon.CDK.Mixins.Preview.AWS.Bedrock.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnPromptVersionPropsMixin : Mixin, IMixin
Syntax (vb)
Public Class CfnPromptVersionPropsMixin Inherits Mixin Implements IMixin
Remarks

For more information, see Deploy prompts using Prompt management by creating versions in the Amazon Bedrock User Guide.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-promptversion.html

CloudformationResource: AWS::Bedrock::PromptVersion

Mixin: true

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.Mixins.Preview.Mixins;
             using Amazon.CDK.Mixins.Preview.AWS.Bedrock.Mixins;

             var cfnPromptVersionPropsMixin = new CfnPromptVersionPropsMixin(new CfnPromptVersionMixinProps {
                 Description = "description",
                 PromptArn = "promptArn",
                 Tags = new Dictionary<string, string> {
                     { "tagsKey", "tags" }
                 }
             }, new CfnPropertyMixinOptions {
                 Strategy = PropertyMergeStrategy.OVERRIDE
             });

Synopsis

Constructors

CfnPromptVersionPropsMixin(ICfnPromptVersionMixinProps, ICfnPropertyMixinOptions?)

Create a mixin to apply properties to AWS::Bedrock::PromptVersion.

Properties

CFN_PROPERTY_KEYS

Creates a static snapshot of your prompt that can be deployed to production.

Props

Creates a static snapshot of your prompt that can be deployed to production.

Strategy

Creates a static snapshot of your prompt that can be deployed to production.

Methods

ApplyTo(IConstruct)

Apply the mixin properties to the construct.

Supports(IConstruct)

Check if this mixin supports the given construct.

Constructors

CfnPromptVersionPropsMixin(ICfnPromptVersionMixinProps, ICfnPropertyMixinOptions?)

Create a mixin to apply properties to AWS::Bedrock::PromptVersion.

public CfnPromptVersionPropsMixin(ICfnPromptVersionMixinProps props, ICfnPropertyMixinOptions? options = null)
Parameters
props ICfnPromptVersionMixinProps

L1 properties to apply.

options ICfnPropertyMixinOptions

Mixin options.

Remarks

For more information, see Deploy prompts using Prompt management by creating versions in the Amazon Bedrock User Guide.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-promptversion.html

CloudformationResource: AWS::Bedrock::PromptVersion

Mixin: true

ExampleMetadata: fixture=_generated

Properties

CFN_PROPERTY_KEYS

Creates a static snapshot of your prompt that can be deployed to production.

protected static string[] CFN_PROPERTY_KEYS { get; }
Property Value

string[]

Remarks

For more information, see Deploy prompts using Prompt management by creating versions in the Amazon Bedrock User Guide.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-promptversion.html

CloudformationResource: AWS::Bedrock::PromptVersion

Mixin: true

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.Mixins.Preview.Mixins;
             using Amazon.CDK.Mixins.Preview.AWS.Bedrock.Mixins;

             var cfnPromptVersionPropsMixin = new CfnPromptVersionPropsMixin(new CfnPromptVersionMixinProps {
                 Description = "description",
                 PromptArn = "promptArn",
                 Tags = new Dictionary<string, string> {
                     { "tagsKey", "tags" }
                 }
             }, new CfnPropertyMixinOptions {
                 Strategy = PropertyMergeStrategy.OVERRIDE
             });

Props

Creates a static snapshot of your prompt that can be deployed to production.

protected virtual ICfnPromptVersionMixinProps Props { get; }
Property Value

ICfnPromptVersionMixinProps

Remarks

For more information, see Deploy prompts using Prompt management by creating versions in the Amazon Bedrock User Guide.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-promptversion.html

CloudformationResource: AWS::Bedrock::PromptVersion

Mixin: true

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.Mixins.Preview.Mixins;
             using Amazon.CDK.Mixins.Preview.AWS.Bedrock.Mixins;

             var cfnPromptVersionPropsMixin = new CfnPromptVersionPropsMixin(new CfnPromptVersionMixinProps {
                 Description = "description",
                 PromptArn = "promptArn",
                 Tags = new Dictionary<string, string> {
                     { "tagsKey", "tags" }
                 }
             }, new CfnPropertyMixinOptions {
                 Strategy = PropertyMergeStrategy.OVERRIDE
             });

Strategy

Creates a static snapshot of your prompt that can be deployed to production.

protected virtual PropertyMergeStrategy Strategy { get; }
Property Value

PropertyMergeStrategy

Remarks

For more information, see Deploy prompts using Prompt management by creating versions in the Amazon Bedrock User Guide.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-promptversion.html

CloudformationResource: AWS::Bedrock::PromptVersion

Mixin: true

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.Mixins.Preview.Mixins;
             using Amazon.CDK.Mixins.Preview.AWS.Bedrock.Mixins;

             var cfnPromptVersionPropsMixin = new CfnPromptVersionPropsMixin(new CfnPromptVersionMixinProps {
                 Description = "description",
                 PromptArn = "promptArn",
                 Tags = new Dictionary<string, string> {
                     { "tagsKey", "tags" }
                 }
             }, new CfnPropertyMixinOptions {
                 Strategy = PropertyMergeStrategy.OVERRIDE
             });

Methods

ApplyTo(IConstruct)

Apply the mixin properties to the construct.

public override IConstruct ApplyTo(IConstruct construct)
Parameters
construct IConstruct
Returns

IConstruct

Overrides
Mixin.ApplyTo(IConstruct)
Remarks

For more information, see Deploy prompts using Prompt management by creating versions in the Amazon Bedrock User Guide.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-promptversion.html

CloudformationResource: AWS::Bedrock::PromptVersion

Mixin: true

ExampleMetadata: fixture=_generated

Supports(IConstruct)

Check if this mixin supports the given construct.

public override bool Supports(IConstruct construct)
Parameters
construct IConstruct
Returns

bool

Overrides
Mixin.Supports(IConstruct)
Remarks

For more information, see Deploy prompts using Prompt management by creating versions in the Amazon Bedrock User Guide.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-promptversion.html

CloudformationResource: AWS::Bedrock::PromptVersion

Mixin: true

ExampleMetadata: fixture=_generated

Implements

IMixin
Back to top Generated by DocFX