[][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 PartialEq<EcsParameters> for EcsParameters[src]

impl Default for EcsParameters[src]

impl Clone for EcsParameters[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for EcsParameters[src]

impl Serialize for EcsParameters[src]

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

Auto Trait Implementations

impl Send for EcsParameters

impl Sync for EcsParameters

Blanket Implementations

impl<T> From for T[src]

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

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

type Owned = T

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self