Skip to content
v2.278.0

EventStreamReference Struct ​

A reference to a EventStream resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_customerprofiles as interfaces_customerprofiles } from 'aws-cdk-lib/interfaces';
const eventStreamReference: interfaces_customerprofiles.EventStreamReference = {
  domainName: 'domainName',
  eventStreamArn: 'eventStreamArn',
  eventStreamName: 'eventStreamName',
};
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_customerprofiles as interfaces_customerprofiles

event_stream_reference = interfaces_customerprofiles.EventStreamReference(
    domain_name="domainName",
    event_stream_arn="eventStreamArn",
    event_stream_name="eventStreamName"
)
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.customerprofiles.*;

EventStreamReference eventStreamReference = EventStreamReference.builder()
        .domainName("domainName")
        .eventStreamArn("eventStreamArn")
        .eventStreamName("eventStreamName")
        .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.CustomerProfiles;

var eventStreamReference = new EventStreamReference {
    DomainName = "domainName",
    EventStreamArn = "eventStreamArn",
    EventStreamName = "eventStreamName"
};
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"

eventStreamReference := &EventStreamReference{
	DomainName: jsii.String("domainName"),
	EventStreamArn: jsii.String("eventStreamArn"),
	EventStreamName: jsii.String("eventStreamName"),
}

Properties ​

domainNamestringdomain_namestrdomainNameStringDomainNamestringDomainName*string required #
The DomainName of the EventStream resource.
eventStreamArnstringevent_stream_arnstreventStreamArnStringEventStreamArnstringEventStreamArn*string required #
The ARN of the EventStream resource.
eventStreamNamestringevent_stream_namestreventStreamNameStringEventStreamNamestringEventStreamName*string required #
The EventStreamName of the EventStream resource.