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.AwsEcsServiceDetails

Description

 
Synopsis

Documentation

data AwsEcsServiceDetails Source #

Provides details about a service within an ECS cluster.

See: newAwsEcsServiceDetails smart constructor.

Constructors

AwsEcsServiceDetails' 

Fields

Instances

Instances details
Eq AwsEcsServiceDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsServiceDetails

Read AwsEcsServiceDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsServiceDetails

Show AwsEcsServiceDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsServiceDetails

Generic AwsEcsServiceDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsServiceDetails

Associated Types

type Rep AwsEcsServiceDetails :: Type -> Type #

NFData AwsEcsServiceDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsServiceDetails

Methods

rnf :: AwsEcsServiceDetails -> () #

Hashable AwsEcsServiceDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsServiceDetails

ToJSON AwsEcsServiceDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsServiceDetails

FromJSON AwsEcsServiceDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsServiceDetails

type Rep AwsEcsServiceDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsServiceDetails

type Rep AwsEcsServiceDetails = D1 ('MetaData "AwsEcsServiceDetails" "Amazonka.SecurityHub.Types.AwsEcsServiceDetails" "libZSservicesZSamazonka-securityhubZSamazonka-securityhub" 'False) (C1 ('MetaCons "AwsEcsServiceDetails'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "placementStrategies") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AwsEcsServicePlacementStrategiesDetails])) :*: S1 ('MetaSel ('Just "cluster") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "propagateTags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "platformVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "enableEcsManagedTags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))) :*: ((S1 ('MetaSel ('Just "desiredCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "loadBalancers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AwsEcsServiceLoadBalancersDetails])) :*: S1 ('MetaSel ('Just "role'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "placementConstraints") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AwsEcsServicePlacementConstraintsDetails])) :*: S1 ('MetaSel ('Just "serviceName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))) :*: (((S1 ('MetaSel ('Just "deploymentController") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AwsEcsServiceDeploymentControllerDetails)) :*: S1 ('MetaSel ('Just "launchType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "taskDefinition") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "serviceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "schedulingStrategy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "capacityProviderStrategy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AwsEcsServiceCapacityProviderStrategyDetails])) :*: (S1 ('MetaSel ('Just "serviceRegistries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AwsEcsServiceServiceRegistriesDetails])) :*: S1 ('MetaSel ('Just "healthCheckGracePeriodSeconds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))) :*: (S1 ('MetaSel ('Just "networkConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AwsEcsServiceNetworkConfigurationDetails)) :*: (S1 ('MetaSel ('Just "deploymentConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AwsEcsServiceDeploymentConfigurationDetails)) :*: S1 ('MetaSel ('Just "enableExecuteCommand") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))))))

newAwsEcsServiceDetails :: AwsEcsServiceDetails Source #

Create a value of AwsEcsServiceDetails 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:placementStrategies:AwsEcsServiceDetails', awsEcsServiceDetails_placementStrategies - Information about how tasks for the service are placed.

$sel:cluster:AwsEcsServiceDetails', awsEcsServiceDetails_cluster - The ARN of the cluster that hosts the service.

$sel:propagateTags:AwsEcsServiceDetails', awsEcsServiceDetails_propagateTags - Indicates whether to propagate the tags from the task definition to the task or from the service to the task. If no value is provided, then tags are not propagated.

Valid values: TASK_DEFINITION | SERVICE

$sel:platformVersion:AwsEcsServiceDetails', awsEcsServiceDetails_platformVersion - The platform version on which to run the service. Only specified for tasks that are hosted on Fargate. If a platform version is not specified, the LATEST platform version is used by default.

$sel:enableEcsManagedTags:AwsEcsServiceDetails', awsEcsServiceDetails_enableEcsManagedTags - Whether to enable Amazon ECS managed tags for the tasks in the service.

$sel:desiredCount:AwsEcsServiceDetails', awsEcsServiceDetails_desiredCount - The number of instantiations of the task definition to run on the service.

$sel:loadBalancers:AwsEcsServiceDetails', awsEcsServiceDetails_loadBalancers - Information about the load balancers that the service uses.

$sel:role':AwsEcsServiceDetails', awsEcsServiceDetails_role - The ARN of the IAM role that is associated with the service. The role allows the Amazon ECS container agent to register container instances with an Elastic Load Balancing load balancer.

$sel:name:AwsEcsServiceDetails', awsEcsServiceDetails_name - The name of the service.

$sel:placementConstraints:AwsEcsServiceDetails', awsEcsServiceDetails_placementConstraints - The placement constraints for the tasks in the service.

$sel:serviceName:AwsEcsServiceDetails', awsEcsServiceDetails_serviceName - The name of the service.

The name can contain up to 255 characters. It can use letters, numbers, underscores, and hyphens.

$sel:deploymentController:AwsEcsServiceDetails', awsEcsServiceDetails_deploymentController - Contains the deployment controller type that the service uses.

$sel:launchType:AwsEcsServiceDetails', awsEcsServiceDetails_launchType - The launch type that the service uses.

Valid values: EC2 | FARGATE | EXTERNAL

$sel:taskDefinition:AwsEcsServiceDetails', awsEcsServiceDetails_taskDefinition - The task definition to use for tasks in the service.

$sel:serviceArn:AwsEcsServiceDetails', awsEcsServiceDetails_serviceArn - The ARN of the service.

$sel:schedulingStrategy:AwsEcsServiceDetails', awsEcsServiceDetails_schedulingStrategy - The scheduling strategy to use for the service.

The REPLICA scheduling strategy places and maintains the desired number of tasks across the cluster. By default, the service scheduler spreads tasks across Availability Zones. Task placement strategies and constraints are used to customize task placement decisions.

The DAEMON scheduling strategy deploys exactly one task on each active container instance that meets all of the task placement constraints that are specified in the cluster. The service scheduler also evaluates the task placement constraints for running tasks and stops tasks that do not meet the placement constraints.

Valid values: REPLICA | DAEMON

$sel:capacityProviderStrategy:AwsEcsServiceDetails', awsEcsServiceDetails_capacityProviderStrategy - The capacity provider strategy that the service uses.

$sel:serviceRegistries:AwsEcsServiceDetails', awsEcsServiceDetails_serviceRegistries - Information about the service discovery registries to assign to the service.

$sel:healthCheckGracePeriodSeconds:AwsEcsServiceDetails', awsEcsServiceDetails_healthCheckGracePeriodSeconds - After a task starts, the amount of time in seconds that the Amazon ECS service scheduler ignores unhealthy Elastic Load Balancing target health checks.

$sel:networkConfiguration:AwsEcsServiceDetails', awsEcsServiceDetails_networkConfiguration - For tasks that use the awsvpc networking mode, the VPC subnet and security group configuration.

$sel:deploymentConfiguration:AwsEcsServiceDetails', awsEcsServiceDetails_deploymentConfiguration - Deployment parameters for the service. Includes the number of tasks that run and the order in which to start and stop tasks.

$sel:enableExecuteCommand:AwsEcsServiceDetails', awsEcsServiceDetails_enableExecuteCommand - Whether the execute command functionality is enabled for the service.

awsEcsServiceDetails_cluster :: Lens' AwsEcsServiceDetails (Maybe Text) Source #

The ARN of the cluster that hosts the service.

awsEcsServiceDetails_propagateTags :: Lens' AwsEcsServiceDetails (Maybe Text) Source #

Indicates whether to propagate the tags from the task definition to the task or from the service to the task. If no value is provided, then tags are not propagated.

Valid values: TASK_DEFINITION | SERVICE

awsEcsServiceDetails_platformVersion :: Lens' AwsEcsServiceDetails (Maybe Text) Source #

The platform version on which to run the service. Only specified for tasks that are hosted on Fargate. If a platform version is not specified, the LATEST platform version is used by default.

awsEcsServiceDetails_enableEcsManagedTags :: Lens' AwsEcsServiceDetails (Maybe Bool) Source #

Whether to enable Amazon ECS managed tags for the tasks in the service.

awsEcsServiceDetails_desiredCount :: Lens' AwsEcsServiceDetails (Maybe Int) Source #

The number of instantiations of the task definition to run on the service.

awsEcsServiceDetails_loadBalancers :: Lens' AwsEcsServiceDetails (Maybe [AwsEcsServiceLoadBalancersDetails]) Source #

Information about the load balancers that the service uses.

awsEcsServiceDetails_role :: Lens' AwsEcsServiceDetails (Maybe Text) Source #

The ARN of the IAM role that is associated with the service. The role allows the Amazon ECS container agent to register container instances with an Elastic Load Balancing load balancer.

awsEcsServiceDetails_serviceName :: Lens' AwsEcsServiceDetails (Maybe Text) Source #

The name of the service.

The name can contain up to 255 characters. It can use letters, numbers, underscores, and hyphens.

awsEcsServiceDetails_launchType :: Lens' AwsEcsServiceDetails (Maybe Text) Source #

The launch type that the service uses.

Valid values: EC2 | FARGATE | EXTERNAL

awsEcsServiceDetails_taskDefinition :: Lens' AwsEcsServiceDetails (Maybe Text) Source #

The task definition to use for tasks in the service.

awsEcsServiceDetails_schedulingStrategy :: Lens' AwsEcsServiceDetails (Maybe Text) Source #

The scheduling strategy to use for the service.

The REPLICA scheduling strategy places and maintains the desired number of tasks across the cluster. By default, the service scheduler spreads tasks across Availability Zones. Task placement strategies and constraints are used to customize task placement decisions.

The DAEMON scheduling strategy deploys exactly one task on each active container instance that meets all of the task placement constraints that are specified in the cluster. The service scheduler also evaluates the task placement constraints for running tasks and stops tasks that do not meet the placement constraints.

Valid values: REPLICA | DAEMON

awsEcsServiceDetails_serviceRegistries :: Lens' AwsEcsServiceDetails (Maybe [AwsEcsServiceServiceRegistriesDetails]) Source #

Information about the service discovery registries to assign to the service.

awsEcsServiceDetails_healthCheckGracePeriodSeconds :: Lens' AwsEcsServiceDetails (Maybe Int) Source #

After a task starts, the amount of time in seconds that the Amazon ECS service scheduler ignores unhealthy Elastic Load Balancing target health checks.

awsEcsServiceDetails_networkConfiguration :: Lens' AwsEcsServiceDetails (Maybe AwsEcsServiceNetworkConfigurationDetails) Source #

For tasks that use the awsvpc networking mode, the VPC subnet and security group configuration.

awsEcsServiceDetails_deploymentConfiguration :: Lens' AwsEcsServiceDetails (Maybe AwsEcsServiceDeploymentConfigurationDetails) Source #

Deployment parameters for the service. Includes the number of tasks that run and the order in which to start and stop tasks.

awsEcsServiceDetails_enableExecuteCommand :: Lens' AwsEcsServiceDetails (Maybe Bool) Source #

Whether the execute command functionality is enabled for the service.