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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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`.

Returns:

  • (String)


3806
3807
3808
3809
3810
3811
3812
3813
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 3806

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)


3806
3807
3808
3809
3810
3811
3812
3813
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 3806

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)


3806
3807
3808
3809
3810
3811
3812
3813
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 3806

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]

[1]: docs.aws.amazon.com/general/latest/gr/aws_tagging.html

Returns:

  • (Hash<String,String>)


3806
3807
3808
3809
3810
3811
3812
3813
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 3806

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