interface DurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.AppMesh.Mixins.CfnRoutePropsMixin.DurationProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsappmesh/mixins#CfnRoutePropsMixin_DurationProperty |
Java | software.amazon.awscdk.mixins.preview.services.appmesh.mixins.CfnRoutePropsMixin.DurationProperty |
Python | aws_cdk.mixins_preview.aws_appmesh.mixins.CfnRoutePropsMixin.DurationProperty |
TypeScript | @aws-cdk/mixins-preview » aws_appmesh » mixins » CfnRoutePropsMixin » 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 { mixins as appmesh_mixins } from '@aws-cdk/mixins-preview/aws-appmesh';
const durationProperty: appmesh_mixins.CfnRoutePropsMixin.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
(optional)
A unit of time.
value?
Type:
number
(optional)
A number of time units.

.NET
Go
Java
Python
TypeScript