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


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

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)


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

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)


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

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


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

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