| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.CloudWatchLogs.Types.Destination
Description
Synopsis
- data Destination = Destination' {}
- newDestination :: Destination
- destination_accessPolicy :: Lens' Destination (Maybe Text)
- destination_arn :: Lens' Destination (Maybe Text)
- destination_creationTime :: Lens' Destination (Maybe Natural)
- destination_destinationName :: Lens' Destination (Maybe Text)
- destination_roleArn :: Lens' Destination (Maybe Text)
- destination_targetArn :: Lens' Destination (Maybe Text)
Documentation
data Destination Source #
Represents a cross-account destination that receives subscription log events.
See: newDestination smart constructor.
Constructors
| Destination' | |
Fields
| |
Instances
newDestination :: Destination Source #
Create a value of Destination with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:accessPolicy:Destination', destination_accessPolicy - An IAM policy document that governs which Amazon Web Services accounts
can create subscription filters against this destination.
$sel:arn:Destination', destination_arn - The ARN of this destination.
$sel:creationTime:Destination', destination_creationTime - The creation time of the destination, expressed as the number of
milliseconds after Jan 1, 1970 00:00:00 UTC.
$sel:destinationName:Destination', destination_destinationName - The name of the destination.
$sel:roleArn:Destination', destination_roleArn - A role for impersonation, used when delivering log events to the target.
$sel:targetArn:Destination', destination_targetArn - The Amazon Resource Name (ARN) of the physical target where the log
events are delivered (for example, a Kinesis stream).
destination_accessPolicy :: Lens' Destination (Maybe Text) Source #
An IAM policy document that governs which Amazon Web Services accounts can create subscription filters against this destination.
destination_arn :: Lens' Destination (Maybe Text) Source #
The ARN of this destination.
destination_creationTime :: Lens' Destination (Maybe Natural) Source #
The creation time of the destination, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
destination_destinationName :: Lens' Destination (Maybe Text) Source #
The name of the destination.
destination_roleArn :: Lens' Destination (Maybe Text) Source #
A role for impersonation, used when delivering log events to the target.
destination_targetArn :: Lens' Destination (Maybe Text) Source #
The Amazon Resource Name (ARN) of the physical target where the log events are delivered (for example, a Kinesis stream).