[][src]Struct rusoto_events::EcsParameters

pub struct EcsParameters {
    pub group: Option<String>,
    pub launch_type: Option<String>,
    pub network_configuration: Option<NetworkConfiguration>,
    pub platform_version: Option<String>,
    pub task_count: Option<i64>,
    pub task_definition_arn: String,
}

The custom parameters to be used when the target is an Amazon ECS task.

Fields

group: Option<String>

Specifies an ECS task group for the task. The maximum length is 255 characters.

launch_type: Option<String>

Specifies the launch type on which your task is running. The launch type that you specify here must match one of the launch type (compatibilities) of the target task. The FARGATE value is supported only in the Regions where AWS Fargate with Amazon ECS is supported. For more information, see AWS Fargate on Amazon ECS in the Amazon Elastic Container Service Developer Guide.

network_configuration: Option<NetworkConfiguration>

Use this structure if the ECS task uses the awsvpc network mode. This structure specifies the VPC subnets and security groups associated with the task, and whether a public IP address is to be used. This structure is required if LaunchType is FARGATE because the awsvpc mode is required for Fargate tasks.

If you specify NetworkConfiguration when the target ECS task does not use the awsvpc network mode, the task fails.

platform_version: Option<String>

Specifies the platform version for the task. Specify only the numeric portion of the platform version, such as 1.1.0.

This structure is used only if LaunchType is FARGATE. For more information about valid platform versions, see AWS Fargate Platform Versions in the Amazon Elastic Container Service Developer Guide.

task_count: Option<i64>

The number of tasks to create based on TaskDefinition. The default is 1.

task_definition_arn: String

The ARN of the task definition to use if the event target is an Amazon ECS task.

Trait Implementations

impl Clone for EcsParameters[src]

impl Debug for EcsParameters[src]

impl Default for EcsParameters[src]

impl<'de> Deserialize<'de> for EcsParameters[src]

impl PartialEq<EcsParameters> for EcsParameters[src]

impl Serialize for EcsParameters[src]

impl StructuralPartialEq for EcsParameters[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.