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 classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct
IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ModifierConstructorDescriptionCfnAssignment
(Construct scope, String id, CfnAssignmentProps props) Create a newAWS::SSO::Assignment
.protected
CfnAssignment
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnAssignment
(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.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
setInstanceArn
(String value) The ARN of the IAM Identity Center instance under which the operation will be executed.void
setPermissionSetArn
(String value) The ARN of the permission set.void
setPrincipalId
(String value) An identifier for an object in IAM Identity Center, such as a user or group.void
setPrincipalType
(String value) The entity type for which the assignment will be created.void
setTargetId
(String value) TargetID is an AWS account identifier, (For example, 123456789012).void
setTargetType
(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, validateProperties
Methods inherited from class software.amazon.awscdk.core.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.core.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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:
inspect
in 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:
renderProperties
in classCfnResource
- Parameters:
props
- This parameter is required.
-
getCfnProperties
- Overrides:
getCfnProperties
in 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.
-