title: "BarResource" title_tag: "example.BarResource" meta_desc: "Documentation for the example.BarResource resource with examples, input properties, output properties, lookup functions, and supporting types." layout: api no_edit_this_page: true
new BarResource(name: string, args?: BarResourceArgs, opts?: CustomResourceOptions);
@overload
def BarResource(resource_name: str,
opts: Optional[ResourceOptions] = None,
foo: Optional[Resource] = None)
@overload
def BarResource(resource_name: str,
args: Optional[BarResourceArgs] = None,
opts: Optional[ResourceOptions] = None)
func NewBarResource(ctx *Context, name string, args *BarResourceArgs, opts ...ResourceOption) (*BarResource, error)
public BarResource(string name, BarResourceArgs? args = null, CustomResourceOptions? opts = null)
public BarResource(String name, BarResourceArgs args)
public BarResource(String name, BarResourceArgs args, CustomResourceOptions options)
type: bar:BarResource
properties: #聽The arguments to resource properties.
options: #聽Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args BarResourceArgs
- 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 BarResourceArgs
- 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 BarResourceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args BarResourceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args BarResourceArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
The BarResource resource accepts the following input properties:
- Foo Other.Example.Resource
- Foo Resource
- foo Resource
- foo Resource
- foo Resource
- foo example:Resource
All input properties are implicitly available as output properties. Additionally, the BarResource resource produces the following output properties: