AssignmentReference Struct
A reference to a Assignment resource.
| 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_sso as interfaces_sso } from 'aws-cdk-lib/interfaces';
const assignmentReference: interfaces_sso.AssignmentReference = {
instanceArn: 'instanceArn',
permissionSetArn: 'permissionSetArn',
principalId: 'principalId',
principalType: 'principalType',
targetId: 'targetId',
targetType: 'targetType',
};
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_sso as interfaces_sso
assignment_reference = interfaces_sso.AssignmentReference(
instance_arn="instanceArn",
permission_set_arn="permissionSetArn",
principal_id="principalId",
principal_type="principalType",
target_id="targetId",
target_type="targetType"
)
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.sso.*;
AssignmentReference assignmentReference = AssignmentReference.builder()
.instanceArn("instanceArn")
.permissionSetArn("permissionSetArn")
.principalId("principalId")
.principalType("principalType")
.targetId("targetId")
.targetType("targetType")
.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.SSO;
var assignmentReference = new AssignmentReference {
InstanceArn = "instanceArn",
PermissionSetArn = "permissionSetArn",
PrincipalId = "principalId",
PrincipalType = "principalType",
TargetId = "targetId",
TargetType = "targetType"
};
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"
assignmentReference := &AssignmentReference{
InstanceArn: jsii.String("instanceArn"),
PermissionSetArn: jsii.String("permissionSetArn"),
PrincipalId: jsii.String("principalId"),
PrincipalType: jsii.String("principalType"),
TargetId: jsii.String("targetId"),
TargetType: jsii.String("targetType"),
}
Properties
The InstanceArn of the Assignment resource.
permissionSetArnstringpermission_set_arnstrpermissionSetArnStringPermissionSetArnstringPermissionSetArn*string required #The PermissionSetArn of the Assignment resource.
The PrincipalId of the Assignment resource.
principalTypestringprincipal_typestrprincipalTypeStringPrincipalTypestringPrincipalType*string required #The PrincipalType of the Assignment resource.
The TargetId of the Assignment resource.
The TargetType of the Assignment resource.