gcp.clouddeploy.DeliveryPipelineIamBinding
Explore with Pulumi AI
Create DeliveryPipelineIamBinding Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DeliveryPipelineIamBinding(name: string, args: DeliveryPipelineIamBindingArgs, opts?: CustomResourceOptions);
@overload
def DeliveryPipelineIamBinding(resource_name: str,
args: DeliveryPipelineIamBindingArgs,
opts: Optional[ResourceOptions] = None)
@overload
def DeliveryPipelineIamBinding(resource_name: str,
opts: Optional[ResourceOptions] = None,
members: Optional[Sequence[str]] = None,
role: Optional[str] = None,
condition: Optional[DeliveryPipelineIamBindingConditionArgs] = None,
location: Optional[str] = None,
name: Optional[str] = None,
project: Optional[str] = None)
func NewDeliveryPipelineIamBinding(ctx *Context, name string, args DeliveryPipelineIamBindingArgs, opts ...ResourceOption) (*DeliveryPipelineIamBinding, error)
public DeliveryPipelineIamBinding(string name, DeliveryPipelineIamBindingArgs args, CustomResourceOptions? opts = null)
public DeliveryPipelineIamBinding(String name, DeliveryPipelineIamBindingArgs args)
public DeliveryPipelineIamBinding(String name, DeliveryPipelineIamBindingArgs args, CustomResourceOptions options)
type: gcp:clouddeploy:DeliveryPipelineIamBinding
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args DeliveryPipelineIamBindingArgs
- 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 DeliveryPipelineIamBindingArgs
- 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 DeliveryPipelineIamBindingArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DeliveryPipelineIamBindingArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DeliveryPipelineIamBindingArgs
- 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 deliveryPipelineIamBindingResource = new Gcp.CloudDeploy.DeliveryPipelineIamBinding("deliveryPipelineIamBindingResource", new()
{
Members = new[]
{
"string",
},
Role = "string",
Condition = new Gcp.CloudDeploy.Inputs.DeliveryPipelineIamBindingConditionArgs
{
Expression = "string",
Title = "string",
Description = "string",
},
Location = "string",
Name = "string",
Project = "string",
});
example, err := clouddeploy.NewDeliveryPipelineIamBinding(ctx, "deliveryPipelineIamBindingResource", &clouddeploy.DeliveryPipelineIamBindingArgs{
Members: pulumi.StringArray{
pulumi.String("string"),
},
Role: pulumi.String("string"),
Condition: &clouddeploy.DeliveryPipelineIamBindingConditionArgs{
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 deliveryPipelineIamBindingResource = new DeliveryPipelineIamBinding("deliveryPipelineIamBindingResource", DeliveryPipelineIamBindingArgs.builder()
.members("string")
.role("string")
.condition(DeliveryPipelineIamBindingConditionArgs.builder()
.expression("string")
.title("string")
.description("string")
.build())
.location("string")
.name("string")
.project("string")
.build());
delivery_pipeline_iam_binding_resource = gcp.clouddeploy.DeliveryPipelineIamBinding("deliveryPipelineIamBindingResource",
members=["string"],
role="string",
condition={
"expression": "string",
"title": "string",
"description": "string",
},
location="string",
name="string",
project="string")
const deliveryPipelineIamBindingResource = new gcp.clouddeploy.DeliveryPipelineIamBinding("deliveryPipelineIamBindingResource", {
members: ["string"],
role: "string",
condition: {
expression: "string",
title: "string",
description: "string",
},
location: "string",
name: "string",
project: "string",
});
type: gcp:clouddeploy:DeliveryPipelineIamBinding
properties:
condition:
description: string
expression: string
title: string
location: string
members:
- string
name: string
project: string
role: string
DeliveryPipelineIamBinding 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 DeliveryPipelineIamBinding resource accepts the following input properties:
Outputs
All input properties are implicitly available as output properties. Additionally, the DeliveryPipelineIamBinding resource produces the following output properties:
Look up Existing DeliveryPipelineIamBinding Resource
Get an existing DeliveryPipelineIamBinding 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?: DeliveryPipelineIamBindingState, opts?: CustomResourceOptions): DeliveryPipelineIamBinding
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
condition: Optional[DeliveryPipelineIamBindingConditionArgs] = None,
etag: Optional[str] = None,
location: Optional[str] = None,
members: Optional[Sequence[str]] = None,
name: Optional[str] = None,
project: Optional[str] = None,
role: Optional[str] = None) -> DeliveryPipelineIamBinding
func GetDeliveryPipelineIamBinding(ctx *Context, name string, id IDInput, state *DeliveryPipelineIamBindingState, opts ...ResourceOption) (*DeliveryPipelineIamBinding, error)
public static DeliveryPipelineIamBinding Get(string name, Input<string> id, DeliveryPipelineIamBindingState? state, CustomResourceOptions? opts = null)
public static DeliveryPipelineIamBinding get(String name, Output<String> id, DeliveryPipelineIamBindingState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
- 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.
Supporting Types
DeliveryPipelineIamBindingCondition, DeliveryPipelineIamBindingConditionArgs
- Expression string
- Title string
- Description string
- Expression string
- Title string
- Description string
- expression String
- title String
- description String
- expression string
- title string
- description string
- expression str
- title str
- description str
- expression String
- title String
- description String
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.