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

@Generated(value="jsii-pacmak/1.138.0 (build 0ca7ee8)", date="2026-08-10T14:51:07.902Z") @Stability(Stable) public class CfnRecipe extends CfnResource implements IInspectable, IRecipeRef
Resource Type definition for AWS::Personalize::Recipe.

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.personalize.*;
 CfnRecipe cfnRecipe = CfnRecipe.Builder.create(this, "MyCfnRecipe")
         .name("name")
         .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

    • CfnRecipe

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

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

      @Stability(Stable) public CfnRecipe(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable CfnRecipeProps props)
      Create a new AWS::Personalize::Recipe.

      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.
    • CfnRecipe

      @Stability(Stable) public CfnRecipe(@NotNull software.constructs.Construct scope, @NotNull String id)
      Create a new AWS::Personalize::Recipe.

      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.
  • Method Details

    • arnForRecipe

      @Stability(Stable) @NotNull public static String arnForRecipe(@NotNull IRecipeRef resource)
      Parameters:
      resource - This parameter is required.
    • isCfnRecipe

      @Stability(Stable) @NotNull public static Boolean isCfnRecipe(@NotNull Object x)
      Checks whether the given object is a CfnRecipe.

      Parameters:
      x - This parameter is required.
    • 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.
    • getAttrAlgorithmArn

      @Stability(Stable) @NotNull public String getAttrAlgorithmArn()
      The Amazon Resource Name (ARN) of the algorithm that Amazon Personalize uses to train the model.
    • getAttrCreationDateTime

      @Stability(Stable) @NotNull public String getAttrCreationDateTime()
      The date and time (in Unix format) that the recipe was created.
    • getAttrDescription

      @Stability(Stable) @NotNull public String getAttrDescription()
      The description of the recipe.
    • getAttrFeatureTransformationArn

      @Stability(Stable) @NotNull public String getAttrFeatureTransformationArn()
      The ARN of the FeatureTransformation object.
    • getAttrLastUpdatedDateTime

      @Stability(Stable) @NotNull public String getAttrLastUpdatedDateTime()
      The date and time (in Unix format) that the recipe was last updated.
    • getAttrRecipeArn

      @Stability(Stable) @NotNull public String getAttrRecipeArn()
      The Amazon Resource Name (ARN) of the recipe.
    • getAttrRecipeType

      @Stability(Stable) @NotNull public String getAttrRecipeType()
      One of the following values: PERSONALIZED_RANKING, RELATED_ITEMS, USER_PERSONALIZATION.
    • getAttrStatus

      @Stability(Stable) @NotNull public String getAttrStatus()
      The status of the recipe.
    • getCfnProperties

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

      @Stability(Stable) @NotNull protected Map<String,String> getCfnPropertyNames()
      Overrides:
      getCfnPropertyNames in class CfnResource
    • getRecipeRef

      @Stability(Stable) @NotNull public RecipeReference getRecipeRef()
      A reference to a Recipe resource.
      Specified by:
      getRecipeRef in interface IRecipeRef
    • getName

      @Stability(Stable) @Nullable public String getName()
      The name of the recipe.
    • setName

      @Stability(Stable) public void setName(@Nullable String value)
      The name of the recipe.