Skip to content
v2.278.0

SubscriptionTargetReference Struct ​

A reference to a SubscriptionTarget resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_datazone as interfaces_datazone } from 'aws-cdk-lib/interfaces';
const subscriptionTargetReference: interfaces_datazone.SubscriptionTargetReference = {
  domainId: 'domainId',
  environmentId: 'environmentId',
  subscriptionTargetId: 'subscriptionTargetId',
};
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_datazone as interfaces_datazone

subscription_target_reference = interfaces_datazone.SubscriptionTargetReference(
    domain_id="domainId",
    environment_id="environmentId",
    subscription_target_id="subscriptionTargetId"
)
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.datazone.*;

SubscriptionTargetReference subscriptionTargetReference = SubscriptionTargetReference.builder()
        .domainId("domainId")
        .environmentId("environmentId")
        .subscriptionTargetId("subscriptionTargetId")
        .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.DataZone;

var subscriptionTargetReference = new SubscriptionTargetReference {
    DomainId = "domainId",
    EnvironmentId = "environmentId",
    SubscriptionTargetId = "subscriptionTargetId"
};
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"

subscriptionTargetReference := &SubscriptionTargetReference{
	DomainId: jsii.String("domainId"),
	EnvironmentId: jsii.String("environmentId"),
	SubscriptionTargetId: jsii.String("subscriptionTargetId"),
}

Properties ​

domainIdstringdomain_idstrdomainIdStringDomainIdstringDomainId*string required #
The DomainId of the SubscriptionTarget resource.
environmentIdstringenvironment_idstrenvironmentIdStringEnvironmentIdstringEnvironmentId*string required #
The EnvironmentId of the SubscriptionTarget resource.
subscriptionTargetIdstringsubscription_target_idstrsubscriptionTargetIdStringSubscriptionTargetIdstringSubscriptionTargetId*string required #
The Id of the SubscriptionTarget resource.