Class CfnAssignment
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.sso.CfnAssignment
- All Implemented Interfaces:
IInspectable
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-10-11T15:56:06.590Z")
@Stability(Stable)
public class CfnAssignment
extends CfnResource
implements IInspectable
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();
- See Also:
-
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.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.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
ModifierConstructorDescriptionprotected
CfnAssignment
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnAssignment
(software.amazon.jsii.JsiiObjectRef objRef) CfnAssignment
(software.constructs.Construct scope, String id, CfnAssignmentProps props) -
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.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validateProperties
Methods inherited from class software.amazon.awscdk.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.constructs.Construct
getNode, isConstruct
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 software.constructs.Construct scope, @NotNull String id, @NotNull CfnAssignmentProps props) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.props
- Resource properties. This parameter is required.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspect
in interfaceIInspectable
- Parameters:
inspector
- tree inspector to collect and process attributes. This parameter is required.
-
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. -
setInstanceArn
The ARN of the IAM Identity Center instance under which the operation will be executed. -
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. -
setPrincipalId
An identifier for an object in IAM Identity Center, such as a user or group. -
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.
-