Struct cfn::aws::ecs::ServiceProperties
[−]
[src]
pub struct ServiceProperties { pub cluster: Option<Value<String>>, pub deployment_configuration: Option<Value<DeploymentConfiguration>>, pub desired_count: Option<Value<u32>>, pub health_check_grace_period_seconds: Option<Value<u32>>, pub launch_type: Option<Value<String>>, pub load_balancers: Option<ValueList<LoadBalancer>>, pub network_configuration: Option<Value<NetworkConfiguration>>, pub placement_constraints: Option<ValueList<PlacementConstraint>>, pub placement_strategies: Option<ValueList<PlacementStrategy>>, pub platform_version: Option<Value<String>>, pub role: Option<Value<String>>, pub service_name: Option<Value<String>>, pub task_definition: Value<String>, }
Properties for the Service
resource.
Fields
cluster: Option<Value<String>>
Property Cluster
.
Update type: Immutable. AWS CloudFormation replaces the resource when you change this property.
deployment_configuration: Option<Value<DeploymentConfiguration>>
Property DeploymentConfiguration
.
Update type: Mutable. AWS CloudFormation doesn't replace the resource when you change this property.
desired_count: Option<Value<u32>>
Property DesiredCount
.
Update type: Mutable. AWS CloudFormation doesn't replace the resource when you change this property.
health_check_grace_period_seconds: Option<Value<u32>>
Property HealthCheckGracePeriodSeconds
.
Update type: Mutable. AWS CloudFormation doesn't replace the resource when you change this property.
launch_type: Option<Value<String>>
Property LaunchType
.
Update type: Immutable. AWS CloudFormation replaces the resource when you change this property.
load_balancers: Option<ValueList<LoadBalancer>>
Property LoadBalancers
.
Update type: Immutable. AWS CloudFormation replaces the resource when you change this property.
network_configuration: Option<Value<NetworkConfiguration>>
Property NetworkConfiguration
.
Update type: Mutable. AWS CloudFormation doesn't replace the resource when you change this property.
placement_constraints: Option<ValueList<PlacementConstraint>>
Property PlacementConstraints
.
Update type: Immutable. AWS CloudFormation replaces the resource when you change this property.
placement_strategies: Option<ValueList<PlacementStrategy>>
Property PlacementStrategies
.
Update type: Immutable. AWS CloudFormation replaces the resource when you change this property.
platform_version: Option<Value<String>>
Property PlatformVersion
.
Update type: Immutable. AWS CloudFormation replaces the resource when you change this property.
role: Option<Value<String>>
Property Role
.
Update type: Immutable. AWS CloudFormation replaces the resource when you change this property.
service_name: Option<Value<String>>
Property ServiceName
.
Update type: Immutable. AWS CloudFormation replaces the resource when you change this property.
task_definition: Value<String>
Property TaskDefinition
.
Update type: Mutable. AWS CloudFormation doesn't replace the resource when you change this property.
Trait Implementations
impl Debug for ServiceProperties
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Serialize for ServiceProperties
[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 ServiceProperties
[src]
fn deserialize<D: Deserializer<'de>>(
d: D
) -> Result<ServiceProperties, D::Error>
[src]
d: D
) -> Result<ServiceProperties, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl From<ServiceProperties> for Service
[src]
fn from(properties: ServiceProperties) -> Service
[src]
Performs the conversion.