Interface MockResourceArgs

MockResourceArgs is used to construct a newResource Mock.

interface MockResourceArgs {
    custom?: boolean;
    id?: string;
    inputs: any;
    name: string;
    provider?: string;
    type: string;


custom?: boolean

Specifies whether or not the resource is Custom (i.e. managed by a resource provider).

id?: string

If provided, the physical identifier of an existing resource to read or import.

inputs: any

The inputs for the resource.

name: string

The logical name of the resource instance.

provider?: string

If provided, the identifier of the provider instance being used to manage this resource.

type: string

The token that indicates which resource type is being constructed. This token is of the form "package:module:type".

Generated using TypeDoc