Class CfnAssignment
- All Implemented Interfaces:
 IConstruct,IDependable,IInspectable,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct
AWS::SSO::Assignment.
 Assigns access to a Principal for a specified AWS account using a specified permission set.
The term principal here refers to a user or group that is defined in IAM Identity Center .
Example:
 // 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.*;
 CfnAssignment cfnAssignment = CfnAssignment.Builder.create(this, "MyCfnAssignment")
         .instanceArn("instanceArn")
         .permissionSetArn("permissionSetArn")
         .principalId("principalId")
         .principalType("principalType")
         .targetId("targetId")
         .targetType("targetType")
         .build();
 - 
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct
IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.core.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy - 
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. - 
Constructor Summary
ConstructorsModifierConstructorDescriptionCfnAssignment(Construct scope, String id, CfnAssignmentProps props) Create a newAWS::SSO::Assignment.protectedCfnAssignment(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnAssignment(software.amazon.jsii.JsiiObjectRef objRef)  - 
Method Summary
Modifier and TypeMethodDescriptionThe ARN of the IAM Identity Center instance under which the operation will be executed.The ARN of the permission set.An identifier for an object in IAM Identity Center, such as a user or group.The entity type for which the assignment will be created.TargetID is an AWS account identifier, (For example, 123456789012).The entity type for which the assignment will be created.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetInstanceArn(String value) The ARN of the IAM Identity Center instance under which the operation will be executed.voidsetPermissionSetArn(String value) The ARN of the permission set.voidsetPrincipalId(String value) An identifier for an object in IAM Identity Center, such as a user or group.voidsetPrincipalType(String value) The entity type for which the assignment will be created.voidsetTargetId(String value) TargetID is an AWS account identifier, (For example, 123456789012).voidsetTargetType(String value) The entity type for which the assignment will be created.Methods inherited from class software.amazon.awscdk.core.CfnResource
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.core.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.core.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validateMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson 
- 
Field Details
- 
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class. 
 - 
 - 
Constructor Details
- 
CfnAssignment
protected CfnAssignment(software.amazon.jsii.JsiiObjectRef objRef)  - 
CfnAssignment
protected CfnAssignment(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)  - 
CfnAssignment
@Stability(Stable) public CfnAssignment(@NotNull Construct scope, @NotNull String id, @NotNull CfnAssignmentProps props) Create a newAWS::SSO::Assignment.- Parameters:
 scope-- scope in which this resource is defined.
 
id-- scoped id of the resource.
 
props-- resource properties.
 
 
 - 
 - 
Method Details
- 
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
 inspectin interfaceIInspectable- Parameters:
 inspector-- tree inspector to collect and process attributes.
 
 - 
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
 renderPropertiesin classCfnResource- Parameters:
 props- This parameter is required.
 - 
getCfnProperties
- Overrides:
 getCfnPropertiesin classCfnResource
 - 
getInstanceArn
The ARN of the IAM Identity Center instance under which the operation will be executed.For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference .
 - 
setInstanceArn
The ARN of the IAM Identity Center instance under which the operation will be executed.For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference .
 - 
getPermissionSetArn
The ARN of the permission set. - 
setPermissionSetArn
The ARN of the permission set. - 
getPrincipalId
An identifier for an object in IAM Identity Center, such as a user or group.PrincipalIds are GUIDs (For example, f81d4fae-7dec-11d0-a765-00a0c91e6bf6). For more information about PrincipalIds in IAM Identity Center, see the IAM Identity Center Identity Store API Reference .
 - 
setPrincipalId
An identifier for an object in IAM Identity Center, such as a user or group.PrincipalIds are GUIDs (For example, f81d4fae-7dec-11d0-a765-00a0c91e6bf6). For more information about PrincipalIds in IAM Identity Center, see the IAM Identity Center Identity Store API Reference .
 - 
getPrincipalType
The entity type for which the assignment will be created. - 
setPrincipalType
The entity type for which the assignment will be created. - 
getTargetId
TargetID is an AWS account identifier, (For example, 123456789012). - 
setTargetId
TargetID is an AWS account identifier, (For example, 123456789012). - 
getTargetType
The entity type for which the assignment will be created. - 
setTargetType
The entity type for which the assignment will be created. 
 -