Class CfnPermissionSet
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.CfnPermissionSet
- All Implemented Interfaces:
IInspectable,IEnvironmentAware,IPermissionSetRef,ITaggable,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)",
date="2025-12-05T22:26:46.197Z")
@Stability(Stable)
public class CfnPermissionSet
extends CfnResource
implements IInspectable, IPermissionSetRef, ITaggable
Specifies a permission set within a specified IAM Identity Center instance.
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.*;
Object inlinePolicy;
CfnPermissionSet cfnPermissionSet = CfnPermissionSet.Builder.create(this, "MyCfnPermissionSet")
.instanceArn("instanceArn")
.name("name")
// the properties below are optional
.customerManagedPolicyReferences(List.of(CustomerManagedPolicyReferenceProperty.builder()
.name("name")
// the properties below are optional
.path("path")
.build()))
.description("description")
.inlinePolicy(inlinePolicy)
.managedPolicies(List.of("managedPolicies"))
.permissionsBoundary(PermissionsBoundaryProperty.builder()
.customerManagedPolicyReference(CustomerManagedPolicyReferenceProperty.builder()
.name("name")
// the properties below are optional
.path("path")
.build())
.managedPolicyArn("managedPolicyArn")
.build())
.relayStateType("relayStateType")
.sessionDuration("sessionDuration")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnPermissionSet.static interfaceSpecifies the name and path of a customer managed policy.static interfaceSpecifies the configuration of the AWS managed or customer managed policy that you want to set as a permissions boundary.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.sso.IPermissionSetRef
IPermissionSetRef.Jsii$Default, IPermissionSetRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggable
ITaggable.Jsii$Default, ITaggable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnPermissionSet(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnPermissionSet(software.amazon.jsii.JsiiObjectRef objRef) CfnPermissionSet(software.constructs.Construct scope, String id, CfnPermissionSetProps props) Create a newAWS::SSO::PermissionSet. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringarnForPermissionSet(IPermissionSetRef resource) The permission set ARN of the permission set, such asarn:aws:sso:::permissionSet/ins-instanceid/ps-permissionsetid.Specifies the names and paths of the customer managed policies that you have attached to your permission set.The description of thePermissionSet.The inline policy that is attached to the permission set.The ARN of the IAM Identity Center instance under which the operation will be executed.A structure that stores a list of managed policy ARNs that describe the associated AWS managed policy.getName()The name of the permission set.Specifies the configuration of the AWS managed or customer managed policy that you want to set as a permissions boundary.A reference to a PermissionSet resource.Used to redirect users within the application during the federation authentication process.The length of time that the application user sessions are valid for in the ISO-8601 standard.getTags()Tag Manager which manages the tags for this resource.The tags to attach to the newPermissionSet.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnPermissionSet.renderProperties(Map<String, Object> props) voidSpecifies the names and paths of the customer managed policies that you have attached to your permission set.voidSpecifies the names and paths of the customer managed policies that you have attached to your permission set.voidsetDescription(String value) The description of thePermissionSet.voidsetInlinePolicy(Object value) The inline policy that is attached to the permission set.voidsetInstanceArn(String value) The ARN of the IAM Identity Center instance under which the operation will be executed.voidsetManagedPolicies(List<String> value) A structure that stores a list of managed policy ARNs that describe the associated AWS managed policy.voidThe name of the permission set.voidSpecifies the configuration of the AWS managed or customer managed policy that you want to set as a permissions boundary.voidSpecifies the configuration of the AWS managed or customer managed policy that you want to set as a permissions boundary.voidsetRelayStateType(String value) Used to redirect users within the application during the federation authentication process.voidsetSessionDuration(String value) The length of time that the application user sessions are valid for in the ISO-8601 standard.voidsetTagsRaw(List<CfnTag> value) The tags to attach to the newPermissionSet.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods 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.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods 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
-
CfnPermissionSet
protected CfnPermissionSet(software.amazon.jsii.JsiiObjectRef objRef) -
CfnPermissionSet
protected CfnPermissionSet(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnPermissionSet
@Stability(Stable) public CfnPermissionSet(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnPermissionSetProps props) Create a newAWS::SSO::PermissionSet.- 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
-
arnForPermissionSet
@Stability(Stable) @NotNull public static String arnForPermissionSet(@NotNull IPermissionSetRef resource) - Parameters:
resource- This parameter is required.
-
isCfnPermissionSet
Checks whether the given object is a CfnPermissionSet.- Parameters:
x- This parameter is required.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin 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:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrPermissionSetArn
The permission set ARN of the permission set, such asarn:aws:sso:::permissionSet/ins-instanceid/ps-permissionsetid. -
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getPermissionSetRef
A reference to a PermissionSet resource.- Specified by:
getPermissionSetRefin interfaceIPermissionSetRef
-
getTags
Tag Manager which manages the tags for this resource. -
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. -
getName
The name of the permission set. -
setName
The name of the permission set. -
getCustomerManagedPolicyReferences
Specifies the names and paths of the customer managed policies that you have attached to your permission set.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnPermissionSet.CustomerManagedPolicyReferenceProperty> -
setCustomerManagedPolicyReferences
Specifies the names and paths of the customer managed policies that you have attached to your permission set. -
setCustomerManagedPolicyReferences
Specifies the names and paths of the customer managed policies that you have attached to your permission set. -
getDescription
The description of thePermissionSet. -
setDescription
The description of thePermissionSet. -
getInlinePolicy
The inline policy that is attached to the permission set. -
setInlinePolicy
The inline policy that is attached to the permission set. -
getManagedPolicies
A structure that stores a list of managed policy ARNs that describe the associated AWS managed policy. -
setManagedPolicies
A structure that stores a list of managed policy ARNs that describe the associated AWS managed policy. -
getPermissionsBoundary
Specifies the configuration of the AWS managed or customer managed policy that you want to set as a permissions boundary.Returns union: either
IResolvableorCfnPermissionSet.PermissionsBoundaryProperty -
setPermissionsBoundary
Specifies the configuration of the AWS managed or customer managed policy that you want to set as a permissions boundary. -
setPermissionsBoundary
@Stability(Stable) public void setPermissionsBoundary(@Nullable CfnPermissionSet.PermissionsBoundaryProperty value) Specifies the configuration of the AWS managed or customer managed policy that you want to set as a permissions boundary. -
getRelayStateType
Used to redirect users within the application during the federation authentication process. -
setRelayStateType
Used to redirect users within the application during the federation authentication process. -
getSessionDuration
The length of time that the application user sessions are valid for in the ISO-8601 standard. -
setSessionDuration
The length of time that the application user sessions are valid for in the ISO-8601 standard. -
getTagsRaw
The tags to attach to the newPermissionSet. -
setTagsRaw
The tags to attach to the newPermissionSet.
-