interface DurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.AppMesh.CfnRoutePropsMixin.DurationProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsappmesh#CfnRoutePropsMixin_DurationProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.appmesh.CfnRoutePropsMixin.DurationProperty |
Python | aws_cdk.cfn_property_mixins.aws_appmesh.CfnRoutePropsMixin.DurationProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_appmesh » 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 { aws_appmesh as appmesh } from '@aws-cdk/cfn-property-mixins';
const durationProperty: appmesh.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