Skip to content
v2.277.0

AwsJobExponentialRolloutRateProperty Struct ​

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 awsJobExponentialRolloutRateProperty: iot.CfnOTAUpdate.AwsJobExponentialRolloutRateProperty = {
  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

aws_job_exponential_rollout_rate_property = iot.CfnOTAUpdate.AwsJobExponentialRolloutRateProperty(
    base_rate_per_minute=123,
    increment_factor=123,
    rate_increase_criteria=iot.CfnOTAUpdate.AwsJobRateIncreaseCriteriaProperty(
        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.*;

AwsJobExponentialRolloutRateProperty awsJobExponentialRolloutRateProperty = AwsJobExponentialRolloutRateProperty.builder()
        .baseRatePerMinute(123)
        .incrementFactor(123)
        .rateIncreaseCriteria(AwsJobRateIncreaseCriteriaProperty.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 awsJobExponentialRolloutRateProperty = new AwsJobExponentialRolloutRateProperty {
    BaseRatePerMinute = 123,
    IncrementFactor = 123,
    RateIncreaseCriteria = new AwsJobRateIncreaseCriteriaProperty {
        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"

awsJobExponentialRolloutRateProperty := &AwsJobExponentialRolloutRateProperty{
	BaseRatePerMinute: jsii.Number(123),
	IncrementFactor: jsii.Number(123),
	RateIncreaseCriteria: &AwsJobRateIncreaseCriteriaProperty{
		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 the job rollout.
incrementFactornumberincrement_factorint | floatincrementFactorNumberIncrementFactordoubleIncrementFactor*float64 required #
The rate of increase for a job rollout.
rateIncreaseCriteriaIResolvable | CfnOTAUpdate.AwsJobRateIncreaseCriteriaPropertyrate_increase_criteriatyping.Union[IResolvable, AwsJobRateIncreaseCriteriaProperty]rateIncreaseCriteriaIResolvableRateIncreaseCriteriaIResolvableRateIncreaseCriteriainterface{} required #