interface DurationProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.AppMesh.CfnRoute.DurationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsappmesh#CfnRoute_DurationProperty |
Java | software.amazon.awscdk.services.appmesh.CfnRoute.DurationProperty |
Python | aws_cdk.aws_appmesh.CfnRoute.DurationProperty |
TypeScript | aws-cdk-lib » 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 { aws_appmesh as appmesh } from 'aws-cdk-lib';
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.