libZSservicesZSamazonka-cloudwatch-logsZSamazonka-cloudwatch-logs
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CloudWatchLogs.Types.Destination

Description

 
Synopsis

Documentation

data Destination Source #

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

See: newDestination smart constructor.

Constructors

Destination' 

Fields

  • targetArn :: Maybe Text

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

  • creationTime :: Maybe Natural

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

  • arn :: Maybe Text

    The ARN of this destination.

  • accessPolicy :: Maybe Text

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

  • destinationName :: Maybe Text

    The name of the destination.

  • roleArn :: Maybe Text

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

Instances

Instances details
Eq Destination Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.Destination

Read Destination Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.Destination

Show Destination Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.Destination

Generic Destination Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.Destination

Associated Types

type Rep Destination :: Type -> Type #

NFData Destination Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.Destination

Methods

rnf :: Destination -> () #

Hashable Destination Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.Destination

FromJSON Destination Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.Destination

type Rep Destination Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.Destination

type Rep Destination = D1 ('MetaData "Destination" "Amazonka.CloudWatchLogs.Types.Destination" "libZSservicesZSamazonka-cloudwatch-logsZSamazonka-cloudwatch-logs" 'False) (C1 ('MetaCons "Destination'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "targetArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "creationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "accessPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "destinationName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "roleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

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:targetArn:Destination', destination_targetArn - The Amazon Resource Name (ARN) of the physical target where the log events are delivered (for example, a Kinesis stream).

$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:arn:Destination', destination_arn - The ARN of this destination.

$sel:accessPolicy:Destination', destination_accessPolicy - An IAM policy document that governs which Amazon Web Services accounts can create subscription filters against this destination.

$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.

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

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_arn :: Lens' Destination (Maybe Text) Source #

The ARN of this destination.

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_roleArn :: Lens' Destination (Maybe Text) Source #

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