Class CfnFlowVersion
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.bedrock.CfnFlowVersion
- All Implemented Interfaces:
IInspectable,IFlowVersionRef,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-24T13:34:32.368Z")
@Stability(Stable)
public class CfnFlowVersion
extends CfnResource
implements IInspectable, IFlowVersionRef
Creates a version of the flow that you can deploy.
For more information, see Deploy a flow in Amazon Bedrock in the Amazon Bedrock User Guide.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.bedrock.*;
CfnFlowVersion cfnFlowVersion = CfnFlowVersion.Builder.create(this, "MyCfnFlowVersion")
.flowArn("flowArn")
// the properties below are optional
.description("description")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceDefines an agent node in your flow.static final classA fluent builder forCfnFlowVersion.static interfaceDefines a condition node in your flow.static interfaceSpecifies a field to be used during the reranking process in a Knowledge Base vector search.static interfaceThe configuration of a connection between a condition node and another node.static interfaceDefines a condition in the condition node.static interfaceThe configuration of the connection.static interfaceContains information about a connection between two nodes in the flow.static interfaceThe configuration of a connection originating from a node that isn't a Condition node.static interfaceThe definition of the nodes and connections between nodes in the flow.static interfaceContains configurations for a node in your flow.static interfaceContains configurations for an input in an Amazon Bedrock Flows node.static interfaceContains configurations for an output from a node.static interfaceContains configurations about a node in the flow.static interfaceConfiguration information for a guardrail that you use with the Converse operation.static interfaceContains configurations for an inline code node in your flow.static interfaceContains configurations for a knowledge base node in a flow.static interfaceConfigures how the knowledge base orchestrates the retrieval and generation process, allowing for customization of prompts, inference parameters, and performance settings.static interfaceDefines a custom prompt template for orchestrating the retrieval and generation process.static interfaceContains configurations for a Lambda function node in the flow.static interfaceContains configurations for a Lex node in the flow.static interfaceContains configurations for the controller node of a DoWhile loop in the flow.static interfaceContains configurations for the nodes of a DoWhile loop in your flow.static interfaceConfiguration for how metadata should be used during the reranking process in Knowledge Base vector searches.static interfacePerformance settings for a model.static interfaceContains configurations for a prompt node in the flow.static interfaceContains configurations for a prompt defined inline in the node.static interfaceContains configurations for a prompt from Prompt management to use in a node.static interfaceContains configurations for a prompt and whether it is from Prompt management or defined inline.static interfaceContains inference configurations for the prompt.static interfaceContains information about a variable in the prompt.static interfaceContains inference configurations related to model inference for a prompt.static interfaceContains the message for a prompt.static interfaceConfiguration for selectively including or excluding metadata fields during the reranking process.static interfaceContains configurations for a Retrieval node in a flow.static interfaceContains configurations for the Amazon S3 location from which to retrieve data to return as the output from the node.static interfaceContains configurations for the service to use for retrieving data to return as the output from the node.static interfaceContains configurations for a Storage node in a flow.static interfaceContains configurations for the Amazon S3 location in which to store the input into the node.static interfaceContains configurations for the service to use for storing the input into the node.static interfaceContains configurations for a text prompt template.static interfaceConfiguration for using Amazon Bedrock foundation models to rerank Knowledge Base vector search results.static interfaceConfiguration for the Amazon Bedrock foundation model used for reranking vector search results.static interfaceConfiguration for reranking vector search results to improve relevance.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.services.bedrock.IFlowVersionRef
IFlowVersionRef.Jsii$Default, IFlowVersionRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnFlowVersion(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnFlowVersion(software.amazon.jsii.JsiiObjectRef objRef) CfnFlowVersion(software.constructs.Construct scope, String id, CfnFlowVersionProps props) -
Method Summary
Modifier and TypeMethodDescriptionThe time at the version was created.The Amazon Resource Name (ARN) of the KMS key that the flow version is encrypted with.Flow definition.The Amazon Resource Name (ARN) of the service role with permissions to create a flow.The unique identifier of the flow.The name of the flow.The status of the flow.The version of the flow.The description of the flow version.The Amazon Resource Name (ARN) of the flow that the version belongs to.A reference to a FlowVersion resource.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetDescription(String value) The description of the flow version.voidsetFlowArn(String value) The Amazon Resource Name (ARN) of the flow that the version belongs to.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnFlowVersion
protected CfnFlowVersion(software.amazon.jsii.JsiiObjectRef objRef) -
CfnFlowVersion
protected CfnFlowVersion(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnFlowVersion
@Stability(Stable) public CfnFlowVersion(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnFlowVersionProps props) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties. This parameter is required.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrCreatedAt
The time at the version was created. -
getAttrCustomerEncryptionKeyArn
The Amazon Resource Name (ARN) of the KMS key that the flow version is encrypted with. -
getAttrDefinition
Flow definition. -
getAttrExecutionRoleArn
The Amazon Resource Name (ARN) of the service role with permissions to create a flow.For more information, see Create a service row for flows in the Amazon Bedrock User Guide.
-
getAttrFlowId
The unique identifier of the flow. -
getAttrName
The name of the flow. -
getAttrStatus
The status of the flow. -
getAttrVersion
The version of the flow. -
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getFlowVersionRef
A reference to a FlowVersion resource.- Specified by:
getFlowVersionRefin interfaceIFlowVersionRef
-
getFlowArn
The Amazon Resource Name (ARN) of the flow that the version belongs to. -
setFlowArn
The Amazon Resource Name (ARN) of the flow that the version belongs to. -
getDescription
The description of the flow version. -
setDescription
The description of the flow version.
-