Help Center/ EventGrid/ User Guide/ Event Channels/ Creating an Event Channel
Updated on 2024-09-06 GMT+08:00

Creating an Event Channel

Create a custom event channel.

Procedure

  1. Log in to the EG console.
  2. In the navigation pane, choose Event Channels.
  3. Click Create Event Channel.
  4. Enter a channel name and description, and click OK. The following table describes the parameters.

    Table 1 Parameters for creating a custom event channel

    Parameter

    Description

    Channel

    Enter a channel name.

    Description

    Describe the channel.

    Enterprise Project

    Select an enterprise project.

    NOTE:

    This cannot be changed once specified.

    Cross-Account

    Whether to receive events from specified accounts.

    NOTE:

    Once enabled, you can specify accounts from which you want to receive events.

    When creating a channel, you need to enable the cross-account function and enter the ID of the target account.

    The cross-account function also needs to be enabled if the same account is used in different regions.

    Account ID

    Enter IDs of authorized accounts, and separate the IDs with commas (,).

    NOTE:

    Enter a maximum of three account IDs and separate them with commas. Example: account1,account2

    Policy

    {
      "Sid": "allow_account_to_put_events",
      "Effect": "Allow",
      "Principal": {
        "IAM": []
      },
      "Action": "eg:channels:putEvents",
      "Resource": "urn:eg:cn-north-7:eeb7f0f587674635a3669e1d63013316:channel:"
    }
    NOTE:

    The policy is read-only and cannot be edited.

    View this channel in the Custom area.

    • Only the event channel description can be modified. To modify it, click Edit in the row that contains the desired event channel.
    • To view details about a custom event channel, click its name in the custom event channel list.