VerificationDetailsProperty Struct
Verification details to verify registered target domain.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_securityagent as securityagent } from 'aws-cdk-lib';
const verificationDetailsProperty: securityagent.CfnTargetDomain.VerificationDetailsProperty = {
dnsTxt: {
dnsRecordName: 'dnsRecordName',
dnsRecordType: 'dnsRecordType',
token: 'token',
},
httpRoute: {
routePath: 'routePath',
token: 'token',
},
method: 'method',
};
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_securityagent as securityagent
verification_details_property = securityagent.CfnTargetDomain.VerificationDetailsProperty(
dns_txt=securityagent.CfnTargetDomain.DnsVerificationProperty(
dns_record_name="dnsRecordName",
dns_record_type="dnsRecordType",
token="token"
),
http_route=securityagent.CfnTargetDomain.HttpVerificationProperty(
route_path="routePath",
token="token"
),
method="method"
)
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.securityagent.*;
VerificationDetailsProperty verificationDetailsProperty = VerificationDetailsProperty.builder()
.dnsTxt(DnsVerificationProperty.builder()
.dnsRecordName("dnsRecordName")
.dnsRecordType("dnsRecordType")
.token("token")
.build())
.httpRoute(HttpVerificationProperty.builder()
.routePath("routePath")
.token("token")
.build())
.method("method")
.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.SecurityAgent;
var verificationDetailsProperty = new VerificationDetailsProperty {
DnsTxt = new DnsVerificationProperty {
DnsRecordName = "dnsRecordName",
DnsRecordType = "dnsRecordType",
Token = "token"
},
HttpRoute = new HttpVerificationProperty {
RoutePath = "routePath",
Token = "token"
},
Method = "method"
};
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"
verificationDetailsProperty := &VerificationDetailsProperty{
DnsTxt: &DnsVerificationProperty{
DnsRecordName: jsii.String("dnsRecordName"),
DnsRecordType: jsii.String("dnsRecordType"),
Token: jsii.String("token"),
},
HttpRoute: &HttpVerificationProperty{
RoutePath: jsii.String("routePath"),
Token: jsii.String("token"),
},
Method: jsii.String("method"),
}
Properties
dnsTxtoptionalIResolvable | CfnTargetDomain.DnsVerificationPropertydns_txtoptionaltyping.Union[IResolvable, DnsVerificationProperty]dnsTxtoptionalIResolvableDnsTxtoptionalIResolvableDnsTxtoptionalinterface{}#Represents DNS TXT verification details.
httpRouteoptionalIResolvable | CfnTargetDomain.HttpVerificationPropertyhttp_routeoptionaltyping.Union[IResolvable, HttpVerificationProperty]httpRouteoptionalIResolvableHttpRouteoptionalIResolvableHttpRouteoptionalinterface{}#Represents HTTP route verification details.
Type of domain ownership verification method.