SubscriberIdentityProperty Struct
Specify the AWS account ID and external ID that the subscriber will use to access source data.
| 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_securitylake as securitylake } from 'aws-cdk-lib';
const subscriberIdentityProperty: securitylake.CfnSubscriber.SubscriberIdentityProperty = {
externalId: 'externalId',
principal: 'principal',
};
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_securitylake as securitylake
subscriber_identity_property = securitylake.CfnSubscriber.SubscriberIdentityProperty(
external_id="externalId",
principal="principal"
)
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.securitylake.*;
SubscriberIdentityProperty subscriberIdentityProperty = SubscriberIdentityProperty.builder()
.externalId("externalId")
.principal("principal")
.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.SecurityLake;
var subscriberIdentityProperty = new SubscriberIdentityProperty {
ExternalId = "externalId",
Principal = "principal"
};
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"
subscriberIdentityProperty := &SubscriberIdentityProperty{
ExternalId: jsii.String("externalId"),
Principal: jsii.String("principal"),
}
Properties
The external ID is a unique identifier that the subscriber provides to you.
Principals can include accounts, users, roles, federated users, or AWS services.