AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::SSO::PermissionSet

CfnPermissionSet

Specifies a permission set within a specified instance.

Import

import { CfnPermissionSet } from 'aws-cdk-lib/aws-sso';

Or use the module namespace:

import * as sso from 'aws-cdk-lib/aws-sso';
// sso.CfnPermissionSet

Properties

Configuration passed to the constructor as CfnPermissionSetProps.

instanceArnRequired
string

The ARN of the instance under which the operation will be executed. For more information about ARNs, see [Amazon Resource Names (ARNs) and AWS Service Namespaces](https://docs.aws.amazon.com//general/latest/gr/aws-arns-and-namespaces.html) in the *AWS General Reference* .

nameRequired
string

The name of the permission set.

customerManagedPolicyReferencesOptional
IResolvable | IResolvable | CustomerManagedPolicyReferenceProperty[]

Specifies the names and paths of the customer managed policies that you have attached to your permission set.

descriptionOptional
string

The description of the `PermissionSet` .

inlinePolicyOptional
any

The inline policy that is attached to the permission set. > For `Length Constraints` , if a valid ARN is provided for a permission set, it is possible for an empty inline policy to be returned.

managedPoliciesOptional
string[]

A structure that stores a list of managed policy ARNs that describe the associated AWS managed policy.

permissionsBoundaryOptional
IResolvable | PermissionsBoundaryProperty

Specifies the configuration of the AWS managed or customer managed policy that you want to set as a permissions boundary. Specify either `CustomerManagedPolicyReference` to use the name and path of a customer managed policy, or `ManagedPolicyArn` to use the ARN of an AWS managed policy. A permissions boundary represents the maximum permissions that any policy can grant your role. For more information, see [Permissions boundaries for IAM entities](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_boundaries.html) in the *IAM User Guide* . > Policies used as permissions boundaries don't provide permissions. You must also attach an IAM policy to the role. To learn how the effective permissions for a role are evaluated, see [IAM JSON policy evaluation logic](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_evaluation-logic.html) in the *IAM User Guide* .

relayStateTypeOptional
string

Used to redirect users within the application during the federation authentication process.

sessionDurationOptional
string

The length of time that the application user sessions are valid for in the ISO-8601 standard.

tagsOptional
CfnTag[]

The tags to attach to the new `PermissionSet` .

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter