AccountIamMember

Allows creation and management of a single member for a single binding within the IAM policy for an existing Google Cloud Platform Billing Account.

Note: This resource must not be used in conjunction with gcp.billing.AccountIamBinding for the same role or they will fight over what your policy should be.

Create a AccountIamMember Resource

def AccountIamMember(resource_name, opts=None, billing_account_id=None, condition=None, member=None, role=None, __props__=None);
name string
The unique name of the resource.
args AccountIamMemberArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args AccountIamMemberArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args AccountIamMemberArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

AccountIamMember Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

The AccountIamMember resource accepts the following input properties:

BillingAccountId string

The billing account id.

Member string

The user that the role should apply to. For more details on format and restrictions see https://cloud.google.com/billing/reference/rest/v1/Policy#Binding

Role string

The role that should be applied.

Condition AccountIamMemberConditionArgs
BillingAccountId string

The billing account id.

Member string

The user that the role should apply to. For more details on format and restrictions see https://cloud.google.com/billing/reference/rest/v1/Policy#Binding

Role string

The role that should be applied.

Condition AccountIamMemberCondition
billingAccountId string

The billing account id.

member string

The user that the role should apply to. For more details on format and restrictions see https://cloud.google.com/billing/reference/rest/v1/Policy#Binding

role string

The role that should be applied.

condition AccountIamMemberCondition
billing_account_id str

The billing account id.

member str

The user that the role should apply to. For more details on format and restrictions see https://cloud.google.com/billing/reference/rest/v1/Policy#Binding

role str

The role that should be applied.

condition Dict[AccountIamMemberCondition]

Outputs

All input properties are implicitly available as output properties. Additionally, the AccountIamMember resource produces the following output properties:

Etag string

(Computed) The etag of the billing account’s IAM policy.

Id string
The provider-assigned unique ID for this managed resource.
Etag string

(Computed) The etag of the billing account’s IAM policy.

Id string
The provider-assigned unique ID for this managed resource.
etag string

(Computed) The etag of the billing account’s IAM policy.

id string
The provider-assigned unique ID for this managed resource.
etag str

(Computed) The etag of the billing account’s IAM policy.

id str
The provider-assigned unique ID for this managed resource.

Look up an Existing AccountIamMember Resource

Get an existing AccountIamMember 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?: AccountIamMemberState, opts?: CustomResourceOptions): AccountIamMember
static get(resource_name, id, opts=None, billing_account_id=None, condition=None, etag=None, member=None, role=None, __props__=None);
func GetAccountIamMember(ctx *Context, name string, id IDInput, state *AccountIamMemberState, opts ...ResourceOption) (*AccountIamMember, error)
public static AccountIamMember Get(string name, Input<string> id, AccountIamMemberState? state, CustomResourceOptions? opts = null)
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.

The following state arguments are supported:

BillingAccountId string

The billing account id.

Condition AccountIamMemberConditionArgs
Etag string

(Computed) The etag of the billing account’s IAM policy.

Member string

The user that the role should apply to. For more details on format and restrictions see https://cloud.google.com/billing/reference/rest/v1/Policy#Binding

Role string

The role that should be applied.

BillingAccountId string

The billing account id.

Condition AccountIamMemberCondition
Etag string

(Computed) The etag of the billing account’s IAM policy.

Member string

The user that the role should apply to. For more details on format and restrictions see https://cloud.google.com/billing/reference/rest/v1/Policy#Binding

Role string

The role that should be applied.

billingAccountId string

The billing account id.

condition AccountIamMemberCondition
etag string

(Computed) The etag of the billing account’s IAM policy.

member string

The user that the role should apply to. For more details on format and restrictions see https://cloud.google.com/billing/reference/rest/v1/Policy#Binding

role string

The role that should be applied.

billing_account_id str

The billing account id.

condition Dict[AccountIamMemberCondition]
etag str

(Computed) The etag of the billing account’s IAM policy.

member str

The user that the role should apply to. For more details on format and restrictions see https://cloud.google.com/billing/reference/rest/v1/Policy#Binding

role str

The role that should be applied.

Supporting Types

AccountIamMemberCondition

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

Expression string
Title string
Description string
Expression string
Title string
Description string
expression string
title string
description string
expression str
title str
description str

Package Details

Repository
https://github.com/pulumi/pulumi-gcp
License
Apache-2.0
Notes
This Pulumi package is based on the google-beta Terraform Provider.