Struct cfn::aws::ecs::TaskDefinitionProperties
[−]
[src]
pub struct TaskDefinitionProperties { pub container_definitions: Option<ValueList<ContainerDefinition>>, pub cpu: Option<Value<String>>, pub execution_role_arn: Option<Value<String>>, pub family: Option<Value<String>>, pub memory: Option<Value<String>>, pub network_mode: Option<Value<String>>, pub placement_constraints: Option<ValueList<TaskDefinitionPlacementConstraint>>, pub requires_compatibilities: Option<ValueList<String>>, pub task_role_arn: Option<Value<String>>, pub volumes: Option<ValueList<Volume>>, }
Properties for the TaskDefinition
resource.
Fields
container_definitions: Option<ValueList<ContainerDefinition>>
Property ContainerDefinitions
.
Update type: Immutable. AWS CloudFormation replaces the resource when you change this property.
cpu: Option<Value<String>>
Property Cpu
.
Update type: Immutable. AWS CloudFormation replaces the resource when you change this property.
execution_role_arn: Option<Value<String>>
Property ExecutionRoleArn
.
Update type: Immutable. AWS CloudFormation replaces the resource when you change this property.
family: Option<Value<String>>
Property Family
.
Update type: Immutable. AWS CloudFormation replaces the resource when you change this property.
memory: Option<Value<String>>
Property Memory
.
Update type: Immutable. AWS CloudFormation replaces the resource when you change this property.
network_mode: Option<Value<String>>
Property NetworkMode
.
Update type: Immutable. AWS CloudFormation replaces the resource when you change this property.
placement_constraints: Option<ValueList<TaskDefinitionPlacementConstraint>>
Property PlacementConstraints
.
Update type: Immutable. AWS CloudFormation replaces the resource when you change this property.
requires_compatibilities: Option<ValueList<String>>
Property RequiresCompatibilities
.
Update type: Immutable. AWS CloudFormation replaces the resource when you change this property.
task_role_arn: Option<Value<String>>
Property TaskRoleArn
.
Update type: Immutable. AWS CloudFormation replaces the resource when you change this property.
volumes: Option<ValueList<Volume>>
Property Volumes
.
Update type: Mutable. AWS CloudFormation doesn't replace the resource when you change this property.
Trait Implementations
impl Debug for TaskDefinitionProperties
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Serialize for TaskDefinitionProperties
[src]
fn serialize<S: Serializer>(&self, s: S) -> Result<S::Ok, S::Error>
[src]
Serialize this value into the given Serde serializer. Read more
impl<'de> Deserialize<'de> for TaskDefinitionProperties
[src]
fn deserialize<D: Deserializer<'de>>(
d: D
) -> Result<TaskDefinitionProperties, D::Error>
[src]
d: D
) -> Result<TaskDefinitionProperties, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl From<TaskDefinitionProperties> for TaskDefinition
[src]
fn from(properties: TaskDefinitionProperties) -> TaskDefinition
[src]
Performs the conversion.