Class CfnFlowVersion

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
All Implemented Interfaces:
IInspectable, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)", date="2024-10-05T03:43:39.559Z") @Stability(Stable) public class CfnFlowVersion extends CfnResource implements IInspectable
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:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String 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

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      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:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getAttrCreatedAt

      @Stability(Stable) @NotNull public String getAttrCreatedAt()
      The time at the version was created.
    • getAttrCustomerEncryptionKeyArn

      @Stability(Stable) @NotNull public String getAttrCustomerEncryptionKeyArn()
      A KMS key ARN.
    • getAttrDefinition

      @Stability(Stable) @NotNull public IResolvable getAttrDefinition()
      Flow definition.
    • getAttrExecutionRoleArn

      @Stability(Stable) @NotNull public String 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

      @Stability(Stable) @NotNull public String getAttrFlowId()
      The unique identifier of the flow.
    • getAttrName

      @Stability(Stable) @NotNull public String getAttrName()
      The name of the flow.
    • getAttrStatus

      @Stability(Stable) @NotNull public String getAttrStatus()
      The status of the flow.
    • getAttrVersion

      @Stability(Stable) @NotNull public String getAttrVersion()
      The version of the flow.
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getFlowArn

      @Stability(Stable) @NotNull public String getFlowArn()
      The Amazon Resource Name (ARN) of the flow that the version belongs to.
    • setFlowArn

      @Stability(Stable) public void setFlowArn(@NotNull String value)
      The Amazon Resource Name (ARN) of the flow that the version belongs to.
    • getDescription

      @Stability(Stable) @Nullable public String getDescription()
      The description of the flow version.
    • setDescription

      @Stability(Stable) public void setDescription(@Nullable String value)
      The description of the flow version.