title: "IamResource" title_tag: "example.myModule.IamResource" meta_desc: "Documentation for the example.myModule.IamResource resource with examples, input properties, output properties, lookup functions, and supporting types." layout: api no_edit_this_page: true
new IamResource(name: string, args?: IamResourceArgs, opts?: CustomResourceOptions);
@overload
def IamResource(resource_name: str,
opts: Optional[ResourceOptions] = None,
config: Optional[pulumi_google_native.iam.v1.AuditConfigArgs] = None)
@overload
def IamResource(resource_name: str,
args: Optional[IamResourceArgs] = None,
opts: Optional[ResourceOptions] = None)
func NewIamResource(ctx *Context, name string, args *IamResourceArgs, opts ...ResourceOption) (*IamResource, error)
public IamResource(string name, IamResourceArgs? args = null, CustomResourceOptions? opts = null)
public IamResource(String name, IamResourceArgs args)
public IamResource(String name, IamResourceArgs args, CustomResourceOptions options)
type: example:myModule:IamResource
properties: #聽The arguments to resource properties.
options: #聽Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IamResourceArgs
- 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 IamResourceArgs
- 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 IamResourceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IamResourceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args IamResourceArgs
- 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 IamResource resource accepts the following input properties:
All input properties are implicitly available as output properties. Additionally, the IamResource resource produces the following output properties: