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.AccountIamBindingfor the same role or they will fight over what your policy should be.
Create a AccountIamMember Resource
new AccountIamMember(name: string, args: AccountIamMemberArgs, opts?: CustomResourceOptions);def AccountIamMember(resource_name, opts=None, billing_account_id=None, condition=None, member=None, role=None, __props__=None);func NewAccountIamMember(ctx *Context, name string, args AccountIamMemberArgs, opts ...ResourceOption) (*AccountIamMember, error)public AccountIamMember(string name, AccountIamMemberArgs args, CustomResourceOptions? opts = null)- 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:
- Billing
Account stringId 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
Account
Iam Member Condition Args
- Billing
Account stringId 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
Account
Iam Member Condition
- billing
Account stringId 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
Account
Iam Member Condition
- billing_
account_ strid 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[Account
Iam Member Condition]
Outputs
All input properties are implicitly available as output properties. Additionally, the AccountIamMember resource produces the following output properties:
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): AccountIamMemberstatic 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:
- Billing
Account stringId The billing account id.
- Condition
Account
Iam Member Condition Args - 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 stringId The billing account id.
- Condition
Account
Iam Member Condition - 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 stringId The billing account id.
- condition
Account
Iam Member Condition - 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_ strid The billing account id.
- condition
Dict[Account
Iam Member Condition] - 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
Package Details
- Repository
- https://github.com/pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
google-betaTerraform Provider.