gcp.clouddeploy.CustomTargetTypeIamMember
Explore with Pulumi AI
Create CustomTargetTypeIamMember Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CustomTargetTypeIamMember(name: string, args: CustomTargetTypeIamMemberArgs, opts?: CustomResourceOptions);
@overload
def CustomTargetTypeIamMember(resource_name: str,
args: CustomTargetTypeIamMemberArgs,
opts: Optional[ResourceOptions] = None)
@overload
def CustomTargetTypeIamMember(resource_name: str,
opts: Optional[ResourceOptions] = None,
member: Optional[str] = None,
role: Optional[str] = None,
condition: Optional[CustomTargetTypeIamMemberConditionArgs] = None,
location: Optional[str] = None,
name: Optional[str] = None,
project: Optional[str] = None)
func NewCustomTargetTypeIamMember(ctx *Context, name string, args CustomTargetTypeIamMemberArgs, opts ...ResourceOption) (*CustomTargetTypeIamMember, error)
public CustomTargetTypeIamMember(string name, CustomTargetTypeIamMemberArgs args, CustomResourceOptions? opts = null)
public CustomTargetTypeIamMember(String name, CustomTargetTypeIamMemberArgs args)
public CustomTargetTypeIamMember(String name, CustomTargetTypeIamMemberArgs args, CustomResourceOptions options)
type: gcp:clouddeploy:CustomTargetTypeIamMember
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name
This property is required. string - The unique name of the resource.
- args
This property is required. CustomTargetTypeIamMemberArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
This property is required. str - The unique name of the resource.
- args
This property is required. CustomTargetTypeIamMemberArgs - The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. CustomTargetTypeIamMemberArgs - The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. CustomTargetTypeIamMemberArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name
This property is required. String - The unique name of the resource.
- args
This property is required. CustomTargetTypeIamMemberArgs - 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 customTargetTypeIamMemberResource = new Gcp.CloudDeploy.CustomTargetTypeIamMember("customTargetTypeIamMemberResource", new()
{
Member = "string",
Role = "string",
Condition = new Gcp.CloudDeploy.Inputs.CustomTargetTypeIamMemberConditionArgs
{
Expression = "string",
Title = "string",
Description = "string",
},
Location = "string",
Name = "string",
Project = "string",
});
example, err := clouddeploy.NewCustomTargetTypeIamMember(ctx, "customTargetTypeIamMemberResource", &clouddeploy.CustomTargetTypeIamMemberArgs{
Member: pulumi.String("string"),
Role: pulumi.String("string"),
Condition: &clouddeploy.CustomTargetTypeIamMemberConditionArgs{
Expression: pulumi.String("string"),
Title: pulumi.String("string"),
Description: pulumi.String("string"),
},
Location: pulumi.String("string"),
Name: pulumi.String("string"),
Project: pulumi.String("string"),
})
var customTargetTypeIamMemberResource = new CustomTargetTypeIamMember("customTargetTypeIamMemberResource", CustomTargetTypeIamMemberArgs.builder()
.member("string")
.role("string")
.condition(CustomTargetTypeIamMemberConditionArgs.builder()
.expression("string")
.title("string")
.description("string")
.build())
.location("string")
.name("string")
.project("string")
.build());
custom_target_type_iam_member_resource = gcp.clouddeploy.CustomTargetTypeIamMember("customTargetTypeIamMemberResource",
member="string",
role="string",
condition={
"expression": "string",
"title": "string",
"description": "string",
},
location="string",
name="string",
project="string")
const customTargetTypeIamMemberResource = new gcp.clouddeploy.CustomTargetTypeIamMember("customTargetTypeIamMemberResource", {
member: "string",
role: "string",
condition: {
expression: "string",
title: "string",
description: "string",
},
location: "string",
name: "string",
project: "string",
});
type: gcp:clouddeploy:CustomTargetTypeIamMember
properties:
condition:
description: string
expression: string
title: string
location: string
member: string
name: string
project: string
role: string
CustomTargetTypeIamMember 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 CustomTargetTypeIamMember resource accepts the following input properties:
- Member
This property is required. Changes to this property will trigger replacement.
- Role
This property is required. Changes to this property will trigger replacement.
- Condition
Changes to this property will trigger replacement.
Target Type Iam Member Condition - Location
Changes to this property will trigger replacement.
- Name
Changes to this property will trigger replacement.
- Project
Changes to this property will trigger replacement.
- Member
This property is required. Changes to this property will trigger replacement.
- Role
This property is required. Changes to this property will trigger replacement.
- Condition
Changes to this property will trigger replacement.
Target Type Iam Member Condition Args - Location
Changes to this property will trigger replacement.
- Name
Changes to this property will trigger replacement.
- Project
Changes to this property will trigger replacement.
- member
This property is required. Changes to this property will trigger replacement.
- role
This property is required. Changes to this property will trigger replacement.
- condition
Changes to this property will trigger replacement.
Target Type Iam Member Condition - location
Changes to this property will trigger replacement.
- name
Changes to this property will trigger replacement.
- project
Changes to this property will trigger replacement.
- member
This property is required. Changes to this property will trigger replacement.
- role
This property is required. Changes to this property will trigger replacement.
- condition
Changes to this property will trigger replacement.
Target Type Iam Member Condition - location
Changes to this property will trigger replacement.
- name
Changes to this property will trigger replacement.
- project
Changes to this property will trigger replacement.
- member
This property is required. Changes to this property will trigger replacement.
- role
This property is required. Changes to this property will trigger replacement.
- condition
Changes to this property will trigger replacement.
Target Type Iam Member Condition Args - location
Changes to this property will trigger replacement.
- name
Changes to this property will trigger replacement.
- project
Changes to this property will trigger replacement.
- member
This property is required. Changes to this property will trigger replacement.
- role
This property is required. Changes to this property will trigger replacement.
- condition
Changes to this property will trigger replacement.
- location
Changes to this property will trigger replacement.
- name
Changes to this property will trigger replacement.
- project
Changes to this property will trigger replacement.
Outputs
All input properties are implicitly available as output properties. Additionally, the CustomTargetTypeIamMember resource produces the following output properties:
Look up Existing CustomTargetTypeIamMember Resource
Get an existing CustomTargetTypeIamMember 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?: CustomTargetTypeIamMemberState, opts?: CustomResourceOptions): CustomTargetTypeIamMember
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
condition: Optional[CustomTargetTypeIamMemberConditionArgs] = None,
etag: Optional[str] = None,
location: Optional[str] = None,
member: Optional[str] = None,
name: Optional[str] = None,
project: Optional[str] = None,
role: Optional[str] = None) -> CustomTargetTypeIamMember
func GetCustomTargetTypeIamMember(ctx *Context, name string, id IDInput, state *CustomTargetTypeIamMemberState, opts ...ResourceOption) (*CustomTargetTypeIamMember, error)
public static CustomTargetTypeIamMember Get(string name, Input<string> id, CustomTargetTypeIamMemberState? state, CustomResourceOptions? opts = null)
public static CustomTargetTypeIamMember get(String name, Output<String> id, CustomTargetTypeIamMemberState state, CustomResourceOptions options)
resources: _: type: gcp:clouddeploy:CustomTargetTypeIamMember get: id: ${id}
- name
This property is required. - The unique name of the resulting resource.
- id
This property is required. - 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
This property is required. - The unique name of the resulting resource.
- id
This property is required. - The unique provider ID of the resource to lookup.
- name
This property is required. - The unique name of the resulting resource.
- id
This property is required. - 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
This property is required. - The unique name of the resulting resource.
- id
This property is required. - 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
This property is required. - The unique name of the resulting resource.
- id
This property is required. - 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.
- Condition
Changes to this property will trigger replacement.
Target Type Iam Member Condition - Etag string
- Location
Changes to this property will trigger replacement.
- Member
Changes to this property will trigger replacement.
- Name
Changes to this property will trigger replacement.
- Project
Changes to this property will trigger replacement.
- Role
Changes to this property will trigger replacement.
- Condition
Changes to this property will trigger replacement.
Target Type Iam Member Condition Args - Etag string
- Location
Changes to this property will trigger replacement.
- Member
Changes to this property will trigger replacement.
- Name
Changes to this property will trigger replacement.
- Project
Changes to this property will trigger replacement.
- Role
Changes to this property will trigger replacement.
- condition
Changes to this property will trigger replacement.
Target Type Iam Member Condition - etag String
- location
Changes to this property will trigger replacement.
- member
Changes to this property will trigger replacement.
- name
Changes to this property will trigger replacement.
- project
Changes to this property will trigger replacement.
- role
Changes to this property will trigger replacement.
- condition
Changes to this property will trigger replacement.
Target Type Iam Member Condition - etag string
- location
Changes to this property will trigger replacement.
- member
Changes to this property will trigger replacement.
- name
Changes to this property will trigger replacement.
- project
Changes to this property will trigger replacement.
- role
Changes to this property will trigger replacement.
- condition
Changes to this property will trigger replacement.
Target Type Iam Member Condition Args - etag str
- location
Changes to this property will trigger replacement.
- member
Changes to this property will trigger replacement.
- name
Changes to this property will trigger replacement.
- project
Changes to this property will trigger replacement.
- role
Changes to this property will trigger replacement.
- condition
Changes to this property will trigger replacement.
- etag String
- location
Changes to this property will trigger replacement.
- member
Changes to this property will trigger replacement.
- name
Changes to this property will trigger replacement.
- project
Changes to this property will trigger replacement.
- role
Changes to this property will trigger replacement.
Supporting Types
CustomTargetTypeIamMemberCondition, CustomTargetTypeIamMemberConditionArgs
- Expression
This property is required. Changes to this property will trigger replacement.
- Title
This property is required. Changes to this property will trigger replacement.
- Description
Changes to this property will trigger replacement.
- Expression
This property is required. Changes to this property will trigger replacement.
- Title
This property is required. Changes to this property will trigger replacement.
- Description
Changes to this property will trigger replacement.
- expression
This property is required. Changes to this property will trigger replacement.
- title
This property is required. Changes to this property will trigger replacement.
- description
Changes to this property will trigger replacement.
- expression
This property is required. Changes to this property will trigger replacement.
- title
This property is required. Changes to this property will trigger replacement.
- description
Changes to this property will trigger replacement.
- expression
This property is required. Changes to this property will trigger replacement.
- title
This property is required. Changes to this property will trigger replacement.
- description
Changes to this property will trigger replacement.
- expression
This property is required. Changes to this property will trigger replacement.
- title
This property is required. Changes to this property will trigger replacement.
- description
Changes to this property will trigger replacement.
Package Details
- Repository
- Google Cloud (GCP) Classic pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
google-beta
Terraform Provider.