libZSservicesZSamazonka-securityhubZSamazonka-securityhub
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.SecurityHub.Types.AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails

Description

 
Synopsis

Documentation

data AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails Source #

The container health check command and associated configuration parameters for the container.

See: newAwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails smart constructor.

Constructors

AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails' 

Fields

  • command :: Maybe [Text]

    The command that the container runs to determine whether it is healthy.

  • startPeriod :: Maybe Int

    The optional grace period in seconds that allows containers time to bootstrap before failed health checks count towards the maximum number of retries.

  • retries :: Maybe Int

    The number of times to retry a failed health check before the container is considered unhealthy. The default value is 3.

  • interval :: Maybe Int

    The time period in seconds between each health check execution. The default value is 30 seconds.

  • timeout :: Maybe Int

    The time period in seconds to wait for a health check to succeed before it is considered a failure. The default value is 5.

Instances

Instances details
Eq AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails

Read AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails

Show AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails

Generic AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails

NFData AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails

Hashable AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails

ToJSON AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails

FromJSON AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails

type Rep AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails

type Rep AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails = D1 ('MetaData "AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails" "Amazonka.SecurityHub.Types.AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails" "libZSservicesZSamazonka-securityhubZSamazonka-securityhub" 'False) (C1 ('MetaCons "AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "command") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "startPeriod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))) :*: (S1 ('MetaSel ('Just "retries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "interval") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "timeout") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))))))

newAwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails :: AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails Source #

Create a value of AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:command:AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails', awsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails_command - The command that the container runs to determine whether it is healthy.

$sel:startPeriod:AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails', awsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails_startPeriod - The optional grace period in seconds that allows containers time to bootstrap before failed health checks count towards the maximum number of retries.

$sel:retries:AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails', awsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails_retries - The number of times to retry a failed health check before the container is considered unhealthy. The default value is 3.

$sel:interval:AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails', awsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails_interval - The time period in seconds between each health check execution. The default value is 30 seconds.

$sel:timeout:AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails', awsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails_timeout - The time period in seconds to wait for a health check to succeed before it is considered a failure. The default value is 5.

awsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails_startPeriod :: Lens' AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails (Maybe Int) Source #

The optional grace period in seconds that allows containers time to bootstrap before failed health checks count towards the maximum number of retries.

awsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails_retries :: Lens' AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails (Maybe Int) Source #

The number of times to retry a failed health check before the container is considered unhealthy. The default value is 3.

awsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails_interval :: Lens' AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails (Maybe Int) Source #

The time period in seconds between each health check execution. The default value is 30 seconds.

awsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails_timeout :: Lens' AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails (Maybe Int) Source #

The time period in seconds to wait for a health check to succeed before it is considered a failure. The default value is 5.