Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.eventarc/v1.ChannelConnection
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Create a new ChannelConnection in a particular project and location.
Create ChannelConnection Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ChannelConnection(name: string, args: ChannelConnectionArgs, opts?: CustomResourceOptions);@overload
def ChannelConnection(resource_name: str,
                      args: ChannelConnectionArgs,
                      opts: Optional[ResourceOptions] = None)
@overload
def ChannelConnection(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      channel: Optional[str] = None,
                      channel_connection_id: Optional[str] = None,
                      activation_token: Optional[str] = None,
                      location: Optional[str] = None,
                      name: Optional[str] = None,
                      project: Optional[str] = None)func NewChannelConnection(ctx *Context, name string, args ChannelConnectionArgs, opts ...ResourceOption) (*ChannelConnection, error)public ChannelConnection(string name, ChannelConnectionArgs args, CustomResourceOptions? opts = null)
public ChannelConnection(String name, ChannelConnectionArgs args)
public ChannelConnection(String name, ChannelConnectionArgs args, CustomResourceOptions options)
type: google-native:eventarc/v1:ChannelConnection
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 ChannelConnectionArgs
- 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 ChannelConnectionArgs
- 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 ChannelConnectionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ChannelConnectionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ChannelConnectionArgs
- 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 channelConnectionResource = new GoogleNative.Eventarc.V1.ChannelConnection("channelConnectionResource", new()
{
    Channel = "string",
    ChannelConnectionId = "string",
    ActivationToken = "string",
    Location = "string",
    Name = "string",
    Project = "string",
});
example, err := eventarc.NewChannelConnection(ctx, "channelConnectionResource", &eventarc.ChannelConnectionArgs{
	Channel:             pulumi.String("string"),
	ChannelConnectionId: pulumi.String("string"),
	ActivationToken:     pulumi.String("string"),
	Location:            pulumi.String("string"),
	Name:                pulumi.String("string"),
	Project:             pulumi.String("string"),
})
var channelConnectionResource = new ChannelConnection("channelConnectionResource", ChannelConnectionArgs.builder()
    .channel("string")
    .channelConnectionId("string")
    .activationToken("string")
    .location("string")
    .name("string")
    .project("string")
    .build());
channel_connection_resource = google_native.eventarc.v1.ChannelConnection("channelConnectionResource",
    channel="string",
    channel_connection_id="string",
    activation_token="string",
    location="string",
    name="string",
    project="string")
const channelConnectionResource = new google_native.eventarc.v1.ChannelConnection("channelConnectionResource", {
    channel: "string",
    channelConnectionId: "string",
    activationToken: "string",
    location: "string",
    name: "string",
    project: "string",
});
type: google-native:eventarc/v1:ChannelConnection
properties:
    activationToken: string
    channel: string
    channelConnectionId: string
    location: string
    name: string
    project: string
ChannelConnection 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 ChannelConnection resource accepts the following input properties:
- Channel string
- The name of the connected subscriber Channel. This is a weak reference to avoid cross project and cross accounts references. This must be in projects/{project}/location/{location}/channels/{channel_id}format.
- ChannelConnection stringId 
- Required. The user-provided ID to be assigned to the channel connection.
- ActivationToken string
- Input only. Activation token for the channel. The token will be used during the creation of ChannelConnection to bind the channel with the provider project. This field will not be stored in the provider resource.
- Location string
- Name string
- The name of the connection.
- Project string
- Channel string
- The name of the connected subscriber Channel. This is a weak reference to avoid cross project and cross accounts references. This must be in projects/{project}/location/{location}/channels/{channel_id}format.
- ChannelConnection stringId 
- Required. The user-provided ID to be assigned to the channel connection.
- ActivationToken string
- Input only. Activation token for the channel. The token will be used during the creation of ChannelConnection to bind the channel with the provider project. This field will not be stored in the provider resource.
- Location string
- Name string
- The name of the connection.
- Project string
- channel String
- The name of the connected subscriber Channel. This is a weak reference to avoid cross project and cross accounts references. This must be in projects/{project}/location/{location}/channels/{channel_id}format.
- channelConnection StringId 
- Required. The user-provided ID to be assigned to the channel connection.
- activationToken String
- Input only. Activation token for the channel. The token will be used during the creation of ChannelConnection to bind the channel with the provider project. This field will not be stored in the provider resource.
- location String
- name String
- The name of the connection.
- project String
- channel string
- The name of the connected subscriber Channel. This is a weak reference to avoid cross project and cross accounts references. This must be in projects/{project}/location/{location}/channels/{channel_id}format.
- channelConnection stringId 
- Required. The user-provided ID to be assigned to the channel connection.
- activationToken string
- Input only. Activation token for the channel. The token will be used during the creation of ChannelConnection to bind the channel with the provider project. This field will not be stored in the provider resource.
- location string
- name string
- The name of the connection.
- project string
- channel str
- The name of the connected subscriber Channel. This is a weak reference to avoid cross project and cross accounts references. This must be in projects/{project}/location/{location}/channels/{channel_id}format.
- channel_connection_ strid 
- Required. The user-provided ID to be assigned to the channel connection.
- activation_token str
- Input only. Activation token for the channel. The token will be used during the creation of ChannelConnection to bind the channel with the provider project. This field will not be stored in the provider resource.
- location str
- name str
- The name of the connection.
- project str
- channel String
- The name of the connected subscriber Channel. This is a weak reference to avoid cross project and cross accounts references. This must be in projects/{project}/location/{location}/channels/{channel_id}format.
- channelConnection StringId 
- Required. The user-provided ID to be assigned to the channel connection.
- activationToken String
- Input only. Activation token for the channel. The token will be used during the creation of ChannelConnection to bind the channel with the provider project. This field will not be stored in the provider resource.
- location String
- name String
- The name of the connection.
- project String
Outputs
All input properties are implicitly available as output properties. Additionally, the ChannelConnection resource produces the following output properties:
- CreateTime string
- The creation time.
- Id string
- The provider-assigned unique ID for this managed resource.
- Uid string
- Server assigned ID of the resource. The server guarantees uniqueness and immutability until deleted.
- UpdateTime string
- The last-modified time.
- CreateTime string
- The creation time.
- Id string
- The provider-assigned unique ID for this managed resource.
- Uid string
- Server assigned ID of the resource. The server guarantees uniqueness and immutability until deleted.
- UpdateTime string
- The last-modified time.
- createTime String
- The creation time.
- id String
- The provider-assigned unique ID for this managed resource.
- uid String
- Server assigned ID of the resource. The server guarantees uniqueness and immutability until deleted.
- updateTime String
- The last-modified time.
- createTime string
- The creation time.
- id string
- The provider-assigned unique ID for this managed resource.
- uid string
- Server assigned ID of the resource. The server guarantees uniqueness and immutability until deleted.
- updateTime string
- The last-modified time.
- create_time str
- The creation time.
- id str
- The provider-assigned unique ID for this managed resource.
- uid str
- Server assigned ID of the resource. The server guarantees uniqueness and immutability until deleted.
- update_time str
- The last-modified time.
- createTime String
- The creation time.
- id String
- The provider-assigned unique ID for this managed resource.
- uid String
- Server assigned ID of the resource. The server guarantees uniqueness and immutability until deleted.
- updateTime String
- The last-modified time.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.