Class: Aws::CloudWatchLogs::Types::PutDeliverySourceRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#log_typeString

Defines the type of log that the source is sending.

  • For Amazon CodeWhisperer, the valid value is EVENT_LOGS.

  • For IAM Identity Centerr, the valid value is ERROR_LOGS.

  • For Amazon WorkMail, the valid values are ACCESS_CONTROL_LOGS, AUTHENTICATION_LOGS, WORKMAIL_AVAILABILITY_PROVIDER_LOGS, and WORKMAIL_MAILBOX_ACCESS_LOGS.

Returns:

  • (String)


3830
3831
3832
3833
3834
3835
3836
3837
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 3830

class PutDeliverySourceRequest < Struct.new(
  :name,
  :resource_arn,
  :log_type,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

A name for this delivery source. This name must be unique for all delivery sources in your account.

Returns:

  • (String)


3830
3831
3832
3833
3834
3835
3836
3837
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 3830

class PutDeliverySourceRequest < Struct.new(
  :name,
  :resource_arn,
  :log_type,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#resource_arnString

The ARN of the Amazon Web Services resource that is generating and sending logs. For example, arn:aws:workmail:us-east-1:123456789012:organization/m-1234EXAMPLEabcd1234abcd1234abcd1234

Returns:

  • (String)


3830
3831
3832
3833
3834
3835
3836
3837
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 3830

class PutDeliverySourceRequest < Struct.new(
  :name,
  :resource_arn,
  :log_type,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tagsHash<String,String>

An optional list of key-value pairs to associate with the resource.

For more information about tagging, see Tagging Amazon Web Services resources

Returns:

  • (Hash<String,String>)


3830
3831
3832
3833
3834
3835
3836
3837
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 3830

class PutDeliverySourceRequest < Struct.new(
  :name,
  :resource_arn,
  :log_type,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end