AWS Native is in preview. AWS Classic is fully supported.
aws-native.cloudtrail.Channel
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.
Create Channel Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Channel(name: string, args?: ChannelArgs, opts?: CustomResourceOptions);
@overload
def Channel(resource_name: str,
args: Optional[ChannelArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Channel(resource_name: str,
opts: Optional[ResourceOptions] = None,
destinations: Optional[Sequence[ChannelDestinationArgs]] = None,
name: Optional[str] = None,
source: Optional[str] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
func NewChannel(ctx *Context, name string, args *ChannelArgs, opts ...ResourceOption) (*Channel, error)
public Channel(string name, ChannelArgs? args = null, CustomResourceOptions? opts = null)
public Channel(String name, ChannelArgs args)
public Channel(String name, ChannelArgs args, CustomResourceOptions options)
type: aws-native:cloudtrail:Channel
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 ChannelArgs
- 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 ChannelArgs
- 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 ChannelArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ChannelArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ChannelArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Channel Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The Channel resource accepts the following input properties:
- Destinations
List<Pulumi.
Aws Native. Cloud Trail. Inputs. Channel Destination> - One or more resources to which events arriving through a channel are logged and stored.
- Name string
- The name of the channel.
- Source string
- The ARN of an on-premises storage solution or application, or a partner event source.
- List<Pulumi.
Aws Native. Inputs. Tag> - An array of key-value pairs to apply to this resource.
- Destinations
[]Channel
Destination Args - One or more resources to which events arriving through a channel are logged and stored.
- Name string
- The name of the channel.
- Source string
- The ARN of an on-premises storage solution or application, or a partner event source.
- Tag
Args - An array of key-value pairs to apply to this resource.
- 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.
- source String
- The ARN of an on-premises storage solution or application, or a partner event source.
- List<Tag>
- An array of key-value pairs to apply to this resource.
- 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.
- source string
- The ARN of an on-premises storage solution or application, or a partner event source.
- Tag[]
- An array of key-value pairs to apply to this resource.
- destinations
Sequence[Channel
Destination Args] - One or more resources to which events arriving through a channel are logged and stored.
- name str
- The name of the channel.
- source str
- The ARN of an on-premises storage solution or application, or a partner event source.
- Sequence[Tag
Args] - An array of key-value pairs to apply to this resource.
- 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.
- source String
- The ARN of an on-premises storage solution or application, or a partner event source.
- List<Property Map>
- An array of key-value pairs to apply to this resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the Channel resource produces the following output properties:
- Channel
Arn string Ref
returns the ARN of the CloudTrail channel, such asarn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890
.- Id string
- The provider-assigned unique ID for this managed resource.
- Channel
Arn string Ref
returns the ARN of the CloudTrail channel, such asarn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890
.- Id string
- The provider-assigned unique ID for this managed resource.
- channel
Arn String Ref
returns the ARN of the CloudTrail channel, such asarn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890
.- id String
- The provider-assigned unique ID for this managed resource.
- channel
Arn string Ref
returns the ARN of the CloudTrail channel, such asarn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890
.- id string
- The provider-assigned unique ID for this managed resource.
- channel_
arn str Ref
returns the ARN of the CloudTrail channel, such asarn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890
.- id str
- The provider-assigned unique ID for this managed resource.
- channel
Arn String Ref
returns the ARN of the CloudTrail channel, such asarn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890
.- id String
- The provider-assigned unique ID for this managed resource.
Supporting Types
ChannelDestination, ChannelDestinationArgs
- 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, ChannelDestinationTypeArgs
- Event
Data Store - EVENT_DATA_STORE
- Channel
Destination Type Event Data Store - EVENT_DATA_STORE
- Event
Data Store - EVENT_DATA_STORE
- Event
Data Store - EVENT_DATA_STORE
- EVENT_DATA_STORE
- EVENT_DATA_STORE
- "EVENT_DATA_STORE"
- EVENT_DATA_STORE
Tag, TagArgs
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.