A managed code bundle which can be used in Playwright Check Suite resources.
Create PlaywrightCodeBundle Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PlaywrightCodeBundle(name: string, args: PlaywrightCodeBundleArgs, opts?: CustomResourceOptions);@overload
def PlaywrightCodeBundle(resource_name: str,
args: PlaywrightCodeBundleArgs,
opts: Optional[ResourceOptions] = None)
@overload
def PlaywrightCodeBundle(resource_name: str,
opts: Optional[ResourceOptions] = None,
prebuilt_archive: Optional[PlaywrightCodeBundlePrebuiltArchiveArgs] = None)func NewPlaywrightCodeBundle(ctx *Context, name string, args PlaywrightCodeBundleArgs, opts ...ResourceOption) (*PlaywrightCodeBundle, error)public PlaywrightCodeBundle(string name, PlaywrightCodeBundleArgs args, CustomResourceOptions? opts = null)
public PlaywrightCodeBundle(String name, PlaywrightCodeBundleArgs args)
public PlaywrightCodeBundle(String name, PlaywrightCodeBundleArgs args, CustomResourceOptions options)
type: checkly:PlaywrightCodeBundle
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args PlaywrightCodeBundleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args PlaywrightCodeBundleArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args PlaywrightCodeBundleArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PlaywrightCodeBundleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PlaywrightCodeBundleArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var playwrightCodeBundleResource = new Checkly.PlaywrightCodeBundle("playwrightCodeBundleResource", new()
{
PrebuiltArchive = new Checkly.Inputs.PlaywrightCodeBundlePrebuiltArchiveArgs
{
File = "string",
},
});
example, err := checkly.NewPlaywrightCodeBundle(ctx, "playwrightCodeBundleResource", &checkly.PlaywrightCodeBundleArgs{
PrebuiltArchive: &checkly.PlaywrightCodeBundlePrebuiltArchiveArgs{
File: pulumi.String("string"),
},
})
var playwrightCodeBundleResource = new PlaywrightCodeBundle("playwrightCodeBundleResource", PlaywrightCodeBundleArgs.builder()
.prebuiltArchive(PlaywrightCodeBundlePrebuiltArchiveArgs.builder()
.file("string")
.build())
.build());
playwright_code_bundle_resource = checkly.PlaywrightCodeBundle("playwrightCodeBundleResource", prebuilt_archive={
"file": "string",
})
const playwrightCodeBundleResource = new checkly.PlaywrightCodeBundle("playwrightCodeBundleResource", {prebuiltArchive: {
file: "string",
}});
type: checkly:PlaywrightCodeBundle
properties:
prebuiltArchive:
file: string
PlaywrightCodeBundle Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The PlaywrightCodeBundle resource accepts the following input properties:
- Prebuilt
Archive PlaywrightCode Bundle Prebuilt Archive - A prebuilt archive containing the code bundle.
- Prebuilt
Archive PlaywrightCode Bundle Prebuilt Archive Args - A prebuilt archive containing the code bundle.
- prebuilt
Archive PlaywrightCode Bundle Prebuilt Archive - A prebuilt archive containing the code bundle.
- prebuilt
Archive PlaywrightCode Bundle Prebuilt Archive - A prebuilt archive containing the code bundle.
- prebuilt_
archive PlaywrightCode Bundle Prebuilt Archive Args - A prebuilt archive containing the code bundle.
- prebuilt
Archive Property Map - A prebuilt archive containing the code bundle.
Outputs
All input properties are implicitly available as output properties. Additionally, the PlaywrightCodeBundle resource produces the following output properties:
Look up Existing PlaywrightCodeBundle Resource
Get an existing PlaywrightCodeBundle resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: PlaywrightCodeBundleState, opts?: CustomResourceOptions): PlaywrightCodeBundle@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
metadata: Optional[str] = None,
prebuilt_archive: Optional[PlaywrightCodeBundlePrebuiltArchiveArgs] = None) -> PlaywrightCodeBundlefunc GetPlaywrightCodeBundle(ctx *Context, name string, id IDInput, state *PlaywrightCodeBundleState, opts ...ResourceOption) (*PlaywrightCodeBundle, error)public static PlaywrightCodeBundle Get(string name, Input<string> id, PlaywrightCodeBundleState? state, CustomResourceOptions? opts = null)public static PlaywrightCodeBundle get(String name, Output<String> id, PlaywrightCodeBundleState state, CustomResourceOptions options)resources: _: type: checkly:PlaywrightCodeBundle get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Metadata string
- An opaque blob of generated metadata. The value is not intended to be user-consumable and should be passed as-is to a Playwright check resource.
- Prebuilt
Archive PlaywrightCode Bundle Prebuilt Archive - A prebuilt archive containing the code bundle.
- Metadata string
- An opaque blob of generated metadata. The value is not intended to be user-consumable and should be passed as-is to a Playwright check resource.
- Prebuilt
Archive PlaywrightCode Bundle Prebuilt Archive Args - A prebuilt archive containing the code bundle.
- metadata String
- An opaque blob of generated metadata. The value is not intended to be user-consumable and should be passed as-is to a Playwright check resource.
- prebuilt
Archive PlaywrightCode Bundle Prebuilt Archive - A prebuilt archive containing the code bundle.
- metadata string
- An opaque blob of generated metadata. The value is not intended to be user-consumable and should be passed as-is to a Playwright check resource.
- prebuilt
Archive PlaywrightCode Bundle Prebuilt Archive - A prebuilt archive containing the code bundle.
- metadata str
- An opaque blob of generated metadata. The value is not intended to be user-consumable and should be passed as-is to a Playwright check resource.
- prebuilt_
archive PlaywrightCode Bundle Prebuilt Archive Args - A prebuilt archive containing the code bundle.
- metadata String
- An opaque blob of generated metadata. The value is not intended to be user-consumable and should be passed as-is to a Playwright check resource.
- prebuilt
Archive Property Map - A prebuilt archive containing the code bundle.
Supporting Types
PlaywrightCodeBundlePrebuiltArchive, PlaywrightCodeBundlePrebuiltArchiveArgs
- File string
- Path to the archive file.
- File string
- Path to the archive file.
- file String
- Path to the archive file.
- file string
- Path to the archive file.
- file str
- Path to the archive file.
- file String
- Path to the archive file.
Package Details
- Repository
- checkly checkly/pulumi-checkly
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
checklyTerraform Provider.
