Skip to content
v2.277.0

IdentitySourceReference Struct ​

A reference to a IdentitySource resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_verifiedpermissions as interfaces_verifiedpermissions } from 'aws-cdk-lib/interfaces';
const identitySourceReference: interfaces_verifiedpermissions.IdentitySourceReference = {
  identitySourceId: 'identitySourceId',
  policyStoreId: 'policyStoreId',
};
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_verifiedpermissions as interfaces_verifiedpermissions

identity_source_reference = interfaces_verifiedpermissions.IdentitySourceReference(
    identity_source_id="identitySourceId",
    policy_store_id="policyStoreId"
)
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.verifiedpermissions.*;

IdentitySourceReference identitySourceReference = IdentitySourceReference.builder()
        .identitySourceId("identitySourceId")
        .policyStoreId("policyStoreId")
        .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.VerifiedPermissions;

var identitySourceReference = new IdentitySourceReference {
    IdentitySourceId = "identitySourceId",
    PolicyStoreId = "policyStoreId"
};
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"

identitySourceReference := &IdentitySourceReference{
	IdentitySourceId: jsii.String("identitySourceId"),
	PolicyStoreId: jsii.String("policyStoreId"),
}

Properties ​

identitySourceIdstringidentity_source_idstridentitySourceIdStringIdentitySourceIdstringIdentitySourceId*string required #
The IdentitySourceId of the IdentitySource resource.
policyStoreIdstringpolicy_store_idstrpolicyStoreIdStringPolicyStoreIdstringPolicyStoreId*string required #
The PolicyStoreId of the IdentitySource resource.