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 Bedrock, the valid value is ‘APPLICATION_LOGS`.

  • For Amazon CodeWhisperer, the valid value is ‘EVENT_LOGS`.

  • For IAM Identity Center, 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)


4113
4114
4115
4116
4117
4118
4119
4120
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 4113

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)


4113
4114
4115
4116
4117
4118
4119
4120
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 4113

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)


4113
4114
4115
4116
4117
4118
4119
4120
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 4113

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>)


4113
4114
4115
4116
4117
4118
4119
4120
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 4113

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