Skip to content
v2.278.0

ExponentialRolloutRateProperty Struct ​

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

Example ​

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
# 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
// 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();
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
    }
};
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 ​

baseRatePerMinutenumberbase_rate_per_minuteint | floatbaseRatePerMinuteNumberBaseRatePerMinutedoubleBaseRatePerMinute*float64 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.

incrementFactornumberincrement_factorint | floatincrementFactorNumberIncrementFactordoubleIncrementFactor*float64 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).

rateIncreaseCriteriaIResolvable | CfnJobTemplate.RateIncreaseCriteriaPropertyrate_increase_criteriatyping.Union[IResolvable, RateIncreaseCriteriaProperty]rateIncreaseCriteriaIResolvableRateIncreaseCriteriaIResolvableRateIncreaseCriteriainterface{} required #
The criteria to initiate the increase in rate of rollout for a job.