DurationProperty Struct
An object that represents a duration of time.
| Source | |
|---|---|
| Type last changed |
Example
ts
// 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,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_appmesh as appmesh
duration_property = appmesh.CfnVirtualNode.DurationProperty(
unit="unit",
value=123
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.appmesh.*;
DurationProperty durationProperty = DurationProperty.builder()
.unit("unit")
.value(123)
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.AppMesh;
var durationProperty = new DurationProperty {
Unit = "unit",
Value = 123
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
durationProperty := &DurationProperty{
Unit: jsii.String("unit"),
Value: jsii.Number(123),
}