Struct aws_sdk_cloudwatchlogs::model::Destination [−][src]
#[non_exhaustive]pub struct Destination {
pub destination_name: Option<String>,
pub target_arn: Option<String>,
pub role_arn: Option<String>,
pub access_policy: Option<String>,
pub arn: Option<String>,
pub creation_time: Option<i64>,
}
Expand description
Represents a cross-account destination that receives subscription log events.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.destination_name: Option<String>
The name of the destination.
target_arn: Option<String>
The Amazon Resource Name (ARN) of the physical target where the log events are delivered (for example, a Kinesis stream).
role_arn: Option<String>
A role for impersonation, used when delivering log events to the target.
access_policy: Option<String>
An IAM policy document that governs which Amazon Web Services accounts can create subscription filters against this destination.
arn: Option<String>
The ARN of this destination.
creation_time: Option<i64>
The creation time of the destination, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
Implementations
The name of the destination.
The Amazon Resource Name (ARN) of the physical target where the log events are delivered (for example, a Kinesis stream).
A role for impersonation, used when delivering log events to the target.
An IAM policy document that governs which Amazon Web Services accounts can create subscription filters against this destination.
The creation time of the destination, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
Creates a new builder-style object to manufacture Destination
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for Destination
impl Send for Destination
impl Sync for Destination
impl Unpin for Destination
impl UnwindSafe for Destination
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more