interface DurationProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.AppMesh.CfnRoute.DurationProperty |
Java | software.amazon.awscdk.services.appmesh.CfnRoute.DurationProperty |
Python | aws_cdk.aws_appmesh.CfnRoute.DurationProperty |
TypeScript | @aws-cdk/aws-appmesh » CfnRoute » DurationProperty |
An object that represents a duration of time.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as appmesh from '@aws-cdk/aws-appmesh';
const durationProperty: appmesh.CfnRoute.DurationProperty = {
unit: 'unit',
value: 123,
};
Properties
Name | Type | Description |
---|---|---|
unit | string | A unit of time. |
value | number | A number of time units. |
unit
Type:
string
A unit of time.
value
Type:
number
A number of time units.