Skip to content
v2.276.0

CfnApplicationAssignmentProps Struct ​

Properties for defining a CfnApplicationAssignment.

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 sso } from 'aws-cdk-lib';
const cfnApplicationAssignmentProps: sso.CfnApplicationAssignmentProps = {
  applicationArn: 'applicationArn',
  principalId: 'principalId',
  principalType: 'principalType',
};
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_sso as sso

cfn_application_assignment_props = sso.CfnApplicationAssignmentProps(
    application_arn="applicationArn",
    principal_id="principalId",
    principal_type="principalType"
)
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.sso.*;

CfnApplicationAssignmentProps cfnApplicationAssignmentProps = CfnApplicationAssignmentProps.builder()
        .applicationArn("applicationArn")
        .principalId("principalId")
        .principalType("principalType")
        .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.SSO;

var cfnApplicationAssignmentProps = new CfnApplicationAssignmentProps {
    ApplicationArn = "applicationArn",
    PrincipalId = "principalId",
    PrincipalType = "principalType"
};
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"

cfnApplicationAssignmentProps := &CfnApplicationAssignmentProps{
	ApplicationArn: jsii.String("applicationArn"),
	PrincipalId: jsii.String("principalId"),
	PrincipalType: jsii.String("principalType"),
}

Properties ​

applicationArnstringapplication_arnstrapplicationArnStringApplicationArnstringApplicationArn*stringrequired#
The ARN of the application that has principals assigned.
principalIdstringprincipal_idstrprincipalIdStringPrincipalIdstringPrincipalId*stringrequired#
The unique identifier of the principal assigned to the application.
principalTypestringprincipal_typestrprincipalTypeStringPrincipalTypestringPrincipalType*stringrequired#
The type of the principal assigned to the application.