Skip to content
v2.277.0

TargetDomainReference Struct ​

A reference to a TargetDomain resource.

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 interfaces_securityagent } from 'aws-cdk-lib/interfaces';
const targetDomainReference: interfaces_securityagent.TargetDomainReference = {
  targetDomainId: 'targetDomainId',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_securityagent as interfaces_securityagent

target_domain_reference = interfaces_securityagent.TargetDomainReference(
    target_domain_id="targetDomainId"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.interfaces.securityagent.*;

TargetDomainReference targetDomainReference = TargetDomainReference.builder()
        .targetDomainId("targetDomainId")
        .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.Interfaces.SecurityAgent;

var targetDomainReference = new TargetDomainReference {
    TargetDomainId = "targetDomainId"
};
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"

targetDomainReference := &TargetDomainReference{
	TargetDomainId: jsii.String("targetDomainId"),
}

Properties ​

targetDomainIdstringtarget_domain_idstrtargetDomainIdStringTargetDomainIdstringTargetDomainId*stringrequired#
The TargetDomainId of the TargetDomain resource.