AWSLogsDeliveryDestination

Objective-C

@interface AWSLogsDeliveryDestination

Swift

class AWSLogsDeliveryDestination

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, are supported as Firehose 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.

  • arn

    The Amazon Resource Name (ARN) that uniquely identifies this delivery destination.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable arn;

    Swift

    var arn: String? { get set }
  • A structure that contains the ARN of the Amazon Web Services resource that will receive the logs.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSLogsDeliveryDestinationConfiguration *_Nullable deliveryDestinationConfiguration;

    Swift

    var deliveryDestinationConfiguration: AWSLogsDeliveryDestinationConfiguration? { get set }
  • Displays whether this delivery destination is CloudWatch Logs, Amazon S3, or Firehose.

    Declaration

    Objective-C

    @property (nonatomic) AWSLogsDeliveryDestinationType deliveryDestinationType;

    Swift

    var deliveryDestinationType: AWSLogsDeliveryDestinationType { get set }
  • The name of this delivery destination.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable name;

    Swift

    var name: String? { get set }
  • The format of the logs that are sent to this delivery destination.

    Declaration

    Objective-C

    @property (nonatomic) AWSLogsOutputFormat outputFormat;

    Swift

    var outputFormat: AWSLogsOutputFormat { get set }
  • The tags that have been assigned to this delivery destination.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSDictionary<NSString *, NSString *> *_Nullable tags;

    Swift

    var tags: [String : String]? { get set }