Struct aws_sdk_securityhub::model::AwsEcsTaskDetails
source · #[non_exhaustive]pub struct AwsEcsTaskDetails { /* private fields */ }
Expand description
Provides details about a task in a cluster.
Implementations§
source§impl AwsEcsTaskDetails
impl AwsEcsTaskDetails
sourcepub fn cluster_arn(&self) -> Option<&str>
pub fn cluster_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the cluster that hosts the task.
sourcepub fn task_definition_arn(&self) -> Option<&str>
pub fn task_definition_arn(&self) -> Option<&str>
The ARN of the task definition that creates the task.
sourcepub fn created_at(&self) -> Option<&str>
pub fn created_at(&self) -> Option<&str>
The Unix timestamp for the time when the task was created. More specifically, it's for the time when the task entered the PENDING
state.
sourcepub fn started_at(&self) -> Option<&str>
pub fn started_at(&self) -> Option<&str>
The Unix timestamp for the time when the task started. More specifically, it's for the time when the task transitioned from the PENDING
state to the RUNNING
state.
sourcepub fn started_by(&self) -> Option<&str>
pub fn started_by(&self) -> Option<&str>
The tag specified when a task is started. If an Amazon ECS service started the task, the startedBy
parameter contains the deployment ID of that service.
sourcepub fn group(&self) -> Option<&str>
pub fn group(&self) -> Option<&str>
The name of the task group that's associated with the task.
sourcepub fn volumes(&self) -> Option<&[AwsEcsTaskVolumeDetails]>
pub fn volumes(&self) -> Option<&[AwsEcsTaskVolumeDetails]>
Details about the data volume that is used in a task definition.
sourcepub fn containers(&self) -> Option<&[AwsEcsContainerDetails]>
pub fn containers(&self) -> Option<&[AwsEcsContainerDetails]>
The containers that are associated with the task.
source§impl AwsEcsTaskDetails
impl AwsEcsTaskDetails
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AwsEcsTaskDetails
.
Trait Implementations§
source§impl Clone for AwsEcsTaskDetails
impl Clone for AwsEcsTaskDetails
source§fn clone(&self) -> AwsEcsTaskDetails
fn clone(&self) -> AwsEcsTaskDetails
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AwsEcsTaskDetails
impl Debug for AwsEcsTaskDetails
source§impl PartialEq<AwsEcsTaskDetails> for AwsEcsTaskDetails
impl PartialEq<AwsEcsTaskDetails> for AwsEcsTaskDetails
source§fn eq(&self, other: &AwsEcsTaskDetails) -> bool
fn eq(&self, other: &AwsEcsTaskDetails) -> bool
self
and other
values to be equal, and is used
by ==
.