Class CfnRecipe
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.personalize.CfnRecipe
- 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:
-
Nested Class Summary
Nested ClassesNested 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.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.personalize.IRecipeRef
IRecipeRef.Jsii$Default, IRecipeRef.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnRecipe(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnRecipe(software.amazon.jsii.JsiiObjectRef objRef) Create a newAWS::Personalize::Recipe.CfnRecipe(software.constructs.Construct scope, String id, CfnRecipeProps props) Create a newAWS::Personalize::Recipe. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringarnForRecipe(IRecipeRef resource) The Amazon Resource Name (ARN) of the algorithm that Amazon Personalize uses to train the model.The date and time (in Unix format) that the recipe was created.The description of the recipe.The ARN of the FeatureTransformation object.The date and time (in Unix format) that the recipe was last updated.The Amazon Resource Name (ARN) of the recipe.One of the following values: PERSONALIZED_RANKING, RELATED_ITEMS, USER_PERSONALIZATION.The status of the recipe.getName()The name of the recipe.A reference to a Recipe resource.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnRecipe.renderProperties(Map<String, Object> props) voidThe name of the recipe.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, addResourceDependency, addResourceDependency, applyCrossStackReferenceStrength, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, cfnPropertyName, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, removeDependency, removeResourceDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId, withMethods 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
getNode, withMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods 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
-
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 newAWS::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 newAWS::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
- Parameters:
resource- This parameter is required.
-
isCfnRecipe
Checks whether the given object is a CfnRecipe.- Parameters:
x- This parameter is required.
-
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.
-
getAttrAlgorithmArn
The Amazon Resource Name (ARN) of the algorithm that Amazon Personalize uses to train the model. -
getAttrCreationDateTime
The date and time (in Unix format) that the recipe was created. -
getAttrDescription
The description of the recipe. -
getAttrFeatureTransformationArn
The ARN of the FeatureTransformation object. -
getAttrLastUpdatedDateTime
The date and time (in Unix format) that the recipe was last updated. -
getAttrRecipeArn
The Amazon Resource Name (ARN) of the recipe. -
getAttrRecipeType
One of the following values: PERSONALIZED_RANKING, RELATED_ITEMS, USER_PERSONALIZATION. -
getAttrStatus
The status of the recipe. -
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getCfnPropertyNames
- Overrides:
getCfnPropertyNamesin classCfnResource
-
getRecipeRef
A reference to a Recipe resource.- Specified by:
getRecipeRefin interfaceIRecipeRef
-
getName
The name of the recipe. -
setName
The name of the recipe.
-