import * as pulumi from "@pulumi/pulumi"; /** * Resource for managing an AWS Resilience Hub V2 User Journey. * * A user journey describes a critical end-user path or business capability within a system (e.g., "Path to purchase", "Order fulfillment"). User journeys reference services and can have resilience policies applied at the journey level. * * ## Example Usage * * ### Basic Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = new aws.resiliencehub.V2System("example", {name: "example-system"}); * const exampleV2UserJourney = new aws.resiliencehub.V2UserJourney("example", { * systemArn: example.arn, * name: "example-user-journey", * }); * ``` * * ### With Policy * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = new aws.resiliencehub.V2System("example", {name: "example-system"}); * const exampleV2Policy = new aws.resiliencehub.V2Policy("example", { * availabilitySlo: { * target: 99.9, * }, * name: "example-policy", * }); * const exampleV2UserJourney = new aws.resiliencehub.V2UserJourney("example", { * systemArn: example.arn, * name: "checkout-flow", * description: "End-to-end checkout user journey", * policyArn: exampleV2Policy.arn, * }); * ``` * * ## Import * * ### Identity Schema * * #### Required * * * `systemArn` (String) ARN of the system this user journey belongs to. * * `userJourneyId` (String) Unique identifier of the user journey. * * #### Optional * * * `accountId` (String) AWS Account where this resource is managed. * * `region` (String) Region where this resource is managed. * * Using `pulumi import`, import Resilience Hub V2 User Journey using the `systemArn` and `userJourneyId` separated by a comma (`,`). For example: * * ```sh * $ pulumi import aws:resiliencehub/v2UserJourney:V2UserJourney example arn:aws:resiliencehub:us-west-2:123456789012:system/example-system:abc123,12345678-1234-1234-1234-123456789012 * ``` */ export declare class V2UserJourney extends pulumi.CustomResource { /** * Get an existing V2UserJourney resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: V2UserJourneyState, opts?: pulumi.CustomResourceOptions): V2UserJourney; /** * Returns true if the given object is an instance of V2UserJourney. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is V2UserJourney; /** * Description of the user journey. */ readonly description: pulumi.Output; /** * Name of the user journey. */ readonly name: pulumi.Output; /** * ARN of the resilience policy to associate with this user journey. */ readonly policyArn: pulumi.Output; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ readonly region: pulumi.Output; /** * ARN of the system this user journey belongs to. Changing this value requires creating a new resource. * * The following arguments are optional: */ readonly systemArn: pulumi.Output; /** * Unique identifier of the user journey. */ readonly userJourneyId: pulumi.Output; /** * Create a V2UserJourney resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: V2UserJourneyArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering V2UserJourney resources. */ export interface V2UserJourneyState { /** * Description of the user journey. */ description?: pulumi.Input; /** * Name of the user journey. */ name?: pulumi.Input; /** * ARN of the resilience policy to associate with this user journey. */ policyArn?: pulumi.Input; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ region?: pulumi.Input; /** * ARN of the system this user journey belongs to. Changing this value requires creating a new resource. * * The following arguments are optional: */ systemArn?: pulumi.Input; /** * Unique identifier of the user journey. */ userJourneyId?: pulumi.Input; } /** * The set of arguments for constructing a V2UserJourney resource. */ export interface V2UserJourneyArgs { /** * Description of the user journey. */ description?: pulumi.Input; /** * Name of the user journey. */ name?: pulumi.Input; /** * ARN of the resilience policy to associate with this user journey. */ policyArn?: pulumi.Input; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ region?: pulumi.Input; /** * ARN of the system this user journey belongs to. Changing this value requires creating a new resource. * * The following arguments are optional: */ systemArn: pulumi.Input; } //# sourceMappingURL=v2userJourney.d.ts.map