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