예제 #1
0
 /// <summary>
 /// Get an existing Trigger resource's state with the given name, ID, and optional extra
 /// properties used to qualify the lookup.
 /// </summary>
 ///
 /// <param name="name">The unique name of the resulting resource.</param>
 /// <param name="id">The unique provider ID of the resource to lookup.</param>
 /// <param name="state">Any extra arguments used during the lookup.</param>
 /// <param name="options">A bag of options that control this resource's behavior</param>
 public static Trigger Get(string name, Input <string> id, TriggerState?state = null, CustomResourceOptions?options = null)
 {
     return(new Trigger(name, id, state, options));
 }
예제 #2
0
 private Trigger(string name, Input <string> id, TriggerState?state = null, CustomResourceOptions?options = null)
     : base("aws:codecommit/trigger:Trigger", name, state, MakeResourceOptions(options, id))
 {
 }
예제 #3
0
 private Trigger(string name, Input <string> id, TriggerState?state = null, CustomResourceOptions?options = null)
     : base("gcp:cloudbuild/trigger:Trigger", name, state, MakeResourceOptions(options, id))
 {
 }