mirror of https://github.com/pulumi/pulumi.git
19 KiB
19 KiB
title: "God" title_tag: "example.God" meta_desc: "Documentation for the example.God resource with examples, input properties, output properties, lookup functions, and supporting types." layout: api no_edit_this_page: true
Create God Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new God(name: string, args?: GodArgs, opts?: CustomResourceOptions);
@overload
def God(resource_name: str,
args: Optional[GodArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def God(resource_name: str,
opts: Optional[ResourceOptions] = None)
func NewGod(ctx *Context, name string, args *GodArgs, opts ...ResourceOption) (*God, error)
public God(string name, GodArgs? args = null, CustomResourceOptions? opts = null)
type: example:God
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 GodArgs
- 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 GodArgs
- 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 GodArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GodArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args GodArgs
- 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 godResource = new Example.God("godResource");
example, err := example.NewGod(ctx, "godResource", nil)
var godResource = new God("godResource");
god_resource = example.God("godResource")
const godResource = new example.God("godResource", {});
type: example:God
properties: {}
God 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 God resource accepts the following input properties:
Outputs
All input properties are implicitly available as output properties. Additionally, the God resource produces the following output properties:
Package Details
- Repository
- example
- License