You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::CloudWatchLogs::Types::Destination

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

Overview

Represents a cross-account destination that receives subscription log events.

Instance Attribute Summary collapse

Instance Attribute Details

#access_policyString

An IAM policy document that governs which AWS accounts can create subscription filters against this destination.

Returns:

  • (String)


672
673
674
675
676
677
678
679
680
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 672

class Destination < Struct.new(
  :destination_name,
  :target_arn,
  :role_arn,
  :access_policy,
  :arn,
  :creation_time)
  include Aws::Structure
end

#arnString

The ARN of this destination.

Returns:

  • (String)


672
673
674
675
676
677
678
679
680
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 672

class Destination < Struct.new(
  :destination_name,
  :target_arn,
  :role_arn,
  :access_policy,
  :arn,
  :creation_time)
  include Aws::Structure
end

#creation_timeInteger

The creation time of the destination, expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC.

Returns:

  • (Integer)


672
673
674
675
676
677
678
679
680
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 672

class Destination < Struct.new(
  :destination_name,
  :target_arn,
  :role_arn,
  :access_policy,
  :arn,
  :creation_time)
  include Aws::Structure
end

#destination_nameString

The name of the destination.

Returns:

  • (String)


672
673
674
675
676
677
678
679
680
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 672

class Destination < Struct.new(
  :destination_name,
  :target_arn,
  :role_arn,
  :access_policy,
  :arn,
  :creation_time)
  include Aws::Structure
end

#role_arnString

A role for impersonation, used when delivering log events to the target.

Returns:

  • (String)


672
673
674
675
676
677
678
679
680
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 672

class Destination < Struct.new(
  :destination_name,
  :target_arn,
  :role_arn,
  :access_policy,
  :arn,
  :creation_time)
  include Aws::Structure
end

#target_arnString

The Amazon Resource Name (ARN) of the physical target where the log events will be delivered (for example, a Kinesis stream).

Returns:

  • (String)


672
673
674
675
676
677
678
679
680
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 672

class Destination < Struct.new(
  :destination_name,
  :target_arn,
  :role_arn,
  :access_policy,
  :arn,
  :creation_time)
  include Aws::Structure
end