SOAProperty Struct
Start of Authority (SOA) properties for a public or private DNS namespace.
| 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_servicediscovery as servicediscovery } from 'aws-cdk-lib';
const sOAProperty: servicediscovery.CfnPrivateDnsNamespace.SOAProperty = {
ttl: 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_servicediscovery as servicediscovery
s_oa_property = servicediscovery.CfnPrivateDnsNamespace.SOAProperty(
ttl=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.servicediscovery.*;
SOAProperty sOAProperty = SOAProperty.builder()
.ttl(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.ServiceDiscovery;
var sOAProperty = new SOAProperty {
Ttl = 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"
sOAProperty := &SOAProperty{
Ttl: jsii.Number(123),
}
Properties
The time to live (TTL) for purposes of negative caching.