#[non_exhaustive]pub struct PutAccountSettingDefaultInput {
pub name: Option<SettingName>,
pub value: Option<String>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.name: Option<SettingName>
The resource name for which to modify the account setting. If you specify serviceLongArnFormat
, the ARN for your Amazon ECS services is affected. If you specify taskLongArnFormat
, the ARN and resource ID for your Amazon ECS tasks is affected. If you specify containerInstanceLongArnFormat
, the ARN and resource ID for your Amazon ECS container instances is affected. If you specify awsvpcTrunking
, the ENI limit for your Amazon ECS container instances is affected. If you specify containerInsights
, the default setting for Amazon Web Services CloudWatch Container Insights for your clusters is affected. If you specify tagResourceAuthorization
, the opt-in option for tagging resources on creation is affected. For information about the opt-in timeline, see Tagging authorization timeline in the Amazon ECS Developer Guide. If you specify fargateTaskRetirementWaitPeriod
, the default wait time to retire a Fargate task due to required maintenance is affected.
When you specify fargateFIPSMode
for the name
and enabled
for the value
, Fargate uses FIPS-140 compliant cryptographic algorithms on your tasks. For more information about FIPS-140 compliance with Fargate, see Amazon Web Services Fargate Federal Information Processing Standard (FIPS) 140-2 compliance in the Amazon Elastic Container Service Developer Guide.
When Amazon Web Services determines that a security or infrastructure update is needed for an Amazon ECS task hosted on Fargate, the tasks need to be stopped and new tasks launched to replace them. Use fargateTaskRetirementWaitPeriod
to set the wait time to retire a Fargate task to the default. For information about the Fargate tasks maintenance, see Amazon Web Services Fargate task maintenance in the Amazon ECS Developer Guide.
The guardDutyActivate
parameter is read-only in Amazon ECS and indicates whether Amazon ECS Runtime Monitoring is enabled or disabled by your security administrator in your Amazon ECS account. Amazon GuardDuty controls this account setting on your behalf. For more information, see Protecting Amazon ECS workloads with Amazon ECS Runtime Monitoring.
value: Option<String>
The account setting value for the specified principal ARN. Accepted values are enabled
, disabled
, on
, and off
.
When you specify fargateTaskRetirementWaitPeriod
for the name
, the following are the valid values:
-
0
- Amazon Web Services sends the notification, and immediately retires the affected tasks. -
7
- Amazon Web Services sends the notification, and waits 7 calendar days to retire the tasks. -
14
- Amazon Web Services sends the notification, and waits 14 calendar days to retire the tasks.
Implementations§
source§impl PutAccountSettingDefaultInput
impl PutAccountSettingDefaultInput
sourcepub fn name(&self) -> Option<&SettingName>
pub fn name(&self) -> Option<&SettingName>
The resource name for which to modify the account setting. If you specify serviceLongArnFormat
, the ARN for your Amazon ECS services is affected. If you specify taskLongArnFormat
, the ARN and resource ID for your Amazon ECS tasks is affected. If you specify containerInstanceLongArnFormat
, the ARN and resource ID for your Amazon ECS container instances is affected. If you specify awsvpcTrunking
, the ENI limit for your Amazon ECS container instances is affected. If you specify containerInsights
, the default setting for Amazon Web Services CloudWatch Container Insights for your clusters is affected. If you specify tagResourceAuthorization
, the opt-in option for tagging resources on creation is affected. For information about the opt-in timeline, see Tagging authorization timeline in the Amazon ECS Developer Guide. If you specify fargateTaskRetirementWaitPeriod
, the default wait time to retire a Fargate task due to required maintenance is affected.
When you specify fargateFIPSMode
for the name
and enabled
for the value
, Fargate uses FIPS-140 compliant cryptographic algorithms on your tasks. For more information about FIPS-140 compliance with Fargate, see Amazon Web Services Fargate Federal Information Processing Standard (FIPS) 140-2 compliance in the Amazon Elastic Container Service Developer Guide.
When Amazon Web Services determines that a security or infrastructure update is needed for an Amazon ECS task hosted on Fargate, the tasks need to be stopped and new tasks launched to replace them. Use fargateTaskRetirementWaitPeriod
to set the wait time to retire a Fargate task to the default. For information about the Fargate tasks maintenance, see Amazon Web Services Fargate task maintenance in the Amazon ECS Developer Guide.
The guardDutyActivate
parameter is read-only in Amazon ECS and indicates whether Amazon ECS Runtime Monitoring is enabled or disabled by your security administrator in your Amazon ECS account. Amazon GuardDuty controls this account setting on your behalf. For more information, see Protecting Amazon ECS workloads with Amazon ECS Runtime Monitoring.
sourcepub fn value(&self) -> Option<&str>
pub fn value(&self) -> Option<&str>
The account setting value for the specified principal ARN. Accepted values are enabled
, disabled
, on
, and off
.
When you specify fargateTaskRetirementWaitPeriod
for the name
, the following are the valid values:
-
0
- Amazon Web Services sends the notification, and immediately retires the affected tasks. -
7
- Amazon Web Services sends the notification, and waits 7 calendar days to retire the tasks. -
14
- Amazon Web Services sends the notification, and waits 14 calendar days to retire the tasks.
source§impl PutAccountSettingDefaultInput
impl PutAccountSettingDefaultInput
sourcepub fn builder() -> PutAccountSettingDefaultInputBuilder
pub fn builder() -> PutAccountSettingDefaultInputBuilder
Creates a new builder-style object to manufacture PutAccountSettingDefaultInput
.
Trait Implementations§
source§impl Clone for PutAccountSettingDefaultInput
impl Clone for PutAccountSettingDefaultInput
source§fn clone(&self) -> PutAccountSettingDefaultInput
fn clone(&self) -> PutAccountSettingDefaultInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for PutAccountSettingDefaultInput
impl PartialEq for PutAccountSettingDefaultInput
source§fn eq(&self, other: &PutAccountSettingDefaultInput) -> bool
fn eq(&self, other: &PutAccountSettingDefaultInput) -> bool
self
and other
values to be equal, and is used
by ==
.