import * as pulumi from "@pulumi/pulumi"; /** * Resource for managing an AWS Resilience Hub V2 Assertion. * * An assertion is a statement about your application that provides context for failure mode assessments. Assertions help the GenAI assessment engine understand aspects of your architecture that aren't visible from resource configuration alone (e.g., "Data loss is unacceptable", "Typical traffic is 1000 TPS spiking to 10000 TPS"). * * ## Example Usage * * ### Basic Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = new aws.resiliencehub.V2Assertion("example", { * serviceArn: exampleAwsResiliencehubv2Service.arn, * text: "The service must recover within 5 minutes of an AZ failure", * }); * ``` * * ## Import * * ### Identity Schema * * #### Required * * * `serviceArn` (String) ARN of the service this assertion belongs to. * * `assertionId` (String) Unique identifier of the assertion. * * #### 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 Assertion using the `serviceArn` and `assertionId` separated by a comma (`,`). For example: * * ```sh * $ pulumi import aws:resiliencehub/v2Assertion:V2Assertion example arn:aws:resiliencehub:us-west-2:123456789012:service/example-service:abc123,12345678-1234-1234-1234-123456789012 * ``` */ export declare class V2Assertion extends pulumi.CustomResource { /** * Get an existing V2Assertion 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?: V2AssertionState, opts?: pulumi.CustomResourceOptions): V2Assertion; /** * Returns true if the given object is an instance of V2Assertion. 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 V2Assertion; /** * Unique identifier of the assertion. */ readonly assertionId: 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 service this assertion belongs to. Changing this value requires creating a new resource. */ readonly serviceArn: pulumi.Output; /** * Text of the resilience assertion. * * The following arguments are optional: */ readonly text: pulumi.Output; /** * Create a V2Assertion 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: V2AssertionArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering V2Assertion resources. */ export interface V2AssertionState { /** * Unique identifier of the assertion. */ assertionId?: 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 service this assertion belongs to. Changing this value requires creating a new resource. */ serviceArn?: pulumi.Input; /** * Text of the resilience assertion. * * The following arguments are optional: */ text?: pulumi.Input; } /** * The set of arguments for constructing a V2Assertion resource. */ export interface V2AssertionArgs { /** * 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 service this assertion belongs to. Changing this value requires creating a new resource. */ serviceArn: pulumi.Input; /** * Text of the resilience assertion. * * The following arguments are optional: */ text: pulumi.Input; } //# sourceMappingURL=v2assertion.d.ts.map