Class CfnFlowAlias

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

@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)", date="2024-10-10T18:25:19.538Z") @Stability(Stable) public class CfnFlowAlias extends CfnResource implements IInspectable, ITaggableV2
Creates an alias of a flow for deployment.

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.*;
 CfnFlowAlias cfnFlowAlias = CfnFlowAlias.Builder.create(this, "MyCfnFlowAlias")
         .flowArn("flowArn")
         .name("name")
         .routingConfiguration(List.of(FlowAliasRoutingConfigurationListItemProperty.builder()
                 .flowVersion("flowVersion")
                 .build()))
         // the properties below are optional
         .description("description")
         .tags(Map.of(
                 "tagsKey", "tags"))
         .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

    • CfnFlowAlias

      protected CfnFlowAlias(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnFlowAlias

      protected CfnFlowAlias(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnFlowAlias

      @Stability(Stable) public CfnFlowAlias(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnFlowAliasProps 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.
    • getAttrArn

      @Stability(Stable) @NotNull public String getAttrArn()
      The Amazon Resource Name (ARN) of the alias.
    • getAttrCreatedAt

      @Stability(Stable) @NotNull public String getAttrCreatedAt()
      The time at which the alias was created.
    • getAttrFlowId

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

      @Stability(Stable) @NotNull public String getAttrId()
      The unique identifier of the alias of the flow.
    • getAttrUpdatedAt

      @Stability(Stable) @NotNull public String getAttrUpdatedAt()
      The time at which the alias was last updated.
    • getCdkTagManager

      @Stability(Stable) @NotNull public TagManager getCdkTagManager()
      Tag Manager which manages the tags for this resource.
      Specified by:
      getCdkTagManager in interface ITaggableV2
    • 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 alias.
    • setFlowArn

      @Stability(Stable) public void setFlowArn(@NotNull String value)
      The Amazon Resource Name (ARN) of the alias.
    • getName

      @Stability(Stable) @NotNull public String getName()
      The name of the alias.
    • setName

      @Stability(Stable) public void setName(@NotNull String value)
      The name of the alias.
    • getRoutingConfiguration

      @Stability(Stable) @NotNull public Object getRoutingConfiguration()
      A list of configurations about the versions that the alias maps to.
    • setRoutingConfiguration

      @Stability(Stable) public void setRoutingConfiguration(@NotNull IResolvable value)
      A list of configurations about the versions that the alias maps to.
    • setRoutingConfiguration

      @Stability(Stable) public void setRoutingConfiguration(@NotNull List<Object> value)
      A list of configurations about the versions that the alias maps to.
    • getDescription

      @Stability(Stable) @Nullable public String getDescription()
      A description of the alias.
    • setDescription

      @Stability(Stable) public void setDescription(@Nullable String value)
      A description of the alias.
    • getTags

      @Stability(Stable) @Nullable public Map<String,String> getTags()
      Metadata that you can assign to a resource as key-value pairs.

      For more information, see the following resources:.

    • setTags

      @Stability(Stable) public void setTags(@Nullable Map<String,String> value)
      Metadata that you can assign to a resource as key-value pairs.

      For more information, see the following resources:.