class
Amazonite::CloudWatchLogs::DeliveryDestination
- Amazonite::CloudWatchLogs::DeliveryDestination
- Reference
- Object
Overview
This structure contains information about one delivery destination in your account. A delivery destination is an Amazon Web Services resource that represents an Amazon Web Services service that logs can be sent to. CloudWatch Logs, Amazon S3, Firehose, and X-Ray are supported as delivery destinations.
To configure logs delivery between a supported Amazon Web Services service and a destination, you must do the following:
-
Create a delivery source, which is a logical object that represents the resource that is actually sending the logs. For more information, see PutDeliverySource.
-
Create a delivery destination, which is a logical object that represents the actual delivery destination.
-
If you are delivering logs cross-account, you must use PutDeliveryDestinationPolicy in the destination account to assign an IAM policy to the destination. This policy allows delivery to that destination.
-
Create a delivery by pairing exactly one delivery source and one delivery destination. For more information, see CreateDelivery.
You can configure a single delivery source to send logs to multiple destinations by creating multiple deliveries. You can also create multiple deliveries to configure multiple delivery sources to send logs to the same delivery destination.
Included Modules
- JSON::Serializable
Defined in:
cloudwatch_logs/delivery_destination.crConstructors
- .new(pull : JSON::PullParser)
- .new(name : String | Nil = nil, arn : String | Nil = nil, delivery_destination_type : DeliveryDestinationType | Nil = nil, output_format : OutputFormat | Nil = nil, delivery_destination_configuration : DeliveryDestinationConfiguration | Nil = nil, tags : Hash(String, String) | Nil = nil)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#arn : String | Nil
The Amazon Resource Name (ARN) that uniquely identifies this delivery destination.
-
#arn=(arn : String | Nil)
The Amazon Resource Name (ARN) that uniquely identifies this delivery destination.
-
#delivery_destination_configuration : DeliveryDestinationConfiguration | Nil
A structure that contains the ARN of the Amazon Web Services resource that will receive the logs.
-
#delivery_destination_configuration=(delivery_destination_configuration : DeliveryDestinationConfiguration | Nil)
A structure that contains the ARN of the Amazon Web Services resource that will receive the logs.
-
#delivery_destination_type : DeliveryDestinationType | Nil
Displays whether this delivery destination is CloudWatch Logs, Amazon S3, Firehose, or X-Ray.
-
#delivery_destination_type=(delivery_destination_type : DeliveryDestinationType | Nil)
Displays whether this delivery destination is CloudWatch Logs, Amazon S3, Firehose, or X-Ray.
-
#hash(hasher)
See
Object#hash(hasher) -
#name : String | Nil
The name of this delivery destination.
-
#name=(name : String | Nil)
The name of this delivery destination.
-
#output_format : OutputFormat | Nil
The format of the logs that are sent to this delivery destination.
-
#output_format=(output_format : OutputFormat | Nil)
The format of the logs that are sent to this delivery destination.
-
#tags : Hash(String, String) | Nil
The tags that have been assigned to this delivery destination.
-
#tags=(tags : Hash(String, String) | Nil)
The tags that have been assigned to this delivery destination.
- #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
The Amazon Resource Name (ARN) that uniquely identifies this delivery destination.
The Amazon Resource Name (ARN) that uniquely identifies this delivery destination.
A structure that contains the ARN of the Amazon Web Services resource that will receive the logs.
A structure that contains the ARN of the Amazon Web Services resource that will receive the logs.
Displays whether this delivery destination is CloudWatch Logs, Amazon S3, Firehose, or X-Ray.
Displays whether this delivery destination is CloudWatch Logs, Amazon S3, Firehose, or X-Ray.
The format of the logs that are sent to this delivery destination.
The format of the logs that are sent to this delivery destination.
The tags that have been assigned to this delivery destination.
The tags that have been assigned to this delivery destination.