Class CfnUserJourney

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

@Generated(value="jsii-pacmak/1.133.0 (build 0f43e37)", date="2026-06-16T16:14:31.949Z") @Stability(Stable) public class CfnUserJourney extends CfnResource implements IInspectable, IUserJourneyRef
Creates a user journey within a Resilience Hub system.

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.resiliencehubv2.*;
 CfnUserJourney cfnUserJourney = CfnUserJourney.Builder.create(this, "MyCfnUserJourney")
         .name("name")
         .systemIdentifier("systemIdentifier")
         // the properties below are optional
         .description("description")
         .policyArn("policyArn")
         .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

    • CfnUserJourney

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

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

      @Stability(Stable) public CfnUserJourney(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnUserJourneyProps props)
      Create a new AWS::ResilienceHubV2::UserJourney.

      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

    • isCfnUserJourney

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

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

      @Stability(Stable) @NotNull public String getAttrCreatedAt()
      The timestamp when the user journey was created.
    • getAttrUpdatedAt

      @Stability(Stable) @NotNull public String getAttrUpdatedAt()
      The timestamp when the user journey was last updated.
    • getAttrUserJourneyId

      @Stability(Stable) @NotNull public String getAttrUserJourneyId()
      The server-generated user journey ID.
    • 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
    • getUserJourneyRef

      @Stability(Stable) @NotNull public UserJourneyReference getUserJourneyRef()
      A reference to a UserJourney resource.
      Specified by:
      getUserJourneyRef in interface IUserJourneyRef
    • getName

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

      @Stability(Stable) public void setName(@NotNull String value)
      The name of the user journey.
    • getSystemIdentifier

      @Stability(Stable) @NotNull public String getSystemIdentifier()
      The system ARN or system ID that owns this user journey.
    • setSystemIdentifier

      @Stability(Stable) public void setSystemIdentifier(@NotNull String value)
      The system ARN or system ID that owns this user journey.
    • getDescription

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

      @Stability(Stable) public void setDescription(@Nullable String value)
      The description of the user journey.
    • getPolicyArn

      @Stability(Stable) @Nullable public String getPolicyArn()
      The ARN of the resilience policy to associate with this user journey.
    • setPolicyArn

      @Stability(Stable) public void setPolicyArn(@Nullable String value)
      The ARN of the resilience policy to associate with this user journey.