# ExponentialRolloutRateProperty

Allows you to create an exponential rate of rollout for a job.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iot as iot } from 'aws-cdk-lib';
const exponentialRolloutRateProperty: iot.CfnJobTemplate.ExponentialRolloutRateProperty = {
  baseRatePerMinute: 123,
  incrementFactor: 123,
  rateIncreaseCriteria: {
    numberOfNotifiedThings: 123,
    numberOfSucceededThings: 123,
  },
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_iot as iot

exponential_rollout_rate_property = iot.CfnJobTemplate.ExponentialRolloutRateProperty(
    base_rate_per_minute=123,
    increment_factor=123,
    rate_increase_criteria=iot.CfnJobTemplate.RateIncreaseCriteriaProperty(
        number_of_notified_things=123,
        number_of_succeeded_things=123
    )
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.iot.*;

ExponentialRolloutRateProperty exponentialRolloutRateProperty = ExponentialRolloutRateProperty.builder()
        .baseRatePerMinute(123)
        .incrementFactor(123)
        .rateIncreaseCriteria(RateIncreaseCriteriaProperty.builder()
                .numberOfNotifiedThings(123)
                .numberOfSucceededThings(123)
                .build())
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.IoT;

var exponentialRolloutRateProperty = new ExponentialRolloutRateProperty {
    BaseRatePerMinute = 123,
    IncrementFactor = 123,
    RateIncreaseCriteria = new RateIncreaseCriteriaProperty {
        NumberOfNotifiedThings = 123,
        NumberOfSucceededThings = 123
    }
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

exponentialRolloutRateProperty := &ExponentialRolloutRateProperty{
	BaseRatePerMinute: jsii.Number(123),
	IncrementFactor: jsii.Number(123),
	RateIncreaseCriteria: &RateIncreaseCriteriaProperty{
		NumberOfNotifiedThings: jsii.Number(123),
		NumberOfSucceededThings: jsii.Number(123),
	},
}
```

## Properties

- `baseRatePerMinute`: number (required) — The minimum number of things that will be notified of a pending job, per minute at the start of job rollout.

  This parameter allows you to define the initial rate of rollout.

- `incrementFactor`: number (required) — The exponential factor to increase the rate of rollout for a job.

  AWS IoT Core supports up to one digit after the decimal (for example, 1.5, but not 1.55).

- `rateIncreaseCriteria`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnJobTemplate.RateIncreaseCriteriaProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_iot.CfnJobTemplate.RateIncreaseCriteriaProperty.html) (required) — The criteria to initiate the increase in rate of rollout for a job.
