Class CfnPromptVersionPropsMixin
Creates a static snapshot of your prompt that can be deployed to production.
Implements
Inherited Members
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.
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 |
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.
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.
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
Remarks
For more information, see Deploy prompts using Prompt management by creating versions in the Amazon Bedrock User Guide.
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
Remarks
For more information, see Deploy prompts using Prompt management by creating versions in the Amazon Bedrock User Guide.
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
Remarks
For more information, see Deploy prompts using Prompt management by creating versions in the Amazon Bedrock User Guide.
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
Overrides
Remarks
For more information, see Deploy prompts using Prompt management by creating versions in the Amazon Bedrock User Guide.
CloudformationResource: AWS::Bedrock::PromptVersion
Mixin: true
ExampleMetadata: fixture=_generated