Struct aws_sdk_cloudwatchlogs::types::Destination
source · #[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§
source§impl Destination
impl Destination
sourcepub fn destination_name(&self) -> Option<&str>
pub fn destination_name(&self) -> Option<&str>
The name of the destination.
sourcepub fn target_arn(&self) -> Option<&str>
pub fn target_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the physical target where the log events are delivered (for example, a Kinesis stream).
sourcepub fn role_arn(&self) -> Option<&str>
pub fn role_arn(&self) -> Option<&str>
A role for impersonation, used when delivering log events to the target.
sourcepub fn access_policy(&self) -> Option<&str>
pub fn access_policy(&self) -> Option<&str>
An IAM policy document that governs which Amazon Web Services accounts can create subscription filters against this destination.
sourcepub fn creation_time(&self) -> Option<i64>
pub fn creation_time(&self) -> Option<i64>
The creation time of the destination, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
source§impl Destination
impl Destination
sourcepub fn builder() -> DestinationBuilder
pub fn builder() -> DestinationBuilder
Creates a new builder-style object to manufacture Destination
.
Trait Implementations§
source§impl Clone for Destination
impl Clone for Destination
source§fn clone(&self) -> Destination
fn clone(&self) -> Destination
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for Destination
impl Debug for Destination
source§impl PartialEq for Destination
impl PartialEq for Destination
source§fn eq(&self, other: &Destination) -> bool
fn eq(&self, other: &Destination) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for Destination
Auto Trait Implementations§
impl Freeze for Destination
impl RefUnwindSafe for Destination
impl Send for Destination
impl Sync for Destination
impl Unpin for Destination
impl UnwindSafe for Destination
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more