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 Ref
returns the ARN of the CloudTrail channel, such asarn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890
.
- Channel
Arn string Ref
returns the ARN of the CloudTrail channel, such asarn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890
.
- channel
Arn String Ref
returns the ARN of the CloudTrail channel, such asarn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890
.
- channel
Arn string Ref
returns the ARN of the CloudTrail channel, such asarn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890
.
- channel_
arn str Ref
returns the ARN of the CloudTrail channel, such asarn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890
.
- channel
Arn String Ref
returns the ARN of the CloudTrail channel, such asarn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890
.
getChannel Result
The following output properties are available:
- Channel
Arn string Ref
returns the ARN of the CloudTrail channel, such asarn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890
.- 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
- The name of the channel.
- Channel
Arn string Ref
returns the ARN of the CloudTrail channel, such asarn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890
.- Destinations
[]Channel
Destination - One or more resources to which events arriving through a channel are logged and stored.
- Name string
- The name of the channel.
- channel
Arn String Ref
returns the ARN of the CloudTrail channel, such asarn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890
.- destinations
List<Channel
Destination> - One or more resources to which events arriving through a channel are logged and stored.
- name String
- The name of the channel.
- channel
Arn string Ref
returns the ARN of the CloudTrail channel, such asarn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890
.- destinations
Channel
Destination[] - One or more resources to which events arriving through a channel are logged and stored.
- name string
- The name of the channel.
- channel_
arn str Ref
returns the ARN of the CloudTrail channel, such asarn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890
.- destinations
Sequence[Channel
Destination] - One or more resources to which events arriving through a channel are logged and stored.
- name str
- The name of the channel.
- channel
Arn String Ref
returns the ARN of the CloudTrail channel, such asarn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890
.- destinations List<Property Map>
- One or more resources to which events arriving through a channel are logged and stored.
- name String
- The name of the channel.
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.