AWS Native is in preview. AWS Classic is fully supported.
aws-native.cloudtrail.getChannel
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
A channel receives events from a specific source (such as an on-premises storage solution or application, or a partner event data source), and delivers the events to one or more event data stores. You use channels to ingest events into CloudTrail from sources outside AWS.
Using getChannel
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getChannel(args: GetChannelArgs, opts?: InvokeOptions): Promise<GetChannelResult>
function getChannelOutput(args: GetChannelOutputArgs, opts?: InvokeOptions): Output<GetChannelResult>
def get_channel(channel_arn: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetChannelResult
def get_channel_output(channel_arn: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetChannelResult]
func LookupChannel(ctx *Context, args *LookupChannelArgs, opts ...InvokeOption) (*LookupChannelResult, error)
func LookupChannelOutput(ctx *Context, args *LookupChannelOutputArgs, opts ...InvokeOption) LookupChannelResultOutput
> Note: This function is named LookupChannel
in the Go SDK.
public static class GetChannel
{
public static Task<GetChannelResult> InvokeAsync(GetChannelArgs args, InvokeOptions? opts = null)
public static Output<GetChannelResult> Invoke(GetChannelInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetChannelResult> getChannel(GetChannelArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:cloudtrail:getChannel
arguments:
# arguments dictionary
The following arguments are supported:
- Channel
Arn string
- Channel
Arn string
- channel
Arn String
- channel
Arn string
- channel_
arn str
- channel
Arn String
getChannel Result
The following output properties are available:
- Channel
Arn string - Destinations
List<Pulumi.
Aws Native. Cloud Trail. Outputs. Channel Destination> One or more resources to which events arriving through a channel are logged and stored.
- Name string
- Channel
Arn string - Destinations
[]Channel
Destination One or more resources to which events arriving through a channel are logged and stored.
- Name string
- channel
Arn String - destinations
List<Channel
Destination> One or more resources to which events arriving through a channel are logged and stored.
- name String
- channel
Arn string - destinations
Channel
Destination[] One or more resources to which events arriving through a channel are logged and stored.
- name string
- channel_
arn str - destinations
Sequence[Channel
Destination] One or more resources to which events arriving through a channel are logged and stored.
- name str
- channel
Arn String - destinations List<Property Map>
One or more resources to which events arriving through a channel are logged and stored.
- name String
Supporting Types
ChannelDestination
- Location string
The ARN of a resource that receives events from a channel.
- Type
Pulumi.
Aws Native. Cloud Trail. Channel Destination Type The type of destination for events arriving from a channel.
- Location string
The ARN of a resource that receives events from a channel.
- Type
Channel
Destination Type The type of destination for events arriving from a channel.
- location String
The ARN of a resource that receives events from a channel.
- type
Channel
Destination Type The type of destination for events arriving from a channel.
- location string
The ARN of a resource that receives events from a channel.
- type
Channel
Destination Type The type of destination for events arriving from a channel.
- location str
The ARN of a resource that receives events from a channel.
- type
Channel
Destination Type The type of destination for events arriving from a channel.
- location String
The ARN of a resource that receives events from a channel.
- type "EVENT_DATA_STORE"
The type of destination for events arriving from a channel.
ChannelDestinationType
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.